summaryrefslogtreecommitdiff
path: root/src/drumkit.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/drumkit.cc')
-rw-r--r--src/drumkit.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/drumkit.cc b/src/drumkit.cc
index e41bd49..f25a6ea 100644
--- a/src/drumkit.cc
+++ b/src/drumkit.cc
@@ -53,27 +53,27 @@ void DrumKit::clear()
_samplerate = 44100;
}
-bool DrumKit::isValid()
+bool DrumKit::isValid() const
{
return this == magic;
}
-std::string DrumKit::file()
+std::string DrumKit::getFile() const
{
return _file;
}
-std::string DrumKit::name()
+std::string DrumKit::getName() const
{
return _name;
}
-std::string DrumKit::description()
+std::string DrumKit::getDescription() const
{
return _description;
}
-size_t DrumKit::samplerate()
+size_t DrumKit::getSamplerate() const
{
return _samplerate;
}