From bf4ee48efad262c650b6b1a5b61ebe837d59f910 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 12 Sep 2013 10:03:37 +0200 Subject: ConfigPath: move path_domain to system/Path.cxx --- src/fs/Path.cxx | 3 +++ src/fs/Path.hxx | 2 ++ 2 files changed, 5 insertions(+) (limited to 'src/fs') 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 @@ -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. */ -- cgit v1.2.3