diff options
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/PluginModel.cpp | 4 | ||||
-rw-r--r-- | src/client/PluginModel.hpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/client/PluginModel.cpp b/src/client/PluginModel.cpp index 6b7ec4c8..7198235a 100644 --- a/src/client/PluginModel.cpp +++ b/src/client/PluginModel.cpp @@ -51,7 +51,7 @@ PluginModel::PluginModel(const string& uri, const string& type_uri) string -PluginModel::default_node_symbol() +PluginModel::default_node_symbol() const { return Raul::Path::nameify(symbol()); } @@ -79,7 +79,7 @@ PluginModel::human_name() string -PluginModel::port_human_name(uint32_t index) +PluginModel::port_human_name(uint32_t index) const { #ifdef HAVE_SLV2 if (_slv2_plugin) { diff --git a/src/client/PluginModel.hpp b/src/client/PluginModel.hpp index 53bf668c..c59da63b 100644 --- a/src/client/PluginModel.hpp +++ b/src/client/PluginModel.hpp @@ -57,9 +57,9 @@ public: const string symbol() const { return string_property("lv2:symbol"); } const string name() const { return string_property("doap:name"); } - string default_node_symbol(); + string default_node_symbol() const; string human_name(); - string port_human_name(uint32_t index); + string port_human_name(uint32_t index) const; #ifdef HAVE_SLV2 static SLV2World slv2_world() { return _slv2_world; } |