aboutsummaryrefslogtreecommitdiff
path: root/src/mm-port-probe.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-07-10 15:26:04 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-08-06 20:06:46 +0200
commit89b3c0132879157c16526ae7da1aa3cdefe64fe8 (patch)
tree29efeb712dc68a1c654199daeb89a3645f9f2ea7 /src/mm-port-probe.h
parent055b56306ab194910416f5358ef7454a53bdfc59 (diff)
port-probe: setup the port object as a property
Diffstat (limited to 'src/mm-port-probe.h')
-rw-r--r--src/mm-port-probe.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mm-port-probe.h b/src/mm-port-probe.h
index 63ed6d66..e952a198 100644
--- a/src/mm-port-probe.h
+++ b/src/mm-port-probe.h
@@ -44,6 +44,8 @@ typedef struct _MMPortProbe MMPortProbe;
typedef struct _MMPortProbeClass MMPortProbeClass;
typedef struct _MMPortProbePrivate MMPortProbePrivate;
+#define MM_PORT_PROBE_PORT "port"
+
struct _MMPortProbe {
GObject parent;
MMPortProbePrivate *priv;
@@ -58,6 +60,7 @@ GType mm_port_probe_get_type (void);
MMPortProbe *mm_port_probe_new (GUdevDevice *port);
GUdevDevice *mm_port_probe_peek_port (MMPortProbe *self);
+GUdevDevice *mm_port_probe_get_port (MMPortProbe *self);
const gchar *mm_port_probe_get_port_name (MMPortProbe *self);
const gchar *mm_port_probe_get_port_subsys (MMPortProbe *self);