From 74dd7246697bb086c92fcdea93b26966fecc7fa5 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 10 Jul 2012 12:41:00 +0200 Subject: plugin: simplify interface by passing around the device and/or port objects --- src/mm-plugin.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/mm-plugin.h') 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 */ -- cgit v1.2.3-70-g09d2