aboutsummaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-17 19:41:56 +0000
committerDavid Robillard <d@drobilla.net>2010-12-17 19:41:56 +0000
commit5f624c623564ab676ae3c15e7895d7814369b870 (patch)
treea555f456dc82c58033fbf4545cf3f37568a88b39 /src/gui
parente34d99d54d37dd4f130c3d11d1c94fcac22bf99d (diff)
downloadmachina-5f624c623564ab676ae3c15e7895d7814369b870.tar.gz
machina-5f624c623564ab676ae3c15e7895d7814369b870.tar.bz2
machina-5f624c623564ab676ae3c15e7895d7814369b870.zip
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
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/MachinaGUI.cpp4
1 files changed, 2 insertions, 2 deletions
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");
}
}
}