diff options
author | Max Kellermann <max@duempel.org> | 2013-10-17 22:13:54 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-17 22:29:03 +0200 |
commit | 080ee87e07f0037e559abbea6f7db73602af5137 (patch) | |
tree | 66464d51200132175724333164a43d65efb2dfe1 /src/fs/Path.hxx | |
parent | fa60b9ae94a61c71da2b7dd7305eb191612bc6e6 (diff) | |
download | mpd-080ee87e07f0037e559abbea6f7db73602af5137.tar.gz mpd-080ee87e07f0037e559abbea6f7db73602af5137.tar.xz mpd-080ee87e07f0037e559abbea6f7db73602af5137.zip |
fs/Path: move configuration code to Config.cxx
Diffstat (limited to 'src/fs/Path.hxx')
-rw-r--r-- | src/fs/Path.hxx | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/src/fs/Path.hxx b/src/fs/Path.hxx index 10709219b..38112feee 100644 --- a/src/fs/Path.hxx +++ b/src/fs/Path.hxx @@ -130,23 +130,6 @@ public: static Path FromUTF8(const char *path_utf8, Error &error); /** - * Convert the path to UTF-8. - * Returns empty string on error or if #path_fs is null pointer. - */ - gcc_pure - static std::string ToUTF8(const_pointer path_fs); - - /** - * Performs global one-time initialization of this class. - */ - static void GlobalInit(); - - /** - * Gets file system character set name. - */ - static const std::string &GetFSCharset(); - - /** * Copy a #Path object. */ Path &operator=(const Path &) = default; @@ -209,9 +192,8 @@ public: * Returns empty string on error or if this instance is "nulled" * (#IsNull returns true). */ - std::string ToUTF8() const { - return ToUTF8(value.c_str()); - } + gcc_pure + std::string ToUTF8() const; /** * Gets directory name of this path. |