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
fa60b9ae
Commit
fa60b9ae
authored
Oct 17, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fs/Path: move path_domain to Domain.hxx
parent
0d33ae52
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
52 additions
and
5 deletions
+52
-5
Makefile.am
Makefile.am
+1
-0
ConfigPath.cxx
src/ConfigPath.cxx
+1
-0
Domain.cxx
src/fs/Domain.cxx
+24
-0
Domain.hxx
src/fs/Domain.hxx
+25
-0
Path.cxx
src/fs/Path.cxx
+1
-3
Path.hxx
src/fs/Path.hxx
+0
-2
No files found.
Makefile.am
View file @
fa60b9ae
...
...
@@ -342,6 +342,7 @@ endif
# File system library
libfs_a_SOURCES
=
\
src/fs/Domain.cxx src/fs/Domain.hxx
\
src/fs/Limits.hxx
\
src/fs/Path.cxx src/fs/Path.hxx
\
src/fs/FileSystem.cxx src/fs/FileSystem.hxx
\
...
...
src/ConfigPath.cxx
View file @
fa60b9ae
...
...
@@ -20,6 +20,7 @@
#include "config.h"
#include "ConfigPath.hxx"
#include "fs/Path.hxx"
#include "fs/Domain.hxx"
#include "util/Error.hxx"
#include "ConfigGlobal.hxx"
...
...
src/fs/Domain.cxx
0 → 100644
View file @
fa60b9ae
/*
* Copyright (C) 2003-2013 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "Domain.hxx"
#include "util/Domain.hxx"
const
Domain
path_domain
(
"path"
);
src/fs/Domain.hxx
0 → 100644
View file @
fa60b9ae
/*
* Copyright (C) 2003-2013 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_FS_DOMAIN_HXX
#define MPD_FS_DOMAIN_HXX
extern
const
class
Domain
path_domain
;
#endif
src/fs/Path.cxx
View file @
fa60b9ae
...
...
@@ -19,11 +19,11 @@
#include "config.h"
#include "Path.hxx"
#include "Domain.hxx"
#include "Limits.hxx"
#include "ConfigGlobal.hxx"
#include "system/FatalError.hxx"
#include "util/Error.hxx"
#include "util/Domain.hxx"
#include "Log.hxx"
#include "Compiler.h"
...
...
@@ -47,8 +47,6 @@
*/
static
constexpr
size_t
MPD_PATH_MAX_UTF8
=
(
MPD_PATH_MAX
-
1
)
*
4
+
1
;
const
Domain
path_domain
(
"path"
);
static
std
::
string
fs_charset
;
inline
Path
::
Path
(
Donate
,
pointer
_value
)
...
...
src/fs/Path.hxx
View file @
fa60b9ae
...
...
@@ -34,8 +34,6 @@
class
Error
;
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