aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-09-12 10:03:37 +0200
committerMax Kellermann <max@duempel.org>2013-09-12 10:03:37 +0200
commitbf4ee48efad262c650b6b1a5b61ebe837d59f910 (patch)
treecd8edec4f95b14c1083c04143d5e39052a7197dc /src/fs
parent08e6d222a2dea2509baea0a19b754743374756d3 (diff)
downloadmpd-bf4ee48efad262c650b6b1a5b61ebe837d59f910.tar.gz
mpd-bf4ee48efad262c650b6b1a5b61ebe837d59f910.tar.xz
mpd-bf4ee48efad262c650b6b1a5b61ebe837d59f910.zip
ConfigPath: move path_domain to system/Path.cxx
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/Path.cxx3
-rw-r--r--src/fs/Path.hxx2
2 files changed, 5 insertions, 0 deletions
diff --git a/src/fs/Path.cxx b/src/fs/Path.cxx
index 7de19a582..c063025c8 100644
--- a/src/fs/Path.cxx
+++ b/src/fs/Path.cxx
@@ -21,6 +21,7 @@
#include "fs/Path.hxx"
#include "ConfigGlobal.hxx"
#include "system/FatalError.hxx"
+#include "util/Domain.hxx"
#include "gcc.h"
#include <glib.h>
@@ -46,6 +47,8 @@
*/
#define MPD_PATH_MAX_UTF8 ((MPD_PATH_MAX - 1) * 4 + 1)
+const Domain path_domain("path");
+
std::string fs_charset;
std::string Path::ToUTF8(const_pointer path_fs)
diff --git a/src/fs/Path.hxx b/src/fs/Path.hxx
index eaab2bde5..dd4cf38a7 100644
--- a/src/fs/Path.hxx
+++ b/src/fs/Path.hxx
@@ -44,6 +44,8 @@
# endif
#endif
+extern const class Domain path_domain;
+
/**
* A path name in the native file system character set.
*/