diff options
author | Max Horn | 2006-03-09 12:52:10 +0000 |
---|---|---|
committer | Max Horn | 2006-03-09 12:52:10 +0000 |
commit | 46ee5c8f26b8b53d0c7268a8328edea0b4134611 (patch) | |
tree | f59d90e1b7aa70dc0a5e9e0e37112cf5023899bd /base/plugins.h | |
parent | cd732d680bf251458fe8c22e8694e2475e3b2927 (diff) | |
download | scummvm-rg350-46ee5c8f26b8b53d0c7268a8328edea0b4134611.tar.gz scummvm-rg350-46ee5c8f26b8b53d0c7268a8328edea0b4134611.tar.bz2 scummvm-rg350-46ee5c8f26b8b53d0c7268a8328edea0b4134611.zip |
Added new method DetectedGame::updateDesc, to ease generation of uniform description strings
svn-id: r21166
Diffstat (limited to 'base/plugins.h')
-rw-r--r-- | base/plugins.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/base/plugins.h b/base/plugins.h index 5cc362ca58..678d2f5f6d 100644 --- a/base/plugins.h +++ b/base/plugins.h @@ -54,6 +54,11 @@ struct DetectedGame : public GameDescriptor { Common::Language l = Common::UNK_LANG, Common::Platform p = Common::kPlatformUnknown) : GameDescriptor(game.gameid, game.description), language(l), platform(p) {} + + /** + * Update the description string by appending (LANG/PLATFORM/EXTRA) to it. + */ + void updateDesc(const char *extra = 0); }; |