diff options
author | Christian Glöckner <cgloeckner@freenet.de> | 2016-03-29 10:18:31 +0200 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2016-03-31 17:35:47 +0200 |
commit | c551d2720a7c9c8071e8c980bde1daeec9048bdc (patch) | |
tree | f174d14cb3dbf24fd783fdbda02568f0e06afb47 /src/audioinputenginemidi.h | |
parent | 0f18336bc2a597f2625a46ea714e838d03e340b2 (diff) |
more consistent style of input engines' getters
Diffstat (limited to 'src/audioinputenginemidi.h')
-rw-r--r-- | src/audioinputenginemidi.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/audioinputenginemidi.h b/src/audioinputenginemidi.h index 82121b7..b892750 100644 --- a/src/audioinputenginemidi.h +++ b/src/audioinputenginemidi.h @@ -41,7 +41,7 @@ public: AudioInputEngineMidi(); virtual ~AudioInputEngineMidi() {} - bool isMidiEngine() { return true; } + bool isMidiEngine() const { return true; } virtual bool init(const Instruments &instruments) = 0; @@ -56,9 +56,9 @@ public: bool loadMidiMap(const std::string& file, const Instruments& i); - std::string midimapFile(); + std::string getMidimapFile() const; - bool isValid(); + bool isValid() const; protected: MidiMapper mmap; |