summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/autodetection.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2007-08-23 15:24:28 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2007-08-23 15:24:28 +0000
commit1152a12d9189d8960a145066454e04d02ed4a171 (patch)
treedcb068254ed6dcd5b31764776bdce3a03da824d1 /rbutil/rbutilqt/autodetection.h
parentc494e371c849a9275811f238211d6cf510f38e03 (diff)
downloadrockbox-1152a12d9189d8960a145066454e04d02ed4a171.tar.gz
rockbox-1152a12d9189d8960a145066454e04d02ed4a171.zip
Add Ipod detection using ipodpatcher.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14441 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/autodetection.h')
-rw-r--r--rbutil/rbutilqt/autodetection.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/autodetection.h b/rbutil/rbutilqt/autodetection.h
index 0a941a0d5d..e950ab7149 100644
--- a/rbutil/rbutilqt/autodetection.h
+++ b/rbutil/rbutilqt/autodetection.h
@@ -23,6 +23,12 @@
#include <QtGui>
+extern "C" {
+ // Ipodpatcher
+#include "../ipodpatcher/ipodpatcher.h"
+#include "../sansapatcher/sansapatcher.h"
+};
+
class Autodetection :public QObject
{
Q_OBJECT
@@ -36,7 +42,8 @@ public:
QString getMountPoint() {return m_mountpoint;}
private:
- QStringList getMountpoints();
+ QStringList getMountpoints(void);
+ QString resolveMountPoint(QString);
QString m_device;
QString m_mountpoint;