plugin-manager: new methods to check for ongoing port support operations
The new mm_plugin_manager_is_finding_port_support() allows to check whether the Plugin Manager is looking for support in a specific port. The new mm_plugin_manager_is_checking_device_support() allows to check whether the Plugin Manager is looking for support in any port of a given device.
This commit is contained in:
committed by
Aleksander Morgado
parent
5f2d0d474c
commit
fad89b1d7e
@@ -59,4 +59,17 @@ MMPlugin *mm_plugin_manager_find_port_support_finish (MMPluginManager *self,
|
||||
GAsyncResult *result,
|
||||
GError **error);
|
||||
|
||||
/* Returns TRUE if there is an ongoing find operation on the given port */
|
||||
gboolean mm_plugin_manager_is_finding_port_support (MMPluginManager *self,
|
||||
const gchar *subsys,
|
||||
const gchar *name,
|
||||
const gchar *physdev_path);
|
||||
|
||||
/* Returns TRUE if there is an ongoing find operation in a port of the given
|
||||
* device (and if so, returns subsystem and name of the port) */
|
||||
gboolean mm_plugin_manager_is_finding_device_support (MMPluginManager *self,
|
||||
const gchar *physdev_path,
|
||||
const gchar **subsys,
|
||||
const gchar **name);
|
||||
|
||||
#endif /* MM_PLUGIN_MANAGER_H */
|
||||
|
||||
Reference in New Issue
Block a user