diff options
author | David Robillard <d@drobilla.net> | 2007-05-01 23:58:38 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-05-01 23:58:38 +0000 |
commit | 10e23868c8199335ebd360afb62911174075658c (patch) | |
tree | 5ca362855ca1b2809b1e4ca95ecbcdf3fe8bf60b /src/progs/patch_loader | |
parent | 2772d11a284f199342ef86e9169865968577a17c (diff) | |
download | ingen-10e23868c8199335ebd360afb62911174075658c.tar.gz ingen-10e23868c8199335ebd360afb62911174075658c.tar.bz2 ingen-10e23868c8199335ebd360afb62911174075658c.zip |
Moved loading out to it's own namespace.
git-svn-id: http://svn.drobilla.net/lad/ingen@490 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs/patch_loader')
-rw-r--r-- | src/progs/patch_loader/patch_loader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/progs/patch_loader/patch_loader.cpp b/src/progs/patch_loader/patch_loader.cpp index f011d308..cc3c1903 100644 --- a/src/progs/patch_loader/patch_loader.cpp +++ b/src/progs/patch_loader/patch_loader.cpp @@ -61,7 +61,6 @@ int main(int argc, char** argv) rdf_world.add_prefix("doap", "http://usefulinc.com/ns/doap#"); SharedPtr<OSCModelEngineInterface> engine(new OSCModelEngineInterface(engine_url)); - Loader loader(engine, &rdf_world); /* Connect to engine */ engine->attach(-1, client_port); @@ -81,7 +80,8 @@ int main(int argc, char** argv) for (uint i=0; i < args_info.inputs_num; ++i) { cerr << "FIXME: load patch under root" << endl; cerr << "Load " << args_info.inputs[i] << endl; - loader.load(&rdf_world, string("file:") + args_info.inputs[i], Path("/"), ""); + Ingen::Serialisation::load(engine, &rdf_world, + string("file:") + args_info.inputs[i], Path("/"), ""); } return 0; |