lib: introduce export macros and hide all private symbols

This commit is contained in:
George Kiagiadakis
2020-01-16 18:50:07 +02:00
parent 83a0725b6a
commit efb33ddd1b
29 changed files with 360 additions and 8 deletions

View File

@@ -17,25 +17,37 @@ struct spa_pod;
struct pw_node_info;
#define WP_TYPE_PROXY_NODE (wp_proxy_node_get_type ())
WP_API
G_DECLARE_FINAL_TYPE (WpProxyNode, wp_proxy_node, WP, PROXY_NODE, WpProxy)
WP_API
const struct pw_node_info * wp_proxy_node_get_info (WpProxyNode * self);
WP_API
WpProperties * wp_proxy_node_get_properties (WpProxyNode * self);
WP_API
void wp_proxy_node_enum_params_collect (WpProxyNode * self,
guint32 id, const struct spa_pod *filter,
GCancellable * cancellable, GAsyncReadyCallback callback,
gpointer user_data);
WP_API
GPtrArray * wp_proxy_node_enum_params_collect_finish (WpProxyNode * self,
GAsyncResult * res, GError ** error);
WP_API
gint wp_proxy_node_enum_params (WpProxyNode * self,
guint32 id, const struct spa_pod *filter);
WP_API
void wp_proxy_node_subscribe_params (WpProxyNode * self, guint32 n_ids, ...);
WP_API
void wp_proxy_node_subscribe_params_array (WpProxyNode * self, guint32 n_ids,
guint32 *ids);
WP_API
void wp_proxy_node_set_param (WpProxyNode * self, guint32 id,
guint32 flags, const struct spa_pod *param);