From 8a69f9bdbf45a049d9dbb93a198dd92bda733927 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 12 Mar 2012 07:37:52 +0000 Subject: Move bundle patch finding stuff to ingen_lv2.cpp and simplify it to not require the World. Remove all the heavyweight initialisation stuff from plugin library instantiation, just parse the manifest with Sord directly and don't initialise the World until the plugin is actually loaded. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4056 a436a847-0d15-0410-975c-d299462d15a1 --- include/ingen/serialisation/Parser.hpp | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'include') diff --git a/include/ingen/serialisation/Parser.hpp b/include/ingen/serialisation/Parser.hpp index 90e68324..492af2ad 100644 --- a/include/ingen/serialisation/Parser.hpp +++ b/include/ingen/serialisation/Parser.hpp @@ -25,7 +25,6 @@ #include #include "raul/Path.hpp" -#include "serd/serd.h" #include "ingen/GraphObject.hpp" @@ -66,20 +65,6 @@ public: boost::optional symbol = boost::optional(), boost::optional data = boost::optional()); - struct PatchRecord { - PatchRecord(const Raul::URI& u, const Glib::ustring& f) - : patch_uri(u), file_uri(f) - {} - const Raul::URI patch_uri; - const Glib::ustring file_uri; - }; - - typedef std::list PatchRecords; - - virtual PatchRecords find_patches(Shared::World* world, - SerdEnv* env, - const Glib::ustring& manifest_uri); - private: Shared::World& _world; }; -- cgit v1.2.1