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/DeprecatedLoader.hpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/client/DeprecatedLoader.hpp') diff --git a/src/client/DeprecatedLoader.hpp b/src/client/DeprecatedLoader.hpp index 79878107..1fbb0c7e 100644 --- a/src/client/DeprecatedLoader.hpp +++ b/src/client/DeprecatedLoader.hpp @@ -33,6 +33,9 @@ namespace Raul { class Path; } namespace Ingen { + +namespace Shared { class LV2URIMap; } + namespace Client { class PresetModel; // defined in DeprecatedLoader.cpp @@ -45,8 +48,11 @@ class PresetModel; // defined in DeprecatedLoader.cpp class DeprecatedLoader { public: - DeprecatedLoader(SharedPtr engine) - : _engine(engine) + DeprecatedLoader( + SharedPtr uris, + SharedPtr engine) + : _uris(uris) + , _engine(engine) { assert(_engine); } @@ -64,6 +70,7 @@ private: std::string nameify_if_invalid(const std::string& name); std::string translate_load_path(const std::string& path); + SharedPtr _uris; SharedPtr _engine; /// Translations of paths from the loading file to actual paths (for deprecated patches) -- cgit v1.2.1