diff options
Diffstat (limited to 'src/engine/LADSPAPlugin.hpp')
-rw-r--r-- | src/engine/LADSPAPlugin.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/engine/LADSPAPlugin.hpp b/src/engine/LADSPAPlugin.hpp index 1bc25b7a..1c01e107 100644 --- a/src/engine/LADSPAPlugin.hpp +++ b/src/engine/LADSPAPlugin.hpp @@ -40,8 +40,8 @@ public: LADSPAPlugin(const std::string& library_path, const std::string& uri, unsigned long id, - const string& label, - const string& name) + const std::string& label, + const std::string& name) : PluginImpl(Plugin::LADSPA, uri, library_path) , _id(id) , _label(label) @@ -55,10 +55,10 @@ public: const std::string& label() const { return _label; } unsigned long id() const { return _id; } - const string symbol() const { return Raul::Path::nameify(_label); } - const string name() const { return _name; } + const std::string symbol() const { return Raul::Path::nameify(_label); } + const std::string name() const { return _name; } - const string library_name() const { + const std::string library_name() const { return _library_path.substr(_library_path.find_last_of("/")+1); } |