path: root/rbutil/rbutilqt/configure.h
diff options
authorDominik Riebeling <>2013-04-06 21:15:05 +0200
committerDominik Riebeling <>2013-04-09 22:39:13 +0200
commite30b3d84e8d744098df13617fceed562bcdb8462 (patch)
tree707d86f86098b287de15e586dc4fb6d11f27127a /rbutil/rbutilqt/configure.h
parente6c0bd035046e6b97f408fcff14879a2fba6c9e6 (diff)
Change autodetection result to a list.
Both autodetection functionality and the configuration dialog assumed detection to only return one found device. This isn't necessarily true, especially since some players can be detected but detecting their mountpoint might be ambiguous (only if no previous Rockbox installation is present). Instead of returning individual results (found "ok" player, found "error" player etc.) return a list containing an entry for each player. Current autodetection code will never return more than one entry since it doesn't handle multiple devices yet, and the configuration dialog will show an error if multiple devices are found. Thus there is no user visible change yet. Both autodetection and configuration dialog can now get extended to handle multiple devices. Change-Id: I79b763dbd6e7111783194bcc22ab7cc06a4061c1
Diffstat (limited to 'rbutil/rbutilqt/configure.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/configure.h b/rbutil/rbutilqt/configure.h
index dd80f65b31..4e69996d1f 100644
--- a/rbutil/rbutilqt/configure.h
+++ b/rbutil/rbutilqt/configure.h
@@ -54,6 +54,7 @@ class Config : public QDialog
QString mountpoint;
void updateCacheInfo(QString);
void changeEvent(QEvent *event);
+ void selectDevice(QString device, QString mountpoint);
private slots:
void showProxyPassword(bool show);