summaryrefslogtreecommitdiff
path: root/src/fs/Path.hxx
diff options
context:
space:
mode:
authorDenis Krjuchkov <denis@crazydev.net>2013-01-28 00:07:31 +0600
committerDenis Krjuchkov <denis@crazydev.net>2013-01-28 00:13:46 +0600
commit943064bb5148884339ccaf60e276191bc4d9abd9 (patch)
treefeef3d0752e1b35c37a3f80411580db2a5534705 /src/fs/Path.hxx
parent7149a8ae4f7df43440f71348789585e53aa039d8 (diff)
Path: convert remaining funcs to methods, keep fs_charset as std::string
Diffstat (limited to 'src/fs/Path.hxx')
-rw-r--r--src/fs/Path.hxx16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/fs/Path.hxx b/src/fs/Path.hxx
index 3d5bd868b..b9754b5c5 100644
--- a/src/fs/Path.hxx
+++ b/src/fs/Path.hxx
@@ -44,12 +44,6 @@
# endif
#endif
-void path_global_init();
-
-void path_global_finish();
-
-const char *path_get_fs_charset();
-
/**
* A path name in the native file system character set.
*/
@@ -166,6 +160,16 @@ public:
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 &other) {