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

@@ -21,16 +21,22 @@ typedef enum {
} WpObjectManagerConstraintType;
#define WP_TYPE_OBJECT_MANAGER (wp_object_manager_get_type ())
WP_API
G_DECLARE_FINAL_TYPE (WpObjectManager, wp_object_manager, WP, OBJECT_MANAGER, GObject)
WP_API
WpObjectManager * wp_object_manager_new (void);
WP_API
void wp_object_manager_add_proxy_interest (WpObjectManager *self,
const gchar * iface_type, GVariant * constraints,
WpProxyFeatures wanted_features);
WP_API
void wp_object_manager_add_object_interest (WpObjectManager *self,
GType gtype, GVariant * constraints);
WP_API
GPtrArray * wp_object_manager_get_objects (WpObjectManager *self,
GType type_filter);