aboutsummaryrefslogtreecommitdiff
path: root/src/mm-plugin.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-07-11 12:36:42 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-08-06 20:06:46 +0200
commitb64f52cddc9dc1f49f167d010a8150671d0dd44a (patch)
treef57e09a77bc185103839ce6b45ba4504ff9395e1 /src/mm-plugin.h
parentbfc3cb27e1ae798b6934bb85d7b2106dec556ae5 (diff)
plugin: if no grab_port() method given, use the default one
Diffstat (limited to 'src/mm-plugin.h')
-rw-r--r--src/mm-plugin.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mm-plugin.h b/src/mm-plugin.h
index a3d8179e..4af0f14a 100644
--- a/src/mm-plugin.h
+++ b/src/mm-plugin.h
@@ -75,10 +75,8 @@ struct _MMPlugin {
struct _MMPluginClass {
GObjectClass parent;
- /* Mandatory subclass functions */
-
/* Plugins need to provide a method to create a modem object given
- * a list of port probes */
+ * a list of port probes (Mandatory) */
MMBaseModem *(*create_modem) (MMPlugin *plugin,
const gchar *sysfs_path,
const gchar *driver,
@@ -88,7 +86,7 @@ struct _MMPluginClass {
GError **error);
/* Plugins need to provide a method to grab independent ports
- * identified by port probes */
+ * identified by port probes (Optional) */
gboolean (*grab_port) (MMPlugin *plugin,
MMBaseModem *modem,
MMPortProbe *probe,