diff options
author | Johannes Schickel | 2014-01-23 15:23:12 -0800 |
---|---|---|
committer | Johannes Schickel | 2014-01-23 15:23:12 -0800 |
commit | 2fe303ce3fff008a58e9750c66e707ec4e7c93d8 (patch) | |
tree | f4ba16f62f0a054c596d65dd8796ef7323a6b535 /backends/graphics/graphics.h | |
parent | 29eeb91d4e0f7862815cd3129441ba3dfeee85c1 (diff) | |
parent | a7f94591b03984978b77bad069a2456417b55df9 (diff) | |
download | scummvm-rg350-2fe303ce3fff008a58e9750c66e707ec4e7c93d8.tar.gz scummvm-rg350-2fe303ce3fff008a58e9750c66e707ec4e7c93d8.tar.bz2 scummvm-rg350-2fe303ce3fff008a58e9750c66e707ec4e7c93d8.zip |
Merge pull request #409 from lordhoto/rtti
Enable RTTI and clean up the code by exploiting the availability of dynamic_cast.
Diffstat (limited to 'backends/graphics/graphics.h')
-rw-r--r-- | backends/graphics/graphics.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/backends/graphics/graphics.h b/backends/graphics/graphics.h index 74258b8910..24397228e6 100644 --- a/backends/graphics/graphics.h +++ b/backends/graphics/graphics.h @@ -37,27 +37,6 @@ class GraphicsManager : public PaletteManager { public: virtual ~GraphicsManager() {} - /** - * Makes this graphics manager active. That means it should be ready to - * process inputs now. However, even without being active it should be - * able to query the supported modes and other bits. - * - * HACK: Actually this is specific to SdlGraphicsManager subclasses. - * But sadly we cannot cast from GraphicsManager to SdlGraphicsManager - * because there is no relation between these two. - */ - virtual void activateManager() {} - - /** - * Makes this graphics manager inactive. This should allow another - * graphics manager to become active again. - * - * HACK: Actually this is specific to SdlGraphicsManager subclasses. - * But sadly we cannot cast from GraphicsManager to SdlGraphicsManager - * because there is no relation between these two. - */ - virtual void deactivateManager() {} - virtual bool hasFeature(OSystem::Feature f) = 0; virtual void setFeatureState(OSystem::Feature f, bool enable) = 0; virtual bool getFeatureState(OSystem::Feature f) = 0; |