From e30b3d84e8d744098df13617fceed562bcdb8462 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Sat, 6 Apr 2013 21:15:05 +0200 Subject: 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 --- rbutil/rbutilqt/configure.h | 1 + 1 file changed, 1 insertion(+) (limited to 'rbutil/rbutilqt/configure.h') 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); -- cgit