summaryrefslogtreecommitdiffstats
path: root/src/gui/UploadPatchWindow.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-03-05 04:46:06 +0000
committerDavid Robillard <d@drobilla.net>2010-03-05 04:46:06 +0000
commit6a92ee5fbc7d47998fc399efe424e451cf75657c (patch)
tree108e144fbb142f6592f20e3c08ff7f22eeef7016 /src/gui/UploadPatchWindow.cpp
parent78eb8c2b49a7858ace15adcfbb59505cb6a2cb71 (diff)
downloadingen-6a92ee5fbc7d47998fc399efe424e451cf75657c.tar.gz
ingen-6a92ee5fbc7d47998fc399efe424e451cf75657c.tar.bz2
ingen-6a92ee5fbc7d47998fc399efe424e451cf75657c.zip
Shrink extensions (to .ing.lv2 and .ing.ttl) and move definitions to central place so they aren't littered everywhere.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2525 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/UploadPatchWindow.cpp')
-rw-r--r--src/gui/UploadPatchWindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/UploadPatchWindow.cpp b/src/gui/UploadPatchWindow.cpp
index 1804ff06..3d7afe11 100644
--- a/src/gui/UploadPatchWindow.cpp
+++ b/src/gui/UploadPatchWindow.cpp
@@ -27,6 +27,7 @@
#include "client/ClientStore.hpp"
#include "interface/EngineInterface.hpp"
#include "serialisation/Serialiser.hpp"
+#include "serialisation/names.hpp"
#include "client/PatchModel.hpp"
#include "UploadPatchWindow.hpp"
#include "App.hpp"
@@ -254,7 +255,7 @@ UploadPatchWindow::upload_clicked()
Serialiser s(*App::instance().world(), App::instance().store());
const string uri = string("http://rdf.drobilla.net/ingen_patches/")
- .append(symbol).append(".ingen.ttl");
+ .append(symbol).append(INGEN_PATCH_FILE_EXT);
const string str = s.to_string(_patch, uri, extra_rdf);