diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-07-11 12:26:22 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-06 20:06:46 +0200 |
commit | bfc3cb27e1ae798b6934bb85d7b2106dec556ae5 (patch) | |
tree | 83f38c8bc62f93249101274c4dd4d6bb982b031e /src/mm-plugin.h | |
parent | 884aa7f2eb944ed70c3aa33b41631aa7138f854d (diff) |
device,plugin: let the `MMPlugin' API know about `MMDevice'
Diffstat (limited to 'src/mm-plugin.h')
-rw-r--r-- | src/mm-plugin.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mm-plugin.h b/src/mm-plugin.h index 5a2c9c73..a3d8179e 100644 --- a/src/mm-plugin.h +++ b/src/mm-plugin.h @@ -25,6 +25,7 @@ #include "mm-base-modem.h" #include "mm-port.h" #include "mm-port-probe.h" +#include "mm-device.h" #define MM_PLUGIN_GENERIC_NAME "Generic" #define MM_PLUGIN_MAJOR_VERSION 4 @@ -101,7 +102,7 @@ gint mm_plugin_cmp (const MMPlugin *plugin_a, const MMPlugin *plugin_b); void mm_plugin_supports_port (MMPlugin *plugin, - GObject *device, + MMDevice *device, GUdevDevice *port, GAsyncReadyCallback callback, gpointer user_data); @@ -110,7 +111,7 @@ MMPluginSupportsResult mm_plugin_supports_port_finish (MMPlugin *plugin, GError **error); MMBaseModem *mm_plugin_create_modem (MMPlugin *plugin, - GObject *device, + MMDevice *device, GError **error); #endif /* MM_PLUGIN_H */ |