core: move wp_core_load_component* declarations to component-loader.h

This commit is contained in:
George Kiagiadakis 2023-05-26 18:59:42 +03:00
parent f53185e951
commit 41c9de30bf
2 changed files with 9 additions and 9 deletions

View file

@ -37,6 +37,15 @@ struct _WpComponentLoaderInterface
WP_PADDING(6)
};
WP_API
void wp_core_load_component (WpCore * self, const gchar * component,
const gchar * type, WpSpaJson * args, GCancellable * cancellable,
GAsyncReadyCallback callback, gpointer data);
WP_API
GObject * wp_core_load_component_finish (WpCore * self, GAsyncResult * res,
GError ** error);
G_END_DECLS
#endif

View file

@ -48,15 +48,6 @@ struct pw_core * wp_core_get_pw_core (WpCore * self);
WP_API
gchar *wp_core_get_vm_type (WpCore *self);
WP_API
void wp_core_load_component (WpCore * self, const gchar * component,
const gchar * type, WpSpaJson * args, GCancellable * cancellable,
GAsyncReadyCallback callback, gpointer data);
WP_API
GObject * wp_core_load_component_finish (WpCore * self, GAsyncResult * res,
GError ** error);
/* Connection */
WP_API