summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/autodetection.h
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/autodetection.h')
-rw-r--r--rbutil/rbutilqt/autodetection.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/autodetection.h b/rbutil/rbutilqt/autodetection.h
index ec89dbf6cd..ed70233c52 100644
--- a/rbutil/rbutilqt/autodetection.h
+++ b/rbutil/rbutilqt/autodetection.h
@@ -22,6 +22,7 @@
#define AUTODETECTION_H_
#include <QtCore>
+#include "rbsettings.h"
extern "C" {
// Ipodpatcher
@@ -35,7 +36,9 @@ class Autodetection :public QObject
public:
Autodetection(QObject* parent=0);
-
+
+ void setSettings(RbSettings* sett) {settings = sett;}
+
bool detect();
QString getDevice() {return m_device;}
@@ -52,6 +55,7 @@ private:
QString m_mountpoint;
QString m_errdev;
QList<int> m_usbconid;
+ RbSettings* settings;
};