diff options
author | David Robillard <d@drobilla.net> | 2012-03-12 07:37:52 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-03-12 07:37:52 +0000 |
commit | 8a69f9bdbf45a049d9dbb93a198dd92bda733927 (patch) | |
tree | 869e9b25cd1eb3f473b8674644c3a60f326d6696 /include/ingen | |
parent | d2904911d85a2acf58543d831be27fc40b2e6841 (diff) | |
download | ingen-8a69f9bdbf45a049d9dbb93a198dd92bda733927.tar.gz ingen-8a69f9bdbf45a049d9dbb93a198dd92bda733927.tar.bz2 ingen-8a69f9bdbf45a049d9dbb93a198dd92bda733927.zip |
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
Diffstat (limited to 'include/ingen')
-rw-r--r-- | include/ingen/serialisation/Parser.hpp | 15 |
1 files changed, 0 insertions, 15 deletions
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 <glibmm/ustring.h> #include "raul/Path.hpp" -#include "serd/serd.h" #include "ingen/GraphObject.hpp" @@ -66,20 +65,6 @@ public: boost::optional<Raul::Symbol> symbol = boost::optional<Raul::Symbol>(), boost::optional<Properties> data = boost::optional<Properties>()); - 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<PatchRecord> PatchRecords; - - virtual PatchRecords find_patches(Shared::World* world, - SerdEnv* env, - const Glib::ustring& manifest_uri); - private: Shared::World& _world; }; |