Commit bf4ee48e authored by Max Kellermann's avatar Max Kellermann

ConfigPath: move path_domain to system/Path.cxx

parent 08e6d222
......@@ -21,7 +21,6 @@
#include "ConfigPath.hxx"
#include "fs/Path.hxx"
#include "util/Error.hxx"
#include "util/Domain.hxx"
#include "ConfigGlobal.hxx"
#include "ConfigOption.hxx"
......@@ -49,8 +48,6 @@
#include <windows.h>
#endif
static constexpr Domain path_domain("path");
Path
ParsePath(const char *path, Error &error)
{
......
......@@ -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)
......
......@@ -44,6 +44,8 @@
# endif
#endif
extern const class Domain path_domain;
/**
* A path name in the native file system character set.
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment