From 5f624c623564ab676ae3c15e7895d7814369b870 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 17 Dec 2010 19:41:56 +0000 Subject: Take RDF serialisation language as a parameter (rather than hardcoded "turtle"). git-svn-id: http://svn.drobilla.net/lad/trunk/machina@2753 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/MachinaGUI.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/gui/MachinaGUI.cpp b/src/gui/MachinaGUI.cpp index 0e66f4c..8d33090 100644 --- a/src/gui/MachinaGUI.cpp +++ b/src/gui/MachinaGUI.cpp @@ -450,7 +450,7 @@ MachinaGUI::menu_file_save() Redland::Model model(_engine->rdf_world()); model.set_base_uri(_save_uri); _engine->machine()->write_state(model); - model.serialise_to_file(_save_uri); + model.serialise_to_file(_save_uri, "turtle"); } } @@ -503,7 +503,7 @@ MachinaGUI::menu_file_save_as() _save_uri = uri; model.set_base_uri(_save_uri); _engine->machine()->write_state(model); - model.serialise_to_file(_save_uri); + model.serialise_to_file(_save_uri, "turtle"); } } } -- cgit v1.2.1