plugin: new `MM_PLUGIN_FORBIDDEN_DRIVERS' property

It allows plugins to specify whether they cannot support ports handled by
specific drivers.
This commit is contained in:
Aleksander Morgado
2012-07-11 07:03:56 +02:00
parent 1078b246b0
commit f5fdf946c9
3 changed files with 48 additions and 13 deletions

View File

@@ -142,9 +142,13 @@
any port detected being managed by a driver not listed by the plugin.
</para>
<para>
This filter is specified by the <type>MM_PLUGIN_ALLOWED_DRIVERS</type>
property in the <structname>MMPlugin</structname> object provided
by the plugin.
Plugins can also specify which drivers they do not expect, so that we
filter out any port detected being managed by a driver listed by the plugin.
</para>
<para>
These filters are specified by the <type>MM_PLUGIN_ALLOWED_DRIVERS</type>
and <type>MM_PLUGIN_FORBIDDEN_DRIVERS</type> properties in the
<structname>MMPlugin</structname> object provided by the plugin.
</para>
</listitem>
<listitem>