summaryrefslogtreecommitdiffstats
path: root/src/Path.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-05-13 06:42:40 +0000
committerDavid Robillard <d@drobilla.net>2009-05-13 06:42:40 +0000
commitf60b59b49df6bc298755d49e97bc329b6d6030a1 (patch)
treebdd226ac9634fc0d078138bd6b5c20a6630e2b80 /src/Path.cpp
parentc7636aff127f9095422091d39baae1a0fdbf8cee (diff)
downloadraul-f60b59b49df6bc298755d49e97bc329b6d6030a1.tar.gz
raul-f60b59b49df6bc298755d49e97bc329b6d6030a1.tar.bz2
raul-f60b59b49df6bc298755d49e97bc329b6d6030a1.zip
Use new query system to get LADSPA plugin names from the engine.
Fixes ticket #365. git-svn-id: http://svn.drobilla.net/lad/trunk/raul@1998 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/Path.cpp')
-rw-r--r--src/Path.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Path.cpp b/src/Path.cpp
index cec42fd..e7d4d23 100644
--- a/src/Path.cpp
+++ b/src/Path.cpp
@@ -21,9 +21,10 @@ using namespace std;
namespace Raul {
-const std::string Path::prefix = "path:";
-const size_t Path::prefix_len = 5;
-const std::string Path::root_uri = Path::prefix + "/";
+const string Path::scheme = "path";
+const string Path::prefix = Path::scheme + ":";
+const size_t Path::prefix_len = prefix.length();
+const string Path::root_uri = Path::prefix + "/";
bool
Path::is_valid(const std::basic_string<char>& path_str)