summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/autodetection.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2007-09-14 20:52:38 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2007-09-14 20:52:38 +0000
commitfc2526644003e80346d231b3904aa10340e7d9b2 (patch)
tree98242a2dabfd09d464885aac230444f3ff5af083 /rbutil/rbutilqt/autodetection.h
parent3d41c1c466e4f9f1521ac6164e41f393a16402ff (diff)
downloadrockbox-fc2526644003e80346d231b3904aa10340e7d9b2.tar.gz
rockbox-fc2526644003e80346d231b3904aa10340e7d9b2.zip
Device detection based on USB PIDs. This is currently linux only and requires libusb. There is also no way to figure the mount point from the USB PID so the old methods are tried for this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14698 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/autodetection.h')
-rw-r--r--rbutil/rbutilqt/autodetection.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/autodetection.h b/rbutil/rbutilqt/autodetection.h
index 2443b442f4..85b69045ef 100644
--- a/rbutil/rbutilqt/autodetection.h
+++ b/rbutil/rbutilqt/autodetection.h
@@ -40,14 +40,16 @@ public:
QString getDevice() {return m_device;}
QString getMountPoint() {return m_mountpoint;}
+ QString errdev(void) { return m_errdev; }
private:
QStringList getMountpoints(void);
QString resolveMountPoint(QString);
+ bool detectUsb(void);
QString m_device;
QString m_mountpoint;
-
+ QString m_errdev;
};