summaryrefslogtreecommitdiff
path: root/src/help.h
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2012-09-04 19:19:37 +0200
committerAndrzej Rybczak <electricityispower@gmail.com>2012-09-04 20:08:43 +0200
commitf6fb2ed54cb2e7fc8206e8b9422db474d717c51b (patch)
tree24cf5abc6c34db5f71facb447184b86ab97063c2 /src/help.h
parent6d87ebbc435fd872fb099d7d08f116abcd98ac0a (diff)
make use of override keyword if available
Diffstat (limited to 'src/help.h')
-rw-r--r--src/help.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/help.h b/src/help.h
index b5b89a9c..b15a192a 100644
--- a/src/help.h
+++ b/src/help.h
@@ -27,20 +27,22 @@
class Help : public Screen<NC::Scrollpad>
{
public:
- virtual void Resize();
- virtual void SwitchTo();
+ virtual void Resize() OVERRIDE;
+ virtual void SwitchTo() OVERRIDE;
- virtual std::basic_string<my_char_t> Title();
+ virtual std::basic_string<my_char_t> Title() OVERRIDE;
- virtual void EnterPressed() { }
- virtual void SpacePressed() { }
- virtual bool isTabbable() { return true; }
+ virtual void Update() OVERRIDE { }
- virtual bool isMergable() { return true; }
+ virtual void EnterPressed() OVERRIDE { }
+ virtual void SpacePressed() OVERRIDE { }
+
+ virtual bool isTabbable() OVERRIDE { return true; }
+ virtual bool isMergable() OVERRIDE { return true; }
protected:
- virtual void Init();
- virtual bool isLockable() { return true; }
+ virtual void Init() OVERRIDE;
+ virtual bool isLockable() OVERRIDE { return true; }
private:
void KeysSection(const char *title) { Section("Keys", title); }