summaryrefslogtreecommitdiffstats
path: root/src/common/interface/Resource.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-05-13 04:05:32 +0000
committerDavid Robillard <d@drobilla.net>2009-05-13 04:05:32 +0000
commit19928bb583e72802746b89e322f71ecc0fcb7427 (patch)
tree95912dc84d8c9dcf57939398514feaf148c1cd63 /src/common/interface/Resource.hpp
parent96f839e64de70a23210847e322d24690299287fe (diff)
downloadingen-19928bb583e72802746b89e322f71ecc0fcb7427.tar.gz
ingen-19928bb583e72802746b89e322f71ecc0fcb7427.tar.bz2
ingen-19928bb583e72802746b89e322f71ecc0fcb7427.zip
The great ID refactoring of 2009.
Path is now actually URI (scheme path: for now). Therefore ingen nodes and such live in the same namespace as ... well, everything. Including plugins. Thar be profit, laddies. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1992 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/common/interface/Resource.hpp')
-rw-r--r--src/common/interface/Resource.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/common/interface/Resource.hpp b/src/common/interface/Resource.hpp
index 109e1021..d22f0a59 100644
--- a/src/common/interface/Resource.hpp
+++ b/src/common/interface/Resource.hpp
@@ -21,7 +21,7 @@
#include <string>
#include <map>
-namespace Raul { class Atom; }
+namespace Raul { class Atom; class URI; }
namespace Ingen {
namespace Shared {
@@ -30,16 +30,16 @@ namespace Shared {
class Resource
{
public:
- typedef std::map<std::string, Raul::Atom> Properties;
+ typedef std::map<Raul::URI, Raul::Atom> Properties;
- virtual const std::string uri() const = 0;
+ virtual const Raul::URI uri() const = 0;
virtual const Properties& properties() const = 0;
virtual Properties& properties() = 0;
- virtual void set_property(const std::string& uri,
- const Raul::Atom& value) = 0;
+ virtual void set_property(const Raul::URI& uri,
+ const Raul::Atom& value) = 0;
- virtual const Raul::Atom& get_property(const std::string& uri) const = 0;
+ virtual const Raul::Atom& get_property(const Raul::URI& uri) const = 0;
};