summaryrefslogtreecommitdiffstats
path: root/src/engine/LADSPAPlugin.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-05-13 06:14:40 +0000
committerDavid Robillard <d@drobilla.net>2009-05-13 06:14:40 +0000
commita95e08e48c2d1f68693609627c6d6f52c6982264 (patch)
tree0feed2d49d10d6e8880bef4a7e88c52584c094cf /src/engine/LADSPAPlugin.cpp
parentf62ef545425476959b1335f3a303d6d5f80ca0e5 (diff)
downloadingen-a95e08e48c2d1f68693609627c6d6f52c6982264.tar.gz
ingen-a95e08e48c2d1f68693609627c6d6f52c6982264.tar.bz2
ingen-a95e08e48c2d1f68693609627c6d6f52c6982264.zip
Generic simple query system for both objects and plugins.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1997 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/LADSPAPlugin.cpp')
-rw-r--r--src/engine/LADSPAPlugin.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/engine/LADSPAPlugin.cpp b/src/engine/LADSPAPlugin.cpp
index 2f1a7c1f..bc1f02fd 100644
--- a/src/engine/LADSPAPlugin.cpp
+++ b/src/engine/LADSPAPlugin.cpp
@@ -28,6 +28,16 @@ using namespace std;
namespace Ingen {
+const Raul::Atom&
+LADSPAPlugin::get_property(const Raul::URI& uri) const
+{
+ if (uri.str() == "doap:name")
+ return _name;
+ else
+ return ResourceImpl::get_property(uri);
+}
+
+
NodeImpl*
LADSPAPlugin::instantiate(const string& name,
bool polyphonic,