Path: convert remaining funcs to methods, keep fs_charset as std::string
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
@@ -165,6 +159,16 @@ public:
|
||||
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.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user