summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/playerbuildinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/base/playerbuildinfo.h')
-rw-r--r--rbutil/rbutilqt/base/playerbuildinfo.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/base/playerbuildinfo.h b/rbutil/rbutilqt/base/playerbuildinfo.h
index 81d7d97312..5307148ff5 100644
--- a/rbutil/rbutilqt/base/playerbuildinfo.h
+++ b/rbutil/rbutilqt/base/playerbuildinfo.h
@@ -66,6 +66,9 @@ public:
Encoder,
Brand,
PlayerPicture,
+
+ TargetNamesAll,
+ TargetNamesEnabled,
};
enum SystemUrl {
@@ -97,6 +100,10 @@ protected:
explicit PlayerBuildInfo();
private:
+ //! Return a list with all target names (as used internally).
+ //! @all false filter out all targets with status = disabled.
+ QStringList targetNames(bool all);
+
static PlayerBuildInfo* infoInstance;
QSettings* serverInfo;
QSettings playerInfo;