From 52fae5524c39044762b906ca938b99650d624491 Mon Sep 17 00:00:00 2001 From: Tarek Soliman Date: Tue, 11 Oct 2011 18:06:52 -0500 Subject: MAEMO: Add basic structs to Maemo namespace --- backends/platform/maemo/maemo.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'backends/platform/maemo/maemo.cpp') diff --git a/backends/platform/maemo/maemo.cpp b/backends/platform/maemo/maemo.cpp index da5b61916f..4f05f5ccb2 100644 --- a/backends/platform/maemo/maemo.cpp +++ b/backends/platform/maemo/maemo.cpp @@ -47,7 +47,7 @@ void OSystem_SDL_Maemo::initBackend() { ConfMan.set("vkeybdpath", DATA_PATH); - _maemoModel = MaemoModel(detectMaemoModel()); + _model = Maemo::Model(detectModel()); // Call parent implementation of this method OSystem_POSIX::initBackend(); @@ -96,10 +96,10 @@ void OSystem_SDL_Maemo::setWindowCaption(const char *caption) { setXWindowName(cap.c_str()); } -const MaemoModel OSystem_SDL_Maemo::detectMaemoModel() { +const Maemo::Model OSystem_SDL_Maemo::detectModel() { Common::String deviceHwId = Common::String(getenv("SCUMMVM_MAEMO_DEVICE")); - const MaemoModel *model; - for (model = maemoModels; model->hwId; model++) { + const Maemo::Model *model; + for (model = Maemo::models; model->hwId; model++) { if (deviceHwId.equals(model->hwId)) return *model; } -- cgit v1.2.3