MAEMO: Migrate OSystem_SDL_Maemo to Maemo namespace

This commit is contained in:
Tarek Soliman 2011-10-11 18:17:30 -05:00
parent 52fae5524c
commit b56e9e2ef1
3 changed files with 15 additions and 9 deletions

View file

@ -31,10 +31,10 @@
#include <unistd.h>
int main(int argc, char* argv[]) {
g_system = new OSystem_SDL_Maemo();
g_system = new Maemo::OSystem_SDL_Maemo();
assert(g_system);
((OSystem_SDL_Maemo *)g_system)->init();
((Maemo::OSystem_SDL_Maemo *)g_system)->init();
#ifdef DYNAMIC_MODULES
PluginManager::instance().addPluginProvider(new SDLPluginProvider());
@ -44,7 +44,7 @@ int main(int argc, char* argv[]) {
int res = scummvm_main(argc, argv);
// Free OSystem
delete (OSystem_SDL_Maemo *)g_system;
delete (Maemo::OSystem_SDL_Maemo *)g_system;
return res;
}