summaryrefslogtreecommitdiffstats
path: root/src/libs/engine
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine')
-rw-r--r--src/libs/engine/Plugin.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/libs/engine/Plugin.h b/src/libs/engine/Plugin.h
index a5b70b22..da274eae 100644
--- a/src/libs/engine/Plugin.h
+++ b/src/libs/engine/Plugin.h
@@ -85,25 +85,8 @@ public:
void name(const string& s) { m_name = s; }
unsigned long id() const { return m_id; }
void id(unsigned long i) { m_id = i; }
+ const string uri() const { return m_uri; }
void uri(const string& s) { m_uri = s; }
- const string uri() const
- {
- /* char id_str[11];
- snprintf(id_str, 11, "%lu", m_id);
-
- if (m_uri.length() > 0) {
- return m_uri;
- } else if (m_type == Internal) {
- return string("om:") + m_plug_label;
- } else if (m_type == LADSPA) {
- return string("ladspa:").append(id_str);
- } else if (m_type == DSSI) {
- return string("dssi:") + lib_name() +":"+ m_plug_label;
- } else {
- return "";
- }*/
- return m_uri;
- }
PluginLibrary* library() const { return m_library; }
void library(PluginLibrary* const library) { m_library = library; }