aboutsummaryrefslogtreecommitdiff
path: root/src/mm-plugin-base.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@gnu.org>2011-09-15 19:48:36 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:14:20 +0100
commita935cd9fb68df10c3b824251a3335e02ba40c322 (patch)
treebe55709f5214f2a2b2267d28312a4ba04757c6e6 /src/mm-plugin-base.h
parent8ccb2229782a8a02306a61a382312d2e8bf206c7 (diff)
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);
Diffstat (limited to 'src/mm-plugin-base.h')
-rw-r--r--src/mm-plugin-base.h1
1 files changed, 1 insertions, 0 deletions
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"