2002-03-25 08:51:34 +00:00
|
|
|
/* ScummVM - Scumm Interpreter
|
|
|
|
* Copyright (C) 2001 Ludvig Strigeus
|
2006-01-18 17:39:49 +00:00
|
|
|
* Copyright (C) 2001-2006 The ScummVM project
|
2002-03-25 08:51:34 +00:00
|
|
|
*
|
|
|
|
* 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
|
2005-10-18 01:30:26 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2002-03-25 08:51:34 +00:00
|
|
|
*
|
2006-02-11 09:53:21 +00:00
|
|
|
* $URL$
|
|
|
|
* $Id$
|
2002-03-25 08:51:34 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2006-04-15 21:20:16 +00:00
|
|
|
#ifndef BASE_GAMEDETECTOR_H
|
|
|
|
#define BASE_GAMEDETECTOR_H
|
2002-08-18 17:48:18 +00:00
|
|
|
|
2002-09-30 00:55:47 +00:00
|
|
|
#include "common/str.h"
|
2006-04-02 20:11:50 +00:00
|
|
|
#include "common/config-manager.h"
|
2006-04-15 21:20:16 +00:00
|
|
|
#include "base/game.h"
|
2002-09-30 00:55:47 +00:00
|
|
|
|
2002-03-25 08:51:34 +00:00
|
|
|
class GameDetector {
|
2002-03-23 20:34:47 +00:00
|
|
|
public:
|
2006-05-04 22:55:15 +00:00
|
|
|
static void registerDefaults();
|
2006-04-02 21:06:49 +00:00
|
|
|
static Common::String parseCommandLine(Common::StringMap &settings, int argc, char **argv);
|
2006-05-04 22:52:18 +00:00
|
|
|
static void processSettings(Common::String &target, Common::StringMap &settings);
|
2002-03-23 20:34:47 +00:00
|
|
|
};
|
2002-08-18 17:48:18 +00:00
|
|
|
|
|
|
|
#endif
|