summaryrefslogtreecommitdiffstats
path: root/src/libs/client/DeprecatedLoader.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-08-18 19:50:53 +0000
committerDavid Robillard <d@drobilla.net>2008-08-18 19:50:53 +0000
commit625c01a594f9cc73d7b83a85d314ddb859d8d029 (patch)
treea3da6b3646c9f44b19fd6ae99bd5b7fc6f8d2baa /src/libs/client/DeprecatedLoader.cpp
parent68477f501356cc1a59dcb875012ec59199c39d70 (diff)
downloadingen-625c01a594f9cc73d7b83a85d314ddb859d8d029.tar.gz
ingen-625c01a594f9cc73d7b83a85d314ddb859d8d029.tar.bz2
ingen-625c01a594f9cc73d7b83a85d314ddb859d8d029.zip
Fix copy/paste of internal nodes.
git-svn-id: http://svn.drobilla.net/lad/ingen@1433 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/client/DeprecatedLoader.cpp')
-rw-r--r--src/libs/client/DeprecatedLoader.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/libs/client/DeprecatedLoader.cpp b/src/libs/client/DeprecatedLoader.cpp
index 6ec1db81..a07893f7 100644
--- a/src/libs/client/DeprecatedLoader.cpp
+++ b/src/libs/client/DeprecatedLoader.cpp
@@ -38,6 +38,8 @@
#include "PluginModel.hpp"
#include "DeprecatedLoader.hpp"
+#define NS_INGEN "http://drobilla.net/ns/ingen#"
+
using namespace std;
namespace Ingen {
@@ -506,13 +508,13 @@ DeprecatedLoader::load_node(const Path& parent, xmlDocPtr doc, const xmlNodePtr
} else {
if (plugin_label == "note_in") {
- plugin_uri = "ingen:note_node";
+ plugin_uri = NS_INGEN "note_node";
} else if (plugin_label == "control_input") {
- plugin_uri = "ingen:control_node";
+ plugin_uri = NS_INGEN "control_node";
} else if (plugin_label == "transport") {
- plugin_uri = "ingen:transport_node";
+ plugin_uri = NS_INGEN "transport_node";
} else if (plugin_label == "trigger_in") {
- plugin_uri = "ingen:trigger_node";
+ plugin_uri = NS_INGEN "trigger_node";
} else {
cerr << "WARNING: Unknown deprecated node (label " << plugin_label
<< ")." << endl;