diff options
author | Marcus Comstedt | 2007-01-27 22:59:01 +0000 |
---|---|---|
committer | Marcus Comstedt | 2007-01-27 22:59:01 +0000 |
commit | a9cd5f59b0350d8a0386763b99bd6790c7a0a140 (patch) | |
tree | ed803650353b21c1670e438a60d1bc38e53568f5 | |
parent | 281ee019e08fb304a2482a7b4c24cf0c3004f956 (diff) | |
download | scummvm-rg350-a9cd5f59b0350d8a0386763b99bd6790c7a0a140.tar.gz scummvm-rg350-a9cd5f59b0350d8a0386763b99bd6790c7a0a140.tar.bz2 scummvm-rg350-a9cd5f59b0350d8a0386763b99bd6790c7a0a140.zip |
Made gameid() and description() const.
svn-id: r25234
-rw-r--r-- | base/game.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/game.h b/base/game.h index bf83a6eee0..8d5952bd40 100644 --- a/base/game.h +++ b/base/game.h @@ -58,8 +58,8 @@ public: */ void updateDesc(const char *extra = 0); - Common::String &gameid() { return getVal("gameid"); } - Common::String &description() { return getVal("description"); } + const Common::String &gameid() const { return getVal("gameid"); } + const Common::String &description() const { return getVal("description"); } Common::Language language() const { return contains("language") ? Common::parseLanguage(getVal("language")) : Common::UNK_LANG; } Common::Platform platform() const { return contains("platform") ? Common::parsePlatform(getVal("platform")) : Common::kPlatformUnknown; } }; |