diff options
author | David Robillard <d@drobilla.net> | 2006-07-05 08:32:58 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-07-05 08:32:58 +0000 |
commit | 94ac1eb5bd854244e9d90dc636a33d9cc5b82b01 (patch) | |
tree | 716543d29210d8182a5b0319643f01b406de3beb /src/libs/engine/Plugin.h | |
parent | c449044cd4c8178afca187bab823f580d517b813 (diff) | |
download | ingen-94ac1eb5bd854244e9d90dc636a33d9cc5b82b01.tar.gz ingen-94ac1eb5bd854244e9d90dc636a33d9cc5b82b01.tar.bz2 ingen-94ac1eb5bd854244e9d90dc636a33d9cc5b82b01.zip |
Control slider (etc) cleanups
git-svn-id: http://svn.drobilla.net/lad/ingen@85 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/Plugin.h')
-rw-r--r-- | src/libs/engine/Plugin.h | 19 |
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; } |