Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
bf4ee48e
Commit
bf4ee48e
authored
Sep 12, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ConfigPath: move path_domain to system/Path.cxx
parent
08e6d222
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
ConfigPath.cxx
src/ConfigPath.cxx
+0
-3
Path.cxx
src/fs/Path.cxx
+3
-0
Path.hxx
src/fs/Path.hxx
+2
-0
No files found.
src/ConfigPath.cxx
View file @
bf4ee48e
...
...
@@ -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
)
{
...
...
src/fs/Path.cxx
View file @
bf4ee48e
...
...
@@ -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
)
...
...
src/fs/Path.hxx
View file @
bf4ee48e
...
...
@@ -44,6 +44,8 @@
# endif
#endif
extern
const
class
Domain
path_domain
;
/**
* A path name in the native file system character set.
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment