aboutsummaryrefslogtreecommitdiff
path: root/src/mm-plugin-base.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mm-plugin-base.h')
-rw-r--r--src/mm-plugin-base.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mm-plugin-base.h b/src/mm-plugin-base.h
index e426956d..91d3ddba 100644
--- a/src/mm-plugin-base.h
+++ b/src/mm-plugin-base.h
@@ -102,6 +102,10 @@ struct _MMPluginBaseClass {
void (*cancel_task) (MMPluginBase *plugin,
MMPluginBaseSupportsTask *task);
+ /* Find a the physical device of a port, ie the USB or PCI or whatever
+ * "master" device that owns the port. The GUdevDevice object returned
+ * will be unref-ed by the caller.
+ */
GUdevDevice * (*find_physical_device) (MMPluginBase *plugin,
GUdevDevice *port);