diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-07-10 12:41:00 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-06 20:06:45 +0200 |
commit | 74dd7246697bb086c92fcdea93b26966fecc7fa5 (patch) | |
tree | 9ae7f6167ea116499721567978470e965dbf8ea4 /src/mm-plugin.h | |
parent | b816887cace031b1b5fc33818fba9b513850f5b6 (diff) |
plugin: simplify interface by passing around the device and/or port objects
Diffstat (limited to 'src/mm-plugin.h')
-rw-r--r-- | src/mm-plugin.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mm-plugin.h b/src/mm-plugin.h index 6b8e7bab..76833ddd 100644 --- a/src/mm-plugin.h +++ b/src/mm-plugin.h @@ -97,10 +97,8 @@ const char *mm_plugin_get_name (MMPlugin *plugin); gboolean mm_plugin_get_sort_last (const MMPlugin *plugin); void mm_plugin_supports_port (MMPlugin *plugin, - const gchar *subsys, - const gchar *name, - const gchar *physdev_path, - MMBaseModem *existing, + GObject *device, + GUdevDevice *port, GAsyncReadyCallback callback, gpointer user_data); MMPluginSupportsResult mm_plugin_supports_port_finish (MMPlugin *plugin, @@ -111,7 +109,7 @@ void mm_plugin_supports_port_cancel (MMPlugin *plugin, const char *name); MMBaseModem *mm_plugin_create_modem (MMPlugin *plugin, - GList *port_probes, + GObject *device, GError **error); #endif /* MM_PLUGIN_H */ |