Mercurial > hg > svcore
comparison base/PlayParameterRepository.h @ 1580:c01cbe41aeb5 fix-static-analysis
Use override throughout
author | Chris Cannam |
---|---|
date | Mon, 26 Nov 2018 13:48:45 +0000 |
parents | 3a3541b357fe |
children | 52705a328b34 |
comparison
equal
deleted
inserted
replaced
1579:232d6ddf257d | 1580:c01cbe41aeb5 |
---|---|
11 published by the Free Software Foundation; either version 2 of the | 11 published by the Free Software Foundation; either version 2 of the |
12 License, or (at your option) any later version. See the file | 12 License, or (at your option) any later version. See the file |
13 COPYING included with this distribution for more information. | 13 COPYING included with this distribution for more information. |
14 */ | 14 */ |
15 | 15 |
16 #ifndef _PLAY_PARAMETER_REPOSITORY_H_ | 16 #ifndef SV_PLAY_PARAMETER_REPOSITORY_H |
17 #define _PLAY_PARAMETER_REPOSITORY_H_ | 17 #define SV_PLAY_PARAMETER_REPOSITORY_H |
18 | 18 |
19 #include "PlayParameters.h" | 19 #include "PlayParameters.h" |
20 #include "Command.h" | 20 #include "Command.h" |
21 | 21 |
22 class Playable; | 22 class Playable; |
50 void setPlayMuted(bool); | 50 void setPlayMuted(bool); |
51 void setPlayAudible(bool); | 51 void setPlayAudible(bool); |
52 void setPlayPan(float); | 52 void setPlayPan(float); |
53 void setPlayGain(float); | 53 void setPlayGain(float); |
54 void setPlayClipId(QString); | 54 void setPlayClipId(QString); |
55 void execute(); | 55 void execute() override; |
56 void unexecute(); | 56 void unexecute() override; |
57 QString getName() const; | 57 QString getName() const override; |
58 | 58 |
59 protected: | 59 protected: |
60 PlayParameters *m_params; | 60 PlayParameters *m_params; |
61 PlayParameters m_from; | 61 PlayParameters m_from; |
62 PlayParameters m_to; | 62 PlayParameters m_to; |