plugin-manager: new defer-until-suggested support check result handling

'net' ports will be supported as soon as there is another port reporting
successful support.
This commit is contained in:
Aleksander Morgado
2012-01-05 01:30:08 +01:00
parent 65c14607cd
commit 32a0c8fbb7
3 changed files with 34 additions and 8 deletions

View File

@@ -50,6 +50,7 @@ typedef void (*MMSupportsPortResultFunc) (MMPlugin *plugin,
typedef enum {
MM_PLUGIN_SUPPORTS_PORT_UNSUPPORTED = 0x0,
MM_PLUGIN_SUPPORTS_PORT_DEFER,
MM_PLUGIN_SUPPORTS_PORT_DEFER_UNTIL_SUGGESTED,
MM_PLUGIN_SUPPORTS_PORT_SUPPORTED
} MMPluginSupportsResult;
@@ -137,4 +138,3 @@ MMBaseModem *mm_plugin_grab_port (MMPlugin *plugin,
GError **error);
#endif /* MM_PLUGIN_H */