summaryrefslogtreecommitdiff
path: root/include/astal/wireplumber/wp.h
diff options
context:
space:
mode:
authorkotontrion <[email protected]>2024-07-19 10:13:44 +0200
committerkotontrion <[email protected]>2024-07-19 10:13:44 +0200
commit86bff65898178fe6e58e8d02c9b6e588003621bc (patch)
tree9a64b9c5994c689c90229e1d3d639d870292a88c /include/astal/wireplumber/wp.h
parent5cd9f20a93101da2738a4be3a0735a4d6cd3abf9 (diff)
move headers to the correct location
Diffstat (limited to 'include/astal/wireplumber/wp.h')
-rw-r--r--include/astal/wireplumber/wp.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/astal/wireplumber/wp.h b/include/astal/wireplumber/wp.h
new file mode 100644
index 0000000..94e68cc
--- /dev/null
+++ b/include/astal/wireplumber/wp.h
@@ -0,0 +1,26 @@
+#ifndef ASTAL_WIREPLUMBER_H
+#define ASTAL_WIREPLUMBER_H
+
+#include <glib-object.h>
+
+#include "audio.h"
+#include "endpoint.h"
+
+G_BEGIN_DECLS
+
+#define ASTAL_WP_TYPE_WP (astal_wp_wp_get_type())
+
+G_DECLARE_FINAL_TYPE(AstalWpWp, astal_wp_wp, ASTAL_WP, WP, GObject)
+
+AstalWpWp* astal_wp_wp_get_default();
+AstalWpWp* astal_wp_get_default_wp();
+
+AstalWpAudio* astal_wp_wp_get_audio();
+AstalWpEndpoint* astal_wp_wp_get_endpoint(AstalWpWp* self, guint id);
+GList* astal_wp_wp_get_endpoints(AstalWpWp* self);
+AstalWpEndpoint* astal_wp_wp_get_default_speaker(AstalWpWp* self);
+AstalWpEndpoint* astal_wp_wp_get_default_microphone(AstalWpWp* self);
+
+G_END_DECLS
+
+#endif // !ASTAL_WIREPLUMBER_H