summaryrefslogtreecommitdiffstats
path: root/src/serialisation
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-17 20:40:48 +0000
committerDavid Robillard <d@drobilla.net>2011-02-17 20:40:48 +0000
commit8ecf0ff34b126f56dd06d6febf7046c0e98fb87e (patch)
tree8def815f7a24417148313f304bc6ad2051983056 /src/serialisation
parente668b8c846175f90cf22b456c5e5a4cc85410da4 (diff)
downloadingen-8ecf0ff34b126f56dd06d6febf7046c0e98fb87e.tar.gz
ingen-8ecf0ff34b126f56dd06d6febf7046c0e98fb87e.tar.bz2
ingen-8ecf0ff34b126f56dd06d6febf7046c0e98fb87e.zip
Remove deprecated Om patch loading code (resolve ticket #32).
Om patch loading is better achieved with a script than trying to maintain this functionality in ingen (and the associated dead code maintenance and protocol headaches). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2984 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/serialisation')
-rw-r--r--src/serialisation/Parser.cpp5
-rw-r--r--src/serialisation/Parser.hpp1
2 files changed, 1 insertions, 5 deletions
diff --git a/src/serialisation/Parser.cpp b/src/serialisation/Parser.cpp
index 1fd67498..4ccb4525 100644
--- a/src/serialisation/Parser.cpp
+++ b/src/serialisation/Parser.cpp
@@ -131,7 +131,6 @@ bool
Parser::parse_file(Ingen::Shared::World* world,
Ingen::Shared::CommonInterface* target,
Glib::ustring file_uri,
- boost::optional<Raul::Path> data_path,
boost::optional<Raul::Path> parent,
boost::optional<Raul::Symbol> symbol,
boost::optional<GraphObject::Properties> data)
@@ -170,15 +169,13 @@ Parser::parse_file(Ingen::Shared::World* world,
model.load_file(filename);
LOG(info) << "Parsing " << file_uri << endl;
- if (data_path)
- LOG(info) << "Path: " << *data_path << endl;
if (parent)
LOG(info) << "Parent: " << *parent << endl;
if (symbol)
LOG(info) << "Symbol: " << *symbol << endl;
boost::optional<Path> parsed_path
- = parse(world, target, model, filename, data_path, parent, symbol, data);
+ = parse(world, target, model, filename, Path("/"), parent, symbol, data);
if (parsed_path) {
target->set_property(*parsed_path, "http://drobilla.net/ns/ingen#document",
diff --git a/src/serialisation/Parser.hpp b/src/serialisation/Parser.hpp
index d9b33956..6d1661dd 100644
--- a/src/serialisation/Parser.hpp
+++ b/src/serialisation/Parser.hpp
@@ -47,7 +47,6 @@ public:
Ingen::Shared::World* world,
Shared::CommonInterface* target,
Glib::ustring document_uri,
- boost::optional<Raul::Path> data_path=boost::optional<Raul::Path>(),
boost::optional<Raul::Path> parent=boost::optional<Raul::Path>(),
boost::optional<Raul::Symbol> symbol=boost::optional<Raul::Symbol>(),
boost::optional<Properties> data=boost::optional<Properties>());