summaryrefslogtreecommitdiff
path: root/include/wireplumber/wp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wireplumber/wp.h')
-rw-r--r--include/wireplumber/wp.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/wireplumber/wp.h b/include/wireplumber/wp.h
new file mode 100644
index 0000000..61c3d87
--- /dev/null
+++ b/include/wireplumber/wp.h
@@ -0,0 +1,21 @@
+#ifndef ASTAL_WIREPLUMBER_H
+#define ASTAL_WIREPLUMBER_H
+
+#include <glib-object.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();
+
+AstalWpEndpoint* astal_wp_wp_get_endpoint(AstalWpWp* self, guint id);
+
+G_END_DECLS
+
+#endif // !ASTAL_WIREPLUMBER_H