diff options
Diffstat (limited to 'common/util.h')
-rw-r--r-- | common/util.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/common/util.h b/common/util.h index 65c7b1cb5d..cf8e8b9b42 100644 --- a/common/util.h +++ b/common/util.h @@ -146,6 +146,16 @@ enum Platform { */ }; +struct PlatformDescription { + const char *code; + const char *code2; + const char *description; + Common::Platform id; +}; + +extern const PlatformDescription g_platforms[]; + + /** Convert a string containing a platform name into a Platform enum value. */ extern Platform parsePlatform(const String &str); extern const char *getPlatformCode(Platform id); |