diff options
-rw-r--r-- | backends/events/maemosdl/maemosdl-events.cpp | 6 | ||||
-rw-r--r-- | backends/events/maemosdl/maemosdl-events.h | 8 |
2 files changed, 11 insertions, 3 deletions
diff --git a/backends/events/maemosdl/maemosdl-events.cpp b/backends/events/maemosdl/maemosdl-events.cpp index e111bf574b..95dc64f6f9 100644 --- a/backends/events/maemosdl/maemosdl-events.cpp +++ b/backends/events/maemosdl/maemosdl-events.cpp @@ -27,6 +27,8 @@ #include "backends/events/maemosdl/maemosdl-events.h" #include "common/translation.h" +namespace Maemo { + MaemoSdlEventSource::MaemoSdlEventSource() : SdlEventSource(), _clickEnabled(true) { } @@ -120,4 +122,6 @@ bool MaemoSdlEventSource::handleMouseButtonUp(SDL_Event &ev, Common::Event &even return SdlEventSource::handleMouseButtonUp(ev, event); } -#endif +} // namespace Maemo + +#endif // if defined(MAEMO) diff --git a/backends/events/maemosdl/maemosdl-events.h b/backends/events/maemosdl/maemosdl-events.h index 6b41b3c3f3..a31d939d58 100644 --- a/backends/events/maemosdl/maemosdl-events.h +++ b/backends/events/maemosdl/maemosdl-events.h @@ -29,6 +29,8 @@ #include "backends/platform/sdl/sdl.h" #include "backends/graphics/surfacesdl/surfacesdl-graphics.h" +namespace Maemo { + /** * SDL events manager for Maemo */ @@ -43,6 +45,8 @@ protected: bool _clickEnabled; }; -#endif +} // namespace Maemo + +#endif // include guard -#endif +#endif // if defined(MAEMO) |