From db1699827a3edcfbc9a4b5f5f37ee2ee8b30d0c2 Mon Sep 17 00:00:00 2001 From: Curve Date: Fri, 8 Mar 2024 20:15:37 +0100 Subject: [PATCH] refactor(headers): formatting --- include/rohrkabel/channel/channel.hpp | 1 + include/rohrkabel/channel/channel.inl | 1 + include/rohrkabel/client/client.hpp | 1 + include/rohrkabel/client/info.hpp | 1 + include/rohrkabel/context.hpp | 1 + include/rohrkabel/core/core.hpp | 1 + include/rohrkabel/core/core.inl | 1 + include/rohrkabel/core/events.hpp | 1 + include/rohrkabel/core/info.hpp | 1 + include/rohrkabel/device/device.hpp | 1 + include/rohrkabel/device/info.hpp | 1 + include/rohrkabel/global.hpp | 1 + include/rohrkabel/link/info.hpp | 1 + include/rohrkabel/link/link.hpp | 1 + include/rohrkabel/listener.hpp | 1 + include/rohrkabel/loop.hpp | 1 + include/rohrkabel/metadata/metadata.hpp | 1 + include/rohrkabel/metadata/property.hpp | 1 + include/rohrkabel/node/info.hpp | 1 + include/rohrkabel/node/node.hpp | 1 + include/rohrkabel/port/info.hpp | 1 + include/rohrkabel/port/port.hpp | 1 + include/rohrkabel/properties.hpp | 1 + include/rohrkabel/proxy.hpp | 1 + include/rohrkabel/registry/events.hpp | 1 + include/rohrkabel/registry/registry.hpp | 1 + include/rohrkabel/registry/registry.inl | 1 + include/rohrkabel/spa/dict.hpp | 1 + include/rohrkabel/spa/param.hpp | 1 + include/rohrkabel/spa/pod/object/body.hpp | 1 + include/rohrkabel/spa/pod/object/iterator.hpp | 1 + include/rohrkabel/spa/pod/pod.hpp | 1 + include/rohrkabel/spa/pod/prop.hpp | 1 + include/rohrkabel/utils/check.hpp | 4 +++- include/rohrkabel/utils/lazy.hpp | 1 + include/rohrkabel/utils/lazy.inl | 1 + include/rohrkabel/utils/traits.hpp | 1 + 37 files changed, 39 insertions(+), 1 deletion(-) diff --git a/include/rohrkabel/channel/channel.hpp b/include/rohrkabel/channel/channel.hpp index 3054121..386bb12 100644 --- a/include/rohrkabel/channel/channel.hpp +++ b/include/rohrkabel/channel/channel.hpp @@ -1,4 +1,5 @@ #pragma once + #include #include diff --git a/include/rohrkabel/channel/channel.inl b/include/rohrkabel/channel/channel.inl index 17ee386..6037690 100644 --- a/include/rohrkabel/channel/channel.inl +++ b/include/rohrkabel/channel/channel.inl @@ -1,4 +1,5 @@ #pragma once + #include "channel.hpp" namespace pipewire diff --git a/include/rohrkabel/client/client.hpp b/include/rohrkabel/client/client.hpp index 255f3bc..d13daf8 100644 --- a/include/rohrkabel/client/client.hpp +++ b/include/rohrkabel/client/client.hpp @@ -1,4 +1,5 @@ #pragma once + #include "info.hpp" #include "../proxy.hpp" diff --git a/include/rohrkabel/client/info.hpp b/include/rohrkabel/client/info.hpp index 8000e38..466d92f 100644 --- a/include/rohrkabel/client/info.hpp +++ b/include/rohrkabel/client/info.hpp @@ -1,4 +1,5 @@ #pragma once + #include "../spa/dict.hpp" #include diff --git a/include/rohrkabel/context.hpp b/include/rohrkabel/context.hpp index ac87632..778cde6 100644 --- a/include/rohrkabel/context.hpp +++ b/include/rohrkabel/context.hpp @@ -1,4 +1,5 @@ #pragma once + #include "loop.hpp" #include diff --git a/include/rohrkabel/core/core.hpp b/include/rohrkabel/core/core.hpp index b09d41b..4d16434 100644 --- a/include/rohrkabel/core/core.hpp +++ b/include/rohrkabel/core/core.hpp @@ -1,4 +1,5 @@ #pragma once + #include "events.hpp" #include "../context.hpp" #include "../properties.hpp" diff --git a/include/rohrkabel/core/core.inl b/include/rohrkabel/core/core.inl index 708d8fd..904ce34 100644 --- a/include/rohrkabel/core/core.inl +++ b/include/rohrkabel/core/core.inl @@ -1,4 +1,5 @@ #pragma once + #include "core.hpp" #include diff --git a/include/rohrkabel/core/events.hpp b/include/rohrkabel/core/events.hpp index 3cfec6c..427d944 100644 --- a/include/rohrkabel/core/events.hpp +++ b/include/rohrkabel/core/events.hpp @@ -1,4 +1,5 @@ #pragma once + #include "info.hpp" #include "../error.hpp" #include "../listener.hpp" diff --git a/include/rohrkabel/core/info.hpp b/include/rohrkabel/core/info.hpp index 85b510a..8d8cb97 100644 --- a/include/rohrkabel/core/info.hpp +++ b/include/rohrkabel/core/info.hpp @@ -1,4 +1,5 @@ #pragma once + #include "../spa/dict.hpp" #include diff --git a/include/rohrkabel/device/device.hpp b/include/rohrkabel/device/device.hpp index 0b9ca58..3664a42 100644 --- a/include/rohrkabel/device/device.hpp +++ b/include/rohrkabel/device/device.hpp @@ -1,4 +1,5 @@ #pragma once + #include "info.hpp" #include "../proxy.hpp" #include "../spa/pod/pod.hpp" diff --git a/include/rohrkabel/device/info.hpp b/include/rohrkabel/device/info.hpp index b975ea2..2fbbf54 100644 --- a/include/rohrkabel/device/info.hpp +++ b/include/rohrkabel/device/info.hpp @@ -1,4 +1,5 @@ #pragma once + #include "../spa/dict.hpp" #include "../spa/param.hpp" diff --git a/include/rohrkabel/global.hpp b/include/rohrkabel/global.hpp index b3f3019..4158c40 100644 --- a/include/rohrkabel/global.hpp +++ b/include/rohrkabel/global.hpp @@ -1,4 +1,5 @@ #pragma once + #include "spa/dict.hpp" #include diff --git a/include/rohrkabel/link/info.hpp b/include/rohrkabel/link/info.hpp index 4471612..fa3be04 100644 --- a/include/rohrkabel/link/info.hpp +++ b/include/rohrkabel/link/info.hpp @@ -1,4 +1,5 @@ #pragma once + #include "../spa/dict.hpp" #include diff --git a/include/rohrkabel/link/link.hpp b/include/rohrkabel/link/link.hpp index a0afe25..0a70401 100644 --- a/include/rohrkabel/link/link.hpp +++ b/include/rohrkabel/link/link.hpp @@ -1,4 +1,5 @@ #pragma once + #include "info.hpp" #include "../proxy.hpp" diff --git a/include/rohrkabel/listener.hpp b/include/rohrkabel/listener.hpp index 7cfbc81..000ed6d 100644 --- a/include/rohrkabel/listener.hpp +++ b/include/rohrkabel/listener.hpp @@ -1,4 +1,5 @@ #pragma once + #include struct spa_hook; diff --git a/include/rohrkabel/loop.hpp b/include/rohrkabel/loop.hpp index ad1505d..78134b2 100644 --- a/include/rohrkabel/loop.hpp +++ b/include/rohrkabel/loop.hpp @@ -1,4 +1,5 @@ #pragma once + #include struct pw_loop; diff --git a/include/rohrkabel/metadata/metadata.hpp b/include/rohrkabel/metadata/metadata.hpp index baaf504..01d4dbb 100644 --- a/include/rohrkabel/metadata/metadata.hpp +++ b/include/rohrkabel/metadata/metadata.hpp @@ -1,4 +1,5 @@ #pragma once + #include "property.hpp" #include "../proxy.hpp" diff --git a/include/rohrkabel/metadata/property.hpp b/include/rohrkabel/metadata/property.hpp index 95f1bd2..ccd5c73 100644 --- a/include/rohrkabel/metadata/property.hpp +++ b/include/rohrkabel/metadata/property.hpp @@ -1,4 +1,5 @@ #pragma once + #include #include diff --git a/include/rohrkabel/node/info.hpp b/include/rohrkabel/node/info.hpp index 1523148..a157840 100644 --- a/include/rohrkabel/node/info.hpp +++ b/include/rohrkabel/node/info.hpp @@ -1,4 +1,5 @@ #pragma once + #include "../spa/dict.hpp" #include "../spa/param.hpp" diff --git a/include/rohrkabel/node/node.hpp b/include/rohrkabel/node/node.hpp index ecea351..ff9599f 100644 --- a/include/rohrkabel/node/node.hpp +++ b/include/rohrkabel/node/node.hpp @@ -1,4 +1,5 @@ #pragma once + #include "info.hpp" #include "../proxy.hpp" #include "../spa/pod/pod.hpp" diff --git a/include/rohrkabel/port/info.hpp b/include/rohrkabel/port/info.hpp index d876ff7..1a2460e 100644 --- a/include/rohrkabel/port/info.hpp +++ b/include/rohrkabel/port/info.hpp @@ -1,4 +1,5 @@ #pragma once + #include "../spa/dict.hpp" #include "../spa/param.hpp" diff --git a/include/rohrkabel/port/port.hpp b/include/rohrkabel/port/port.hpp index 6f4d317..9bbfcb3 100644 --- a/include/rohrkabel/port/port.hpp +++ b/include/rohrkabel/port/port.hpp @@ -1,4 +1,5 @@ #pragma once + #include "info.hpp" #include "../proxy.hpp" #include "../spa/pod/pod.hpp" diff --git a/include/rohrkabel/properties.hpp b/include/rohrkabel/properties.hpp index f5b4187..ce5e564 100644 --- a/include/rohrkabel/properties.hpp +++ b/include/rohrkabel/properties.hpp @@ -1,4 +1,5 @@ #pragma once + #include #include #include diff --git a/include/rohrkabel/proxy.hpp b/include/rohrkabel/proxy.hpp index 762b2fd..0f68abe 100644 --- a/include/rohrkabel/proxy.hpp +++ b/include/rohrkabel/proxy.hpp @@ -1,4 +1,5 @@ #pragma once + #include "spa/dict.hpp" #include "utils/lazy.hpp" diff --git a/include/rohrkabel/registry/events.hpp b/include/rohrkabel/registry/events.hpp index def0f1a..475a6dc 100644 --- a/include/rohrkabel/registry/events.hpp +++ b/include/rohrkabel/registry/events.hpp @@ -1,4 +1,5 @@ #pragma once + #include "../global.hpp" #include "../listener.hpp" diff --git a/include/rohrkabel/registry/registry.hpp b/include/rohrkabel/registry/registry.hpp index 8eaec6c..0a28782 100644 --- a/include/rohrkabel/registry/registry.hpp +++ b/include/rohrkabel/registry/registry.hpp @@ -1,4 +1,5 @@ #pragma once + #include "events.hpp" #include "../core/core.hpp" diff --git a/include/rohrkabel/registry/registry.inl b/include/rohrkabel/registry/registry.inl index affe8b4..c221737 100644 --- a/include/rohrkabel/registry/registry.inl +++ b/include/rohrkabel/registry/registry.inl @@ -1,4 +1,5 @@ #pragma once + #include "registry.hpp" namespace pipewire diff --git a/include/rohrkabel/spa/dict.hpp b/include/rohrkabel/spa/dict.hpp index 2dae81c..c3c29b4 100644 --- a/include/rohrkabel/spa/dict.hpp +++ b/include/rohrkabel/spa/dict.hpp @@ -1,4 +1,5 @@ #pragma once + #include #include diff --git a/include/rohrkabel/spa/param.hpp b/include/rohrkabel/spa/param.hpp index ac34629..d107d76 100644 --- a/include/rohrkabel/spa/param.hpp +++ b/include/rohrkabel/spa/param.hpp @@ -1,4 +1,5 @@ #pragma once + #include namespace pipewire diff --git a/include/rohrkabel/spa/pod/object/body.hpp b/include/rohrkabel/spa/pod/object/body.hpp index 0ee4b69..2c62500 100644 --- a/include/rohrkabel/spa/pod/object/body.hpp +++ b/include/rohrkabel/spa/pod/object/body.hpp @@ -1,4 +1,5 @@ #pragma once + #include "../prop.hpp" #include diff --git a/include/rohrkabel/spa/pod/object/iterator.hpp b/include/rohrkabel/spa/pod/object/iterator.hpp index e878e94..b31ca38 100644 --- a/include/rohrkabel/spa/pod/object/iterator.hpp +++ b/include/rohrkabel/spa/pod/object/iterator.hpp @@ -1,4 +1,5 @@ #pragma once + #include "body.hpp" #include diff --git a/include/rohrkabel/spa/pod/pod.hpp b/include/rohrkabel/spa/pod/pod.hpp index a1f66a4..b586f43 100644 --- a/include/rohrkabel/spa/pod/pod.hpp +++ b/include/rohrkabel/spa/pod/pod.hpp @@ -1,4 +1,5 @@ #pragma once + #include #include #include diff --git a/include/rohrkabel/spa/pod/prop.hpp b/include/rohrkabel/spa/pod/prop.hpp index e489592..d870218 100644 --- a/include/rohrkabel/spa/pod/prop.hpp +++ b/include/rohrkabel/spa/pod/prop.hpp @@ -1,4 +1,5 @@ #pragma once + #include "pod.hpp" #include diff --git a/include/rohrkabel/utils/check.hpp b/include/rohrkabel/utils/check.hpp index 97bb8c8..58e3611 100644 --- a/include/rohrkabel/utils/check.hpp +++ b/include/rohrkabel/utils/check.hpp @@ -1,7 +1,9 @@ #pragma once + +#include #include namespace pipewire { - void check(bool, const char *, const std::source_location = std::source_location::current()); + void check(bool, std::string_view, const std::source_location = std::source_location::current()); } diff --git a/include/rohrkabel/utils/lazy.hpp b/include/rohrkabel/utils/lazy.hpp index b0d407b..95936fe 100644 --- a/include/rohrkabel/utils/lazy.hpp +++ b/include/rohrkabel/utils/lazy.hpp @@ -1,4 +1,5 @@ #pragma once + #include "../error.hpp" #include diff --git a/include/rohrkabel/utils/lazy.inl b/include/rohrkabel/utils/lazy.inl index 9a69f97..d7a5a92 100644 --- a/include/rohrkabel/utils/lazy.inl +++ b/include/rohrkabel/utils/lazy.inl @@ -1,4 +1,5 @@ #pragma once + #include "lazy.hpp" namespace pipewire diff --git a/include/rohrkabel/utils/traits.hpp b/include/rohrkabel/utils/traits.hpp index b07a323..c9408a0 100644 --- a/include/rohrkabel/utils/traits.hpp +++ b/include/rohrkabel/utils/traits.hpp @@ -1,4 +1,5 @@ #pragma once + #include "lazy.hpp" #include "../proxy.hpp"