From ee1ba36e564c4f0545e50ec91fa4b14d6dfca91b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 21 Oct 2011 19:29:03 +0000 Subject: Separate URIs from LV2URIMap. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3564 a436a847-0d15-0410-975c-d299462d15a1 --- include/ingen/shared/Builder.hpp | 8 ++++---- include/ingen/shared/LV2Atom.hpp | 10 +++++----- include/ingen/shared/World.hpp | 7 +++++-- 3 files changed, 14 insertions(+), 11 deletions(-) (limited to 'include/ingen/shared') diff --git a/include/ingen/shared/Builder.hpp b/include/ingen/shared/Builder.hpp index 8a21dee0..245b3013 100644 --- a/include/ingen/shared/Builder.hpp +++ b/include/ingen/shared/Builder.hpp @@ -27,7 +27,7 @@ class GraphObject; namespace Shared { -class LV2URIMap; +class URIs; /** Wrapper for CommonInterface to create existing objects/models. * @@ -36,7 +36,7 @@ class LV2URIMap; class Builder { public: - Builder(SharedPtr uris, CommonInterface& interface); + Builder(SharedPtr uris, CommonInterface& interface); virtual ~Builder() {} void build(SharedPtr object); @@ -45,8 +45,8 @@ public: private: void build_object(SharedPtr object); - SharedPtr _uris; - CommonInterface& _interface; + SharedPtr _uris; + CommonInterface& _interface; }; } // namespace Shared diff --git a/include/ingen/shared/LV2Atom.hpp b/include/ingen/shared/LV2Atom.hpp index df9ffde9..0aa35889 100644 --- a/include/ingen/shared/LV2Atom.hpp +++ b/include/ingen/shared/LV2Atom.hpp @@ -25,15 +25,15 @@ namespace Raul { class Atom; } namespace Ingen { namespace Shared { -class LV2URIMap; +class URIs; namespace LV2Atom { -bool to_atom(const LV2URIMap& uris, - const LV2_Atom* object, - Raul::Atom& atom); +bool to_atom(const URIs& uris, + const LV2_Atom* object, + Raul::Atom& atom); -bool from_atom(const LV2URIMap& uris, +bool from_atom(const URIs& uris, const Raul::Atom& atom, LV2_Atom* object); diff --git a/include/ingen/shared/World.hpp b/include/ingen/shared/World.hpp index 4f0a00c2..4ee378c6 100644 --- a/include/ingen/shared/World.hpp +++ b/include/ingen/shared/World.hpp @@ -41,6 +41,7 @@ namespace Serialisation { class Serialiser; class Parser; } namespace Shared { class LV2Features; +class URIs; class LV2URIMap; class Store; @@ -92,8 +93,10 @@ public: virtual SharedPtr store(); virtual SharedPtr client(); - virtual Sord::World* rdf_world(); - virtual SharedPtr uris(); + virtual Sord::World* rdf_world(); + + virtual SharedPtr uris(); + virtual SharedPtr lv2_uri_map(); virtual int& argc(); virtual char**& argv(); -- cgit v1.2.1