mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Extend SystemInfo to allow distinguishing between platforms and variants.
Doing so removes the need to loop over all targets to fill in values for target variants in ServerInfo. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24427 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e953836328
commit
ea4130fd2d
4 changed files with 49 additions and 34 deletions
|
|
@ -49,8 +49,6 @@ class ServerInfo : public QObject
|
|||
static QVariant platformValue(QString platform, enum ServerInfos setting);
|
||||
|
||||
private:
|
||||
//! set a server info to all platforms where configurename matches
|
||||
static void setAllConfigPlatformValue(QString configplatform,ServerInfos info, QVariant value);
|
||||
//! set a server info value
|
||||
static void setValue(enum ServerInfos setting , QVariant value);
|
||||
//! set a value for a server info for a named platform.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue