diff options
author | David Robillard <d@drobilla.net> | 2012-07-31 00:14:50 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-07-31 00:14:50 +0000 |
commit | 629fb50716083c71146340de97eb8651679ca9fb (patch) | |
tree | 9c5f25fdfd24f3cdb89924062f291a6647580878 /ingen/Resource.hpp | |
parent | 6297b8805c95dd1831ee9a0b9639ae41d00a1473 (diff) | |
download | ingen-629fb50716083c71146340de97eb8651679ca9fb.tar.gz ingen-629fb50716083c71146340de97eb8651679ca9fb.tar.bz2 ingen-629fb50716083c71146340de97eb8651679ca9fb.zip |
Merge Ingen::Shared namespace into Ingen namespace and core libingen library.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4579 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'ingen/Resource.hpp')
-rw-r--r-- | ingen/Resource.hpp | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/ingen/Resource.hpp b/ingen/Resource.hpp index 4aed2f6d..1e94e1e8 100644 --- a/ingen/Resource.hpp +++ b/ingen/Resource.hpp @@ -20,13 +20,12 @@ #include <map> #include <string> +#include "ingen/URIs.hpp" #include "raul/Atom.hpp" #include "raul/Deletable.hpp" #include "raul/URI.hpp" #include "raul/log.hpp" -#include "ingen/shared/URIs.hpp" - #define NS_INGEN "http://drobilla.net/ns/ingen#" namespace Ingen { @@ -37,7 +36,7 @@ namespace Ingen { class Resource : public Raul::Deletable { public: - Resource(Shared::URIs& uris, const Raul::URI& uri) + Resource(URIs& uris, const Raul::URI& uri) : _uris(uris) , _uri(uri) {} @@ -94,7 +93,7 @@ public: virtual ~Resource() {} - Shared::URIs& uris() const { return _uris; } + URIs& uris() const { return _uris; } virtual void set_uri(const Raul::URI& uri) { _uri = uri; } virtual const Raul::URI& uri() const { return _uri; } @@ -137,17 +136,17 @@ public: * If some coherent ingen type is found, true is returned and the appropriate * output parameter set to true. Otherwise false is returned. */ - static bool type(const Shared::URIs& uris, - const Properties& properties, - bool& patch, - bool& node, - bool& port, - bool& is_output); + static bool type(const URIs& uris, + const Properties& properties, + bool& patch, + bool& node, + bool& port, + bool& is_output); protected: const Raul::Atom& set_property(const Raul::URI& uri, const Raul::Atom& value) const; - Shared::URIs& _uris; + URIs& _uris; private: Raul::URI _uri; |