From a935cd9fb68df10c3b824251a3335e02ba40c322 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Thu, 15 Sep 2011 19:48:36 +0200 Subject: plugin-base: new 'allowed-capabilities' property The plugins can set this property to filter support check requests by probed capabilities. The value given to the property should be a guint built as a mask of MM_PORT_PROBE_CAPABILITY flags, e.g.: const guint capabilities = (MM_PORT_PROBE_CAPABILITY_GSM | MM_PORT_PROBE_CAPABILITY_CDMA); --- src/mm-plugin-base.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mm-plugin-base.h') diff --git a/src/mm-plugin-base.h b/src/mm-plugin-base.h index 230da630..055af991 100644 --- a/src/mm-plugin-base.h +++ b/src/mm-plugin-base.h @@ -124,6 +124,7 @@ typedef struct { } MMPluginCustomInit; #define MM_PLUGIN_BASE_NAME "name" +#define MM_PLUGIN_BASE_ALLOWED_CAPABILITIES "allowed-capabilities" #define MM_PLUGIN_BASE_ALLOWED_SUBSYSTEMS "allowed-subsystems" #define MM_PLUGIN_BASE_ALLOWED_VENDOR_IDS "allowed-vendor-ids" #define MM_PLUGIN_BASE_ALLOWED_PRODUCT_IDS "allowed-product-ids" -- cgit v1.2.3-70-g09d2