summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/playerbuildinfo.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-12-05 17:37:20 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-12-05 19:11:18 +0100
commit82b53ebf5400ab046c23231218415a2bb711c137 (patch)
treebe4c9364fd0860995fe1f4f04b6677fbf4a5ae91 /rbutil/rbutilqt/base/playerbuildinfo.h
parent0e315e848ae7ea5b226af4ab16c215119cbd3fb3 (diff)
downloadrockbox-82b53ebf54.tar.gz
rockbox-82b53ebf54.tar.bz2
rockbox-82b53ebf54.zip
rbutil: Merge finding player by USB ID with PlayerBuildInfo.
Remaining rework of player info data handling. Change-Id: I0e10cdff43e0c9fef43b3b9a30af81f1cd7c4853
Diffstat (limited to 'rbutil/rbutilqt/base/playerbuildinfo.h')
-rw-r--r--rbutil/rbutilqt/base/playerbuildinfo.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/base/playerbuildinfo.h b/rbutil/rbutilqt/base/playerbuildinfo.h
index 52654312a0..85fc2ac6dc 100644
--- a/rbutil/rbutilqt/base/playerbuildinfo.h
+++ b/rbutil/rbutilqt/base/playerbuildinfo.h
@@ -71,6 +71,8 @@ public:
TargetNamesEnabled,
LanguageInfo,
LanguageList,
+ UsbIdErrorList,
+ UsbIdTargetList,
};
enum SystemUrl {
@@ -90,6 +92,10 @@ public:
// Get information about a device. This data does not depend on the build type.
QVariant value(DeviceInfo item, QString target = "");
+ // Get information about a device. Make a numeric match
+ // (only sensible implementation for USB IDs)
+ QVariant value(DeviceInfo item, unsigned int match);
+
// Get build information for currently selected player.
QVariant value(BuildInfo item, BuildType type);