aboutsummaryrefslogtreecommitdiff
path: root/src/mm-plugin.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2011-11-23 11:58:54 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:14:24 +0100
commit86aa9df84920d4dfdf50a7b7507bf82adc1056a5 (patch)
treee9a4cb00fa1d10e4efcbb639a4705b84b66a0fff /src/mm-plugin.h
parent4ad9374159551463e976c825a50685e27140b31f (diff)
core: start using MMBroadbandModem objects
We chain up the Generic plugin created MMBroadbandModem objects within the GDBusObjectManagerServer in MMManager, so that they get properly exported in DBus.
Diffstat (limited to 'src/mm-plugin.h')
-rw-r--r--src/mm-plugin.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/mm-plugin.h b/src/mm-plugin.h
index f3c099b9..369b6614 100644
--- a/src/mm-plugin.h
+++ b/src/mm-plugin.h
@@ -20,7 +20,7 @@
#include <glib-object.h>
#include <gio/gio.h>
-#include <mm-modem.h>
+#include "mm-base-modem.h"
#define MM_PLUGIN_GENERIC_NAME "Generic"
@@ -74,7 +74,7 @@ struct _MMPlugin {
const gchar *subsys,
const gchar *name,
const gchar *physdev_path,
- MMModem *existing,
+ MMBaseModem *existing,
GAsyncReadyCallback callback,
gpointer user_data);
@@ -101,11 +101,11 @@ struct _MMPlugin {
* while claiming the port, the error information should be returned in the
* error argument, and the plugin should return NULL.
*/
- MMModem * (*grab_port) (MMPlugin *self,
- const char *subsys,
- const char *name,
- MMModem *existing,
- GError **error);
+ MMBaseModem * (*grab_port) (MMPlugin *self,
+ const char *subsys,
+ const char *name,
+ MMBaseModem *existing,
+ GError **error);
};
GType mm_plugin_get_type (void);
@@ -118,7 +118,7 @@ void mm_plugin_supports_port (MMPlugin *plugin,
const gchar *subsys,
const gchar *name,
const gchar *physdev_path,
- MMModem *existing,
+ MMBaseModem *existing,
GAsyncReadyCallback callback,
gpointer user_data);
@@ -130,11 +130,11 @@ void mm_plugin_supports_port_cancel (MMPlugin *plugin,
const char *subsys,
const char *name);
-MMModem *mm_plugin_grab_port (MMPlugin *plugin,
- const char *subsys,
- const char *name,
- MMModem *existing,
- GError **error);
+MMBaseModem *mm_plugin_grab_port (MMPlugin *plugin,
+ const char *subsys,
+ const char *name,
+ MMBaseModem *existing,
+ GError **error);
#endif /* MM_PLUGIN_H */