aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/sdl.h
diff options
context:
space:
mode:
authorMax Horn2009-11-10 00:01:43 +0000
committerMax Horn2009-11-10 00:01:43 +0000
commit885cbb53025e04a0cf5c414df07d3eb49ee79ffb (patch)
tree068c931fbe97761984e3d15d2b45a0f477795b9b /backends/platform/sdl/sdl.h
parent1f37da26263d137397f8787500d771dca0d460fe (diff)
downloadscummvm-rg350-885cbb53025e04a0cf5c414df07d3eb49ee79ffb.tar.gz
scummvm-rg350-885cbb53025e04a0cf5c414df07d3eb49ee79ffb.tar.bz2
scummvm-rg350-885cbb53025e04a0cf5c414df07d3eb49ee79ffb.zip
SDL: Remove const from new handle*() method for now, to allow using remapKey (ultimately, the goal is to get back the const by changing how remapping works)
svn-id: r45797
Diffstat (limited to 'backends/platform/sdl/sdl.h')
-rw-r--r--backends/platform/sdl/sdl.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/backends/platform/sdl/sdl.h b/backends/platform/sdl/sdl.h
index f9849e34d1..7e1bf92473 100644
--- a/backends/platform/sdl/sdl.h
+++ b/backends/platform/sdl/sdl.h
@@ -157,20 +157,20 @@ public:
virtual bool pollEvent(Common::Event &event); // overloaded by CE backend
protected:
- virtual bool dispatchSDLEvent(const SDL_Event &ev, Common::Event &event);
+ virtual bool dispatchSDLEvent(SDL_Event &ev, Common::Event &event);
// Handlers for specific SDL events, called by pollEvent.
// This way, if a backend inherits fromt the SDL backend, it can
// change the behavior of only a single event, without having to override all
// of pollEvent.
- virtual bool handleKeyDown(const SDL_Event &ev, Common::Event &event);
- virtual bool handleKeyUp(const SDL_Event &ev, Common::Event &event);
- virtual bool handleMouseMotion(const SDL_Event &ev, Common::Event &event);
- virtual bool handleMouseButtonDown(const SDL_Event &ev, Common::Event &event);
- virtual bool handleMouseButtonUp(const SDL_Event &ev, Common::Event &event);
- virtual bool handleJoyButtonDown(const SDL_Event &ev, Common::Event &event);
- virtual bool handleJoyButtonUp(const SDL_Event &ev, Common::Event &event);
- virtual bool handleJoyAxisMotion(const SDL_Event &ev, Common::Event &event);
+ virtual bool handleKeyDown(SDL_Event &ev, Common::Event &event);
+ virtual bool handleKeyUp(SDL_Event &ev, Common::Event &event);
+ virtual bool handleMouseMotion(SDL_Event &ev, Common::Event &event);
+ virtual bool handleMouseButtonDown(SDL_Event &ev, Common::Event &event);
+ virtual bool handleMouseButtonUp(SDL_Event &ev, Common::Event &event);
+ virtual bool handleJoyButtonDown(SDL_Event &ev, Common::Event &event);
+ virtual bool handleJoyButtonUp(SDL_Event &ev, Common::Event &event);
+ virtual bool handleJoyAxisMotion(SDL_Event &ev, Common::Event &event);
public: