summaryrefslogtreecommitdiffstats
path: root/src/shared/Builder.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-03-06 10:23:19 +0000
committerDavid Robillard <d@drobilla.net>2010-03-06 10:23:19 +0000
commit059f20c9666234f2be01498ee04f1e7ee795ba8f (patch)
treeef0d53073d53012aeaa7d084fccf477b166c0684 /src/shared/Builder.hpp
parent085a451dfec54126be1b9346899c81d82e6eb58e (diff)
downloadingen-059f20c9666234f2be01498ee04f1e7ee795ba8f.tar.gz
ingen-059f20c9666234f2be01498ee04f1e7ee795ba8f.tar.bz2
ingen-059f20c9666234f2be01498ee04f1e7ee795ba8f.zip
Save Ingen patches as working standard LV2 plugin bundles.
This allows you to create an Ingen patch in Ingen running as a Jack client, save it, then load that patch as an LV2 plugin in any LV2 compliant host. Eliminate (hopefully) all static data in the engine (for multiple instantiations in a single process). More API/ABI stable interface for Ingen::Shared::World. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2533 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/shared/Builder.hpp')
-rw-r--r--src/shared/Builder.hpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/shared/Builder.hpp b/src/shared/Builder.hpp
index ec953d41..b77201dd 100644
--- a/src/shared/Builder.hpp
+++ b/src/shared/Builder.hpp
@@ -25,8 +25,9 @@ namespace Raul { class Path; }
namespace Ingen {
namespace Shared {
-class GraphObject;
class CommonInterface;
+class GraphObject;
+class LV2URIMap;
/** Wrapper for CommonInterface to create existing objects/models.
@@ -36,7 +37,7 @@ class CommonInterface;
class Builder
{
public:
- Builder(CommonInterface& interface);
+ Builder(SharedPtr<Shared::LV2URIMap> uris, CommonInterface& interface);
virtual ~Builder() {}
void build(SharedPtr<const GraphObject> object);
@@ -45,7 +46,8 @@ public:
private:
void build_object(SharedPtr<const GraphObject> object);
- CommonInterface& _interface;
+ SharedPtr<Shared::LV2URIMap> _uris;
+ CommonInterface& _interface;
};