aboutsummaryrefslogtreecommitdiff
path: root/src/mm-device.h
diff options
context:
space:
mode:
authorLukas Voegl <lvoegl@tdt.de>2023-09-15 12:59:54 +0200
committerLukas Voegl <lvoegl@tdt.de>2023-09-18 10:53:12 +0200
commit8cd1c1bdb9ba5bfe1b69b4484cc46bdd4720fdb4 (patch)
tree959258791644b9dd12dd8949c159363cf93e0ce8 /src/mm-device.h
parent1fc061b6a533780041de89dd70a2567a265f6080 (diff)
api,modem: new 'Physdev' property
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
Diffstat (limited to 'src/mm-device.h')
-rw-r--r--src/mm-device.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mm-device.h b/src/mm-device.h
index 812c03a6..9c835024 100644
--- a/src/mm-device.h
+++ b/src/mm-device.h
@@ -34,6 +34,7 @@ typedef struct _MMDeviceClass MMDeviceClass;
typedef struct _MMDevicePrivate MMDevicePrivate;
#define MM_DEVICE_UID "uid"
+#define MM_DEVICE_PHYSDEV "physdev"
#define MM_DEVICE_PLUGIN "plugin"
#define MM_DEVICE_MODEM "modem"
#define MM_DEVICE_HOTPLUGGED "hotplugged"
@@ -63,6 +64,7 @@ GType mm_device_get_type (void);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMDevice, g_object_unref)
MMDevice *mm_device_new (const gchar *uid,
+ const gchar *physdev,
gboolean hotplugged,
gboolean virtual,
GDBusObjectManagerServer *object_manager);
@@ -96,6 +98,7 @@ gboolean mm_device_uninhibit (MMDevice *self,
const gchar *mm_device_get_uid (MMDevice *self);
+const gchar *mm_device_get_physdev (MMDevice *self);
const gchar **mm_device_get_drivers (MMDevice *self);
guint16 mm_device_get_vendor (MMDevice *self);
guint16 mm_device_get_product (MMDevice *self);