diff options
author | Eugene Sandulenko | 2006-05-09 14:16:43 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2006-05-09 14:16:43 +0000 |
commit | d2546e397934da3e89fdd994e0c620dd0bcfbcd4 (patch) | |
tree | 8e7371097f7421496d6ea24ceaff6feeab7185d1 /base/commandLine.h | |
parent | 4c6712246368148c91861fd30677a461e57e698b (diff) | |
download | scummvm-rg350-d2546e397934da3e89fdd994e0c620dd0bcfbcd4.tar.gz scummvm-rg350-d2546e397934da3e89fdd994e0c620dd0bcfbcd4.tar.bz2 scummvm-rg350-d2546e397934da3e89fdd994e0c620dd0bcfbcd4.zip |
- Updated MSVC8 project files
- Renamed base/options.cpp to base/commandLine.cpp because of conflict
with gui/options.cpp which sit in same directory in MSVC builds
- Moved AudioCDManager singleton declaration outside of Audio namespace
- Fixed numerous MSVC warning of potentially uninitialized variables and
int <-> bool conversions.
svn-id: r22397
Diffstat (limited to 'base/commandLine.h')
-rw-r--r-- | base/commandLine.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/base/commandLine.h b/base/commandLine.h new file mode 100644 index 0000000000..dbf1776c74 --- /dev/null +++ b/base/commandLine.h @@ -0,0 +1,38 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2001 Ludvig Strigeus + * Copyright (C) 2001-2006 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + * $URL$ + * $Id$ + * + */ + +#ifndef BASE_OPTIONS_H +#define BASE_OPTIONS_H + +#include "common/str.h" +#include "common/config-manager.h" + +namespace Base { + +void registerDefaults(); +Common::String parseCommandLine(Common::StringMap &settings, int argc, char **argv); +bool processSettings(Common::String &command, Common::StringMap &settings); + +} // End of namespace Base + +#endif |