From 2f595631859574bfa7779ebb42f42b8590f5424c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 27 May 2009 23:21:34 +0000 Subject: Remove 'property' vs 'variable' dichotomy in favour of 'meta objects' (to match serialisation). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2016 a436a847-0d15-0410-975c-d299462d15a1 --- src/shared/ResourceImpl.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/shared/ResourceImpl.cpp') diff --git a/src/shared/ResourceImpl.cpp b/src/shared/ResourceImpl.cpp index 27a33e07..69d294a4 100644 --- a/src/shared/ResourceImpl.cpp +++ b/src/shared/ResourceImpl.cpp @@ -25,6 +25,13 @@ namespace Ingen { namespace Shared { +const Raul::URI +ResourceImpl::meta_uri(const Raul::URI& base, const Raul::URI& uri) +{ + return string("#") + uri.chop_start("/"); +} + + void ResourceImpl::add_property(const Raul::URI& uri, const Raul::Atom& value) { -- cgit v1.2.1