summaryrefslogtreecommitdiffstats
path: root/src/client/ObjectModel.cpp
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/client/ObjectModel.cpp
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/client/ObjectModel.cpp')
-rw-r--r--src/client/ObjectModel.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/client/ObjectModel.cpp b/src/client/ObjectModel.cpp
index f5972af5..68326a3d 100644
--- a/src/client/ObjectModel.cpp
+++ b/src/client/ObjectModel.cpp
@@ -21,13 +21,14 @@
#include "ObjectModel.hpp"
using namespace std;
+using namespace Raul;
namespace Ingen {
namespace Client {
ObjectModel::ObjectModel(const Path& path)
- : ResourceImpl(string("patch/") + path)
+ : ResourceImpl(path)
, _path(path)
{
}
@@ -43,7 +44,7 @@ ObjectModel::~ObjectModel()
* @return Metadata value with key @a key, empty string otherwise.
*/
const Atom&
-ObjectModel::get_variable(const string& key) const
+ObjectModel::get_variable(const URI& key) const
{
static const Atom null_atom;
@@ -60,7 +61,7 @@ ObjectModel::get_variable(const string& key) const
* @return Metadata value with key @a key, empty string otherwise.
*/
Atom&
-ObjectModel::get_variable( string& key)
+ObjectModel::get_variable(URI& key)
{
static Atom null_atom;