diff options
author | Tarek Soliman | 2011-10-11 18:06:52 -0500 |
---|---|---|
committer | Tarek Soliman | 2011-10-11 19:54:16 -0500 |
commit | 52fae5524c39044762b906ca938b99650d624491 (patch) | |
tree | 389be6a1537eb587b686aabbe2b1afa2b619b31e /backends/platform/maemo/maemo.cpp | |
parent | a1fe57702ac394903df3bb9be331b87e28e38a73 (diff) | |
download | scummvm-rg350-52fae5524c39044762b906ca938b99650d624491.tar.gz scummvm-rg350-52fae5524c39044762b906ca938b99650d624491.tar.bz2 scummvm-rg350-52fae5524c39044762b906ca938b99650d624491.zip |
MAEMO: Add basic structs to Maemo namespace
Diffstat (limited to 'backends/platform/maemo/maemo.cpp')
-rw-r--r-- | backends/platform/maemo/maemo.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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; } |