diff options
author | Colin Snover | 2017-10-08 12:47:33 -0500 |
---|---|---|
committer | Colin Snover | 2017-10-15 13:24:21 -0500 |
commit | 4757c24c683c2f2b8e3b55aa8d7a767aad9e947e (patch) | |
tree | a35cf3cd386219e8c945ba8aacc3e20c442fbf69 /backends/graphics/symbiansdl | |
parent | f6ab0e5c10921be55e719ba93f8b5b980d4439e7 (diff) | |
download | scummvm-rg350-4757c24c683c2f2b8e3b55aa8d7a767aad9e947e.tar.gz scummvm-rg350-4757c24c683c2f2b8e3b55aa8d7a767aad9e947e.tar.bz2 scummvm-rg350-4757c24c683c2f2b8e3b55aa8d7a767aad9e947e.zip |
BACKENDS: Fix up graphics manager ports with const & override where appropriate
Diffstat (limited to 'backends/graphics/symbiansdl')
-rw-r--r-- | backends/graphics/symbiansdl/symbiansdl-graphics.cpp | 2 | ||||
-rw-r--r-- | backends/graphics/symbiansdl/symbiansdl-graphics.h | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/backends/graphics/symbiansdl/symbiansdl-graphics.cpp b/backends/graphics/symbiansdl/symbiansdl-graphics.cpp index c17cfd5efa..227674f811 100644 --- a/backends/graphics/symbiansdl/symbiansdl-graphics.cpp +++ b/backends/graphics/symbiansdl/symbiansdl-graphics.cpp @@ -50,7 +50,7 @@ bool SymbianSdlGraphicsManager::setGraphicsMode(int /*name*/) { return SurfaceSdlGraphicsManager::setGraphicsMode(getDefaultGraphicsMode()); } -bool SymbianSdlGraphicsManager::hasFeature(OSystem::Feature f) { +bool SymbianSdlGraphicsManager::hasFeature(OSystem::Feature f) const { switch (f) { case OSystem::kFeatureFullscreenMode: case OSystem::kFeatureAspectRatioCorrection: diff --git a/backends/graphics/symbiansdl/symbiansdl-graphics.h b/backends/graphics/symbiansdl/symbiansdl-graphics.h index fb9a49a834..0fcfb70f24 100644 --- a/backends/graphics/symbiansdl/symbiansdl-graphics.h +++ b/backends/graphics/symbiansdl/symbiansdl-graphics.h @@ -30,12 +30,12 @@ public: SymbianSdlGraphicsManager(SdlEventSource *sdlEventSource, SdlWindow *window); public: - virtual bool hasFeature(OSystem::Feature f); - virtual void setFeatureState(OSystem::Feature f, bool enable); + virtual bool hasFeature(OSystem::Feature f) const override; + virtual void setFeatureState(OSystem::Feature f, bool enable) override; - virtual const OSystem::GraphicsMode *getSupportedGraphicsModes() const; - virtual int getDefaultGraphicsMode() const; - virtual bool setGraphicsMode(int mode); + virtual const OSystem::GraphicsMode *getSupportedGraphicsModes() const override; + virtual int getDefaultGraphicsMode() const override; + virtual bool setGraphicsMode(int mode) override; }; #endif |