aboutsummaryrefslogtreecommitdiff
path: root/backends/events
diff options
context:
space:
mode:
authorEugene Sandulenko2018-03-28 11:58:35 +0200
committerEugene Sandulenko2018-03-28 11:58:35 +0200
commitd6b5e3f611c315b2d5dca01f58c92a8b53ebc32b (patch)
treeea7c22e9a1bdc3a0b1887b3b733bab55529b30d7 /backends/events
parent880081aa2c475c0a8e7cf67a7cdbe6f53d05d1f4 (diff)
downloadscummvm-rg350-d6b5e3f611c315b2d5dca01f58c92a8b53ebc32b.tar.gz
scummvm-rg350-d6b5e3f611c315b2d5dca01f58c92a8b53ebc32b.tar.bz2
scummvm-rg350-d6b5e3f611c315b2d5dca01f58c92a8b53ebc32b.zip
BAKCENDS: Mark methods as override
Diffstat (limited to 'backends/events')
-rw-r--r--backends/events/default/default-events.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/backends/events/default/default-events.h b/backends/events/default/default-events.h
index df6ebd2f14..9a85fca52a 100644
--- a/backends/events/default/default-events.h
+++ b/backends/events/default/default-events.h
@@ -49,7 +49,7 @@ class DefaultEventManager : public Common::EventManager, Common::EventObserver {
Common::ArtificialEventSource _artificialEventSource;
Common::Queue<Common::Event> _eventQueue;
- bool notifyEvent(const Common::Event &ev) {
+ bool notifyEvent(const Common::Event &ev) override {
_eventQueue.push(ev);
return true;
}
@@ -76,17 +76,17 @@ public:
DefaultEventManager(Common::EventSource *boss);
~DefaultEventManager();
- virtual void init();
- virtual bool pollEvent(Common::Event &event);
- virtual void pushEvent(const Common::Event &event);
+ virtual void init() override;
+ virtual bool pollEvent(Common::Event &event) override;
+ virtual void pushEvent(const Common::Event &event) override;
virtual void purgeMouseEvents() override;
- virtual Common::Point getMousePos() const { return _mousePos; }
- virtual int getButtonState() const { return _buttonState; }
- virtual int getModifierState() const { return _modifierState; }
- virtual int shouldQuit() const { return _shouldQuit; }
- virtual int shouldRTL() const { return _shouldRTL; }
- virtual void resetRTL() { _shouldRTL = false; }
+ virtual Common::Point getMousePos() const override { return _mousePos; }
+ virtual int getButtonState() const override { return _buttonState; }
+ virtual int getModifierState() const override { return _modifierState; }
+ virtual int shouldQuit() const override { return _shouldQuit; }
+ virtual int shouldRTL() const override { return _shouldRTL; }
+ virtual void resetRTL() override { _shouldRTL = false; }
#ifdef FORCE_RTL
virtual void resetQuit() { _shouldQuit = false; }
#endif