/* WirePlumber * * Copyright © 2019 Collabora Ltd. * @author George Kiagiadakis * * SPDX-License-Identifier: MIT */ #ifndef __WIREPLUMBER_EXPORTED_H__ #define __WIREPLUMBER_EXPORTED_H__ #include #include "proxy.h" G_BEGIN_DECLS #define WP_TYPE_EXPORTED (wp_exported_get_type ()) G_DECLARE_DERIVABLE_TYPE (WpExported, wp_exported, WP, EXPORTED, GObject) struct _WpExportedClass { GObjectClass parent_class; void (*export) (WpExported * self); void (*unexport) (WpExported * self); WpProxy * (*get_proxy) (WpExported * self); }; WpCore * wp_exported_get_core (WpExported * self); void wp_exported_export (WpExported * self, GCancellable * cancellable, GAsyncReadyCallback callback, gpointer user_data); gboolean wp_exported_export_finish (WpExported * self, GAsyncResult * res, GError ** error); void wp_exported_unexport (WpExported * self); WpProxy * wp_exported_get_proxy (WpExported * self); G_END_DECLS #endif