From 059f20c9666234f2be01498ee04f1e7ee795ba8f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 6 Mar 2010 10:23:19 +0000 Subject: 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 --- src/client/ObjectModel.hpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/client/ObjectModel.hpp') diff --git a/src/client/ObjectModel.hpp b/src/client/ObjectModel.hpp index 2c1fd23e..0a108cb9 100644 --- a/src/client/ObjectModel.hpp +++ b/src/client/ObjectModel.hpp @@ -31,6 +31,9 @@ #include "shared/ResourceImpl.hpp" namespace Ingen { + +namespace Shared { class LV2URIMap; } + namespace Client { class ClientStore; @@ -79,7 +82,7 @@ public: protected: friend class ClientStore; - ObjectModel(const Raul::Path& path); + ObjectModel(Shared::LV2URIMap& uris, const Raul::Path& path); virtual void set_path(const Raul::Path& p); virtual void set_parent(SharedPtr p); @@ -89,12 +92,11 @@ protected: virtual void set(SharedPtr model); ResourceImpl _meta; - SharedPtr _parent; private: - Raul::Path _path; - Raul::Symbol _symbol; + Raul::Path _path; + Raul::Symbol _symbol; }; -- cgit v1.2.1