From 8ecf0ff34b126f56dd06d6febf7046c0e98fb87e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 17 Feb 2011 20:40:48 +0000 Subject: 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 --- src/serialisation/Parser.cpp | 5 +---- src/serialisation/Parser.hpp | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'src/serialisation') 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 data_path, boost::optional parent, boost::optional symbol, boost::optional 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 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 data_path=boost::optional(), boost::optional parent=boost::optional(), boost::optional symbol=boost::optional(), boost::optional data=boost::optional()); -- cgit v1.2.1