summaryrefslogtreecommitdiff
path: root/src/mm-device.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2013-11-22 21:15:15 +0100
committerAleksander Morgado <aleksander@aleksander.es>2014-02-13 13:41:31 +0100
commitb7fa48dd22f9bf4cb38a60e7c78184b7eea5fcf7 (patch)
tree43227bd35319a2d06be327f2e34fc15aa8ed19d7 /src/mm-device.h
parent84ab92d85a331e835ab5672865e0238d08ee8857 (diff)
downloadModemManager-b7fa48dd22f9bf4cb38a60e7c78184b7eea5fcf7.tar.gz
device: new 'hotplugged' property
Diffstat (limited to 'src/mm-device.h')
-rw-r--r--src/mm-device.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mm-device.h b/src/mm-device.h
index e7065ed7e..fa70d8628 100644
--- a/src/mm-device.h
+++ b/src/mm-device.h
@@ -37,6 +37,7 @@ typedef struct _MMDevicePrivate MMDevicePrivate;
#define MM_DEVICE_UDEV_DEVICE "udev-device"
#define MM_DEVICE_PLUGIN "plugin"
#define MM_DEVICE_MODEM "modem"
+#define MM_DEVICE_HOTPLUGGED "hotplugged"
#define MM_DEVICE_PORT_GRABBED "port-grabbed"
#define MM_DEVICE_PORT_RELEASED "port-released"
@@ -58,7 +59,8 @@ struct _MMDeviceClass {
GType mm_device_get_type (void);
-MMDevice *mm_device_new (GUdevDevice *udev_device, gboolean hotplugged);
+MMDevice *mm_device_new (GUdevDevice *udev_device,
+ gboolean hotplugged);
void mm_device_grab_port (MMDevice *self,
GUdevDevice *udev_port);