From b75c969e666b9f262a05e0d1e54d56f7d3e45441 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 10 May 2005 22:56:25 +0000 Subject: Moved class File and the MD5 stuff to namespace Common svn-id: r18037 --- base/engine.cpp | 4 ++-- base/main.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'base') diff --git a/base/engine.cpp b/base/engine.cpp index 0e01fa5b3b..081fd27b4f 100644 --- a/base/engine.cpp +++ b/base/engine.cpp @@ -42,13 +42,13 @@ Engine::Engine(OSystem *syst) _timer = g_timer; // Add default file directory - File::addDefaultDirectory(_gameDataPath); + Common::File::addDefaultDirectory(_gameDataPath); _saveFileMan = _system->getSavefileManager(); } Engine::~Engine() { - File::resetDefaultDirectories(); + Common::File::resetDefaultDirectories(); delete _mixer; delete _saveFileMan; diff --git a/base/main.cpp b/base/main.cpp index 287b0a891a..32e63c9f74 100644 --- a/base/main.cpp +++ b/base/main.cpp @@ -279,10 +279,10 @@ static int runGame(GameDetector &detector, OSystem &system) { // Add extrapath (if any) to the directory search list if (ConfMan.hasKey("extrapath")) - File::addDefaultDirectory(ConfMan.get("extrapath")); + Common::File::addDefaultDirectory(ConfMan.get("extrapath")); if (ConfMan.hasKey("extrapath", Common::ConfigManager::kApplicationDomain)) - File::addDefaultDirectory(ConfMan.get("extrapath", Common::ConfigManager::kApplicationDomain)); + Common::File::addDefaultDirectory(ConfMan.get("extrapath", Common::ConfigManager::kApplicationDomain)); int result; -- cgit v1.2.3