aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/surfacesdl/surfacesdl-graphics.h
diff options
context:
space:
mode:
authorJohannes Schickel2013-10-20 22:27:50 +0200
committerJohannes Schickel2013-10-23 22:58:34 +0200
commit6e46e9dfaf141fda10af798d9770b9f2b0555575 (patch)
treea60a0013d8f5aa11a6543947a0493405db0638bc /backends/graphics/surfacesdl/surfacesdl-graphics.h
parent18d2bbc2289feff265c12026aae7093b24aee959 (diff)
downloadscummvm-rg350-6e46e9dfaf141fda10af798d9770b9f2b0555575.tar.gz
scummvm-rg350-6e46e9dfaf141fda10af798d9770b9f2b0555575.tar.bz2
scummvm-rg350-6e46e9dfaf141fda10af798d9770b9f2b0555575.zip
SDL: Clean up graphics manager switching slighty.
Sadly this also requires us to extend GraphicsManager for this SDL specific feature. However, since that's only used in the SDL backend and Tizen it should be fine for now...
Diffstat (limited to 'backends/graphics/surfacesdl/surfacesdl-graphics.h')
-rw-r--r--backends/graphics/surfacesdl/surfacesdl-graphics.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/graphics/surfacesdl/surfacesdl-graphics.h b/backends/graphics/surfacesdl/surfacesdl-graphics.h
index 97de0f9c97..0bee70bf0c 100644
--- a/backends/graphics/surfacesdl/surfacesdl-graphics.h
+++ b/backends/graphics/surfacesdl/surfacesdl-graphics.h
@@ -80,7 +80,8 @@ public:
SurfaceSdlGraphicsManager(SdlEventSource *sdlEventSource);
virtual ~SurfaceSdlGraphicsManager();
- virtual void initEventObserver();
+ virtual void activateManager();
+ virtual void deactivateManager();
virtual bool hasFeature(OSystem::Feature f);
virtual void setFeatureState(OSystem::Feature f, bool enable);