diff options
author | Max Horn | 2006-04-02 20:11:50 +0000 |
---|---|---|
committer | Max Horn | 2006-04-02 20:11:50 +0000 |
commit | 004ca16de43638df1a807212bcda0ed62c435c3e (patch) | |
tree | a9565a4d08d854edb6cf5807c85a2c7e075f39de /base/gameDetector.h | |
parent | 80b3f9217dcb853220e972f83ea210ede8623fe3 (diff) | |
download | scummvm-rg350-004ca16de43638df1a807212bcda0ed62c435c3e.tar.gz scummvm-rg350-004ca16de43638df1a807212bcda0ed62c435c3e.tar.bz2 scummvm-rg350-004ca16de43638df1a807212bcda0ed62c435c3e.zip |
Split GameDetector::parseCommandLine into a static parseCommandLine method which returns a StringMap with all settings, and a non-static parseCommandLine method which interprets the StringMap returned by parseCommandLine.
svn-id: r21563
Diffstat (limited to 'base/gameDetector.h')
-rw-r--r-- | base/gameDetector.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/base/gameDetector.h b/base/gameDetector.h index 6eb9c5c231..ab891b325a 100644 --- a/base/gameDetector.h +++ b/base/gameDetector.h @@ -25,6 +25,7 @@ #define GAMEDETECTOR_H #include "common/str.h" +#include "common/config-manager.h" class Engine; class GameDetector; @@ -68,7 +69,8 @@ class GameDetector { public: GameDetector(); - void parseCommandLine(int argc, char **argv); + static void parseCommandLine(Common::StringMap &settings, int argc, char **argv); + void processSettings(Common::StringMap &settings); bool detectMain(); String _targetName; |