From 86bff65898178fe6e58e8d02c9b6e588003621bc Mon Sep 17 00:00:00 2001 From: kotontrion Date: Fri, 19 Jul 2024 10:13:44 +0200 Subject: move headers to the correct location --- include/astal/wireplumber/wp.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 include/astal/wireplumber/wp.h (limited to 'include/astal/wireplumber/wp.h') 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 + +#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 -- cgit v1.2.3