Skip to content

Commit

Permalink
MAEMO: Migrate MaemoSdlEventSource to Maemo namespace
Browse files Browse the repository at this point in the history
Also add some comments to the #endifs
  • Loading branch information
tsoliman committed Oct 12, 2011
1 parent b56e9e2 commit 4ee07c8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion backends/events/maemosdl/maemosdl-events.cpp
Expand Up @@ -27,6 +27,8 @@
#include "backends/events/maemosdl/maemosdl-events.h"
#include "common/translation.h"

namespace Maemo {

MaemoSdlEventSource::MaemoSdlEventSource() : SdlEventSource(), _clickEnabled(true) {

}
Expand Down Expand Up @@ -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)
8 changes: 6 additions & 2 deletions backends/events/maemosdl/maemosdl-events.h
Expand Up @@ -29,6 +29,8 @@
#include "backends/platform/sdl/sdl.h"
#include "backends/graphics/surfacesdl/surfacesdl-graphics.h"

namespace Maemo {

/**
* SDL events manager for Maemo
*/
Expand All @@ -43,6 +45,8 @@ class MaemoSdlEventSource : public SdlEventSource {
bool _clickEnabled;
};

#endif
} // namespace Maemo

#endif // include guard

#endif
#endif // if defined(MAEMO)

0 comments on commit 4ee07c8

Please sign in to comment.