summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/rbsettings.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2009-03-14 23:34:40 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2009-03-14 23:34:40 +0000
commit3822126de8e9c66e247b712da16abd8566cbc969 (patch)
tree0a22b5411c68db39d710833e52725ac71d1dfa74 /rbutil/rbutilqt/rbsettings.h
parent58764183439c0a7611aca2fcf344496a1589babf (diff)
downloadrockbox-3822126de8e9c66e247b712da16abd8566cbc969.tar.gz
rockbox-3822126de8e9c66e247b712da16abd8566cbc969.tar.bz2
rockbox-3822126de8e9c66e247b712da16abd8566cbc969.zip
Use target string instead of target id when checking the target selection against an existing Rockbox installation. Removes the need to resolve id -> name.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20325 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/rbsettings.h')
-rw-r--r--rbutil/rbutilqt/rbsettings.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/rbutil/rbutilqt/rbsettings.h b/rbutil/rbutilqt/rbsettings.h
index afa1900e7b..5ee4852065 100644
--- a/rbutil/rbutilqt/rbsettings.h
+++ b/rbutil/rbutilqt/rbsettings.h
@@ -80,11 +80,12 @@ class RbSettings : public QObject
double encoderVolume(QString enc);
bool encoderNarrowband(QString enc);
- QStringList allPlatforms();
+ QStringList allPlatforms(void);
+ QStringList allLanguages(void);
+
QString name(QString plattform);
QString brand(QString plattform);
- QStringList allLanguages();
- QString nameOfTargetId(int id);
+
QMap<int, QString> usbIdMap();
QMap<int, QString> usbIdErrorMap();
QMap<int, QString> usbIdIncompatMap();