summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/systeminfo.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2010-02-12 20:38:17 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2010-02-12 20:38:17 +0000
commit4c9fc9cb7ed9cb9c0163f81acce5b71ae2dcb29d (patch)
tree72aadddd80a8e689072be8075cf74d8360353632 /rbutil/rbutilqt/base/systeminfo.h
parent9a256c96f7fcb60d94bb0c58f499e2f43ce9957a (diff)
downloadrockbox-4c9fc9cb7ed9cb9c0163f81acce5b71ae2dcb29d.tar.gz
rockbox-4c9fc9cb7ed9cb9c0163f81acce5b71ae2dcb29d.zip
Fix problems with platform retrieval.
- handle disabled platforms also for for variant and base groups. - make variant detection more strict to prevent variants that are a substring of other variants to match. Happened e.g. for iriverh10 and iriverh100. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24625 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/base/systeminfo.h')
-rw-r--r--rbutil/rbutilqt/base/systeminfo.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/base/systeminfo.h b/rbutil/rbutilqt/base/systeminfo.h
index bab4815421..76d00d4949 100644
--- a/rbutil/rbutilqt/base/systeminfo.h
+++ b/rbutil/rbutilqt/base/systeminfo.h
@@ -67,7 +67,9 @@ class SystemInfo : public QObject
PlatformAll,
PlatformAllDisabled,
PlatformBase,
- PlatformVariant
+ PlatformBaseDisabled,
+ PlatformVariant,
+ PlatformVariantDisabled
};
//! return a list of all platforms (rbutil internal names)