summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-07-30 08:55:47 -0400
committerDavid Robillard <d@drobilla.net>2016-07-30 08:55:47 -0400
commitdecf6aa1f326076853bac7c8b62f5976795a4d5c (patch)
treeb84f08ea1280e0962e9a9ba87c5bc7d1c8a48d2d /src
parent59ec230f9812354b855ef5842c3362caa71e8fe0 (diff)
downloadingen-decf6aa1f326076853bac7c8b62f5976795a4d5c.tar.gz
ingen-decf6aa1f326076853bac7c8b62f5976795a4d5c.tar.bz2
ingen-decf6aa1f326076853bac7c8b62f5976795a4d5c.zip
Use consistent prefix order
Diffstat (limited to 'src')
-rw-r--r--src/SocketWriter.cpp4
-rw-r--r--src/World.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/SocketWriter.cpp b/src/SocketWriter.cpp
index 3ef9f2a2..f58207de 100644
--- a/src/SocketWriter.cpp
+++ b/src/SocketWriter.cpp
@@ -1,6 +1,6 @@
/*
This file is part of Ingen.
- Copyright 2012-2015 David Robillard <http://drobilla.net/>
+ Copyright 2012-2016 David Robillard <http://drobilla.net/>
Ingen is free software: you can redistribute it and/or modify it under the
terms of the GNU Affero General Public License as published by the Free
@@ -66,12 +66,12 @@ SocketWriter::SocketWriter(URIMap& map,
// Set up serialisation environment
_env = serd_env_new(&_base);
serd_env_set_prefix_from_strings(_env, USTR("atom"), USTR("http://lv2plug.in/ns/ext/atom#"));
- serd_env_set_prefix_from_strings(_env, USTR("patch"), USTR("http://lv2plug.in/ns/ext/patch#"));
serd_env_set_prefix_from_strings(_env, USTR("doap"), USTR("http://usefulinc.com/ns/doap#"));
serd_env_set_prefix_from_strings(_env, USTR("ingen"), USTR(INGEN_NS));
serd_env_set_prefix_from_strings(_env, USTR("lv2"), USTR("http://lv2plug.in/ns/lv2core#"));
serd_env_set_prefix_from_strings(_env, USTR("midi"), USTR("http://lv2plug.in/ns/ext/midi#"));
serd_env_set_prefix_from_strings(_env, USTR("owl"), USTR("http://www.w3.org/2002/07/owl#"));
+ serd_env_set_prefix_from_strings(_env, USTR("patch"), USTR("http://lv2plug.in/ns/ext/patch#"));
serd_env_set_prefix_from_strings(_env, USTR("rdf"), USTR("http://www.w3.org/1999/02/22-rdf-syntax-ns#"));
serd_env_set_prefix_from_strings(_env, USTR("rdfs"), USTR("http://www.w3.org/2000/01/rdf-schema#"));
serd_env_set_prefix_from_strings(_env, USTR("xsd"), USTR("http://www.w3.org/2001/XMLSchema#"));
diff --git a/src/World.cpp b/src/World.cpp
index 21a7043e..105363b6 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -1,6 +1,6 @@
/*
This file is part of Ingen.
- Copyright 2007-2015 David Robillard <http://drobilla.net/>
+ Copyright 2007-2016 David Robillard <http://drobilla.net/>
Ingen is free software: you can redistribute it and/or modify it under the
terms of the GNU Affero General Public License as published by the Free
@@ -133,12 +133,12 @@ public:
// Set up RDF namespaces
rdf_world->add_prefix("atom", "http://lv2plug.in/ns/ext/atom#");
- rdf_world->add_prefix("patch", "http://lv2plug.in/ns/ext/patch#");
rdf_world->add_prefix("doap", "http://usefulinc.com/ns/doap#");
rdf_world->add_prefix("ingen", INGEN_NS);
rdf_world->add_prefix("lv2", "http://lv2plug.in/ns/lv2core#");
rdf_world->add_prefix("midi", "http://lv2plug.in/ns/ext/midi#");
rdf_world->add_prefix("owl", "http://www.w3.org/2002/07/owl#");
+ rdf_world->add_prefix("patch", "http://lv2plug.in/ns/ext/patch#");
rdf_world->add_prefix("rdf", "http://www.w3.org/1999/02/22-rdf-syntax-ns#");
rdf_world->add_prefix("rdfs", "http://www.w3.org/2000/01/rdf-schema#");
rdf_world->add_prefix("xsd", "http://www.w3.org/2001/XMLSchema#");