diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2012-09-04 19:19:37 +0200 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2012-09-04 20:08:43 +0200 |
commit | f6fb2ed54cb2e7fc8206e8b9422db474d717c51b (patch) | |
tree | 24cf5abc6c34db5f71facb447184b86ab97063c2 /src/lastfm.h | |
parent | 6d87ebbc435fd872fb099d7d08f116abcd98ac0a (diff) |
make use of override keyword if available
Diffstat (limited to 'src/lastfm.h')
-rw-r--r-- | src/lastfm.h | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/src/lastfm.h b/src/lastfm.h index 05e041a0..9d58f49a 100644 --- a/src/lastfm.h +++ b/src/lastfm.h @@ -36,26 +36,29 @@ class Lastfm : public Screen<NC::Scrollpad> public: Lastfm() : isReadyToTake(0), isDownloadInProgress(0) { } - virtual void SwitchTo(); - virtual void Resize(); + // Screen<NC::Scrollpad> + virtual void SwitchTo() OVERRIDE; + virtual void Resize() OVERRIDE; - virtual std::basic_string<my_char_t> Title(); + virtual std::basic_string<my_char_t> Title() OVERRIDE; - virtual void Update(); + virtual void Update() OVERRIDE; - virtual void EnterPressed() { } - virtual void SpacePressed() { } + virtual void EnterPressed() OVERRIDE { } + virtual void SpacePressed() OVERRIDE { } - virtual bool isMergable() { return true; } + virtual bool isMergable() OVERRIDE { return true; } + virtual bool isTabbable() OVERRIDE { return false; } + // private members void Refetch(); bool isDownloading() { return isDownloadInProgress && !isReadyToTake; } bool SetArtistInfoArgs(const std::string &artist, const std::string &lang = ""); protected: - virtual void Init(); - virtual bool isLockable() { return false; } + virtual void Init() OVERRIDE; + virtual bool isLockable() OVERRIDE { return false; } private: std::basic_string<my_char_t> itsTitle; |