From f60b59b49df6bc298755d49e97bc329b6d6030a1 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 13 May 2009 06:42:40 +0000 Subject: 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 --- src/Path.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/Path.cpp') 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& path_str) -- cgit v1.2.1