lib: object: add functions to test active and supported features

This commit is contained in:
George Kiagiadakis
2023-11-08 11:51:20 +02:00
parent ed224f7c79
commit 44a157b506
2 changed files with 37 additions and 0 deletions

View File

@@ -89,9 +89,15 @@ WpCore * wp_object_get_core (WpObject * self);
WP_API
WpObjectFeatures wp_object_get_active_features (WpObject * self);
WP_API
gboolean wp_object_test_active_features (WpObject * self, WpObjectFeatures features);
WP_API
WpObjectFeatures wp_object_get_supported_features (WpObject * self);
WP_API
gboolean wp_object_test_supported_features (WpObject * self, WpObjectFeatures features);
WP_API
void wp_object_activate (WpObject * self,
WpObjectFeatures features, GCancellable * cancellable,