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
fe85fa3b
Commit
fe85fa3b
authored
Jan 21, 2015
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ConfigData: move struct config_param to Param.hxx
parent
76b7882f
Show whitespace changes
Inline
Side-by-side
Showing
40 changed files
with
144 additions
and
114 deletions
+144
-114
Makefile.am
Makefile.am
+2
-1
AudioConfig.cxx
src/AudioConfig.cxx
+1
-1
Listen.cxx
src/Listen.cxx
+1
-1
LogInit.cxx
src/LogInit.cxx
+1
-1
Main.cxx
src/Main.cxx
+1
-1
Permission.cxx
src/Permission.cxx
+1
-1
ReplayGainConfig.cxx
src/ReplayGainConfig.cxx
+1
-1
ConfigData.hxx
src/config/ConfigData.hxx
+1
-78
ConfigFile.cxx
src/config/ConfigFile.cxx
+1
-0
ConfigGlobal.cxx
src/config/ConfigGlobal.cxx
+1
-0
Param.cxx
src/config/Param.cxx
+1
-1
Param.hxx
src/config/Param.hxx
+104
-0
Configured.cxx
src/db/Configured.cxx
+1
-1
DatabaseGlue.cxx
src/db/DatabaseGlue.cxx
+1
-1
ProxyDatabasePlugin.cxx
src/db/plugins/ProxyDatabasePlugin.cxx
+1
-1
SimpleDatabasePlugin.cxx
src/db/plugins/simple/SimpleDatabasePlugin.cxx
+1
-1
UpnpDatabasePlugin.cxx
src/db/plugins/upnp/UpnpDatabasePlugin.cxx
+1
-1
DecoderAPI.hxx
src/decoder/DecoderAPI.hxx
+1
-1
DecoderList.cxx
src/decoder/DecoderList.cxx
+1
-1
EncoderAPI.hxx
src/encoder/EncoderAPI.hxx
+1
-1
FilterConfig.cxx
src/filter/FilterConfig.cxx
+1
-1
FilterPlugin.cxx
src/filter/FilterPlugin.cxx
+1
-1
AutoConvertFilterPlugin.cxx
src/filter/plugins/AutoConvertFilterPlugin.cxx
+1
-1
RouteFilterPlugin.cxx
src/filter/plugins/RouteFilterPlugin.cxx
+1
-1
Init.cxx
src/input/Init.cxx
+1
-1
CdioParanoiaInputPlugin.cxx
src/input/plugins/CdioParanoiaInputPlugin.cxx
+1
-1
CurlInputPlugin.cxx
src/input/plugins/CurlInputPlugin.cxx
+1
-1
OssMixerPlugin.cxx
src/mixer/plugins/OssMixerPlugin.cxx
+1
-1
SoftwareMixerPlugin.cxx
src/mixer/plugins/SoftwareMixerPlugin.cxx
+1
-1
Glue.cxx
src/neighbor/Glue.cxx
+1
-1
MultipleOutputs.cxx
src/output/MultipleOutputs.cxx
+1
-1
OutputAPI.hxx
src/output/OutputAPI.hxx
+1
-1
PlaylistRegistry.cxx
src/playlist/PlaylistRegistry.cxx
+1
-1
SoundCloudPlaylistPlugin.cxx
src/playlist/plugins/SoundCloudPlaylistPlugin.cxx
+1
-1
DumpDatabase.cxx
test/DumpDatabase.cxx
+1
-1
read_mixer.cxx
test/read_mixer.cxx
+1
-1
run_encoder.cxx
test/run_encoder.cxx
+1
-1
run_filter.cxx
test/run_filter.cxx
+1
-1
run_output.cxx
test/run_output.cxx
+1
-1
test_vorbis_encoder.cxx
test/test_vorbis_encoder.cxx
+1
-1
No files found.
Makefile.am
View file @
fe85fa3b
...
@@ -769,8 +769,9 @@ endif
...
@@ -769,8 +769,9 @@ endif
libconf_a_SOURCES
=
\
libconf_a_SOURCES
=
\
src/config/ConfigDefaults.hxx
\
src/config/ConfigDefaults.hxx
\
src/config/ConfigPath.cxx src/config/ConfigPath.hxx
\
src/config/ConfigPath.cxx src/config/ConfigPath.hxx
\
src/config/ConfigData.
cxx src/config/ConfigData.
hxx
\
src/config/ConfigData.hxx
\
src/config/Block.cxx src/config/Block.hxx
\
src/config/Block.cxx src/config/Block.hxx
\
src/config/Param.cxx src/config/Param.hxx
\
src/config/ConfigParser.cxx src/config/ConfigParser.hxx
\
src/config/ConfigParser.cxx src/config/ConfigParser.hxx
\
src/config/ConfigGlobal.cxx src/config/ConfigGlobal.hxx
\
src/config/ConfigGlobal.cxx src/config/ConfigGlobal.hxx
\
src/config/ConfigFile.cxx src/config/ConfigFile.hxx
\
src/config/ConfigFile.cxx src/config/ConfigFile.hxx
\
...
...
src/AudioConfig.cxx
View file @
fe85fa3b
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
#include "AudioConfig.hxx"
#include "AudioConfig.hxx"
#include "AudioFormat.hxx"
#include "AudioFormat.hxx"
#include "AudioParser.hxx"
#include "AudioParser.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigOption.hxx"
#include "config/ConfigOption.hxx"
#include "util/Error.hxx"
#include "util/Error.hxx"
...
...
src/Listen.cxx
View file @
fe85fa3b
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
#include "config.h"
#include "config.h"
#include "Listen.hxx"
#include "Listen.hxx"
#include "client/Client.hxx"
#include "client/Client.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigOption.hxx"
#include "config/ConfigOption.hxx"
#include "event/ServerSocket.hxx"
#include "event/ServerSocket.hxx"
...
...
src/LogInit.cxx
View file @
fe85fa3b
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
#include "LogInit.hxx"
#include "LogInit.hxx"
#include "LogBackend.hxx"
#include "LogBackend.hxx"
#include "Log.hxx"
#include "Log.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigOption.hxx"
#include "config/ConfigOption.hxx"
#include "system/FatalError.hxx"
#include "system/FatalError.hxx"
...
...
src/Main.cxx
View file @
fe85fa3b
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
#include "thread/Slack.hxx"
#include "thread/Slack.hxx"
#include "lib/icu/Init.hxx"
#include "lib/icu/Init.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "config/ConfigDefaults.hxx"
#include "config/ConfigDefaults.hxx"
#include "config/ConfigOption.hxx"
#include "config/ConfigOption.hxx"
#include "config/ConfigError.hxx"
#include "config/ConfigError.hxx"
...
...
src/Permission.cxx
View file @
fe85fa3b
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
#include "config.h"
#include "config.h"
#include "Permission.hxx"
#include "Permission.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigOption.hxx"
#include "config/ConfigOption.hxx"
#include "system/FatalError.hxx"
#include "system/FatalError.hxx"
...
...
src/ReplayGainConfig.cxx
View file @
fe85fa3b
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
#include "config.h"
#include "config.h"
#include "ReplayGainConfig.hxx"
#include "ReplayGainConfig.hxx"
#include "Idle.hxx"
#include "Idle.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigGlobal.hxx"
#include "system/FatalError.hxx"
#include "system/FatalError.hxx"
...
...
src/config/ConfigData.hxx
View file @
fe85fa3b
...
@@ -20,88 +20,11 @@
...
@@ -20,88 +20,11 @@
#ifndef MPD_CONFIG_DATA_HXX
#ifndef MPD_CONFIG_DATA_HXX
#define MPD_CONFIG_DATA_HXX
#define MPD_CONFIG_DATA_HXX
#include "Block.hxx"
#include "ConfigOption.hxx"
#include "ConfigOption.hxx"
#include "Compiler.h"
#include <string>
#include <array>
#include <array>
#include <vector>
class
AllocatedPath
;
struct
config_param
;
class
Error
;
struct
config_param
{
/**
* The next config_param with the same name. The destructor
* deletes the whole chain.
*/
struct
config_param
*
next
;
std
::
string
value
;
unsigned
int
line
;
std
::
vector
<
BlockParam
>
block_params
;
/**
* This flag is false when nobody has queried the value of
* this option yet.
*/
bool
used
;
config_param
(
int
_line
=-
1
)
:
next
(
nullptr
),
line
(
_line
),
used
(
false
)
{}
gcc_nonnull_all
config_param
(
const
char
*
_value
,
int
_line
=-
1
);
config_param
(
const
config_param
&
)
=
delete
;
~
config_param
();
config_param
&
operator
=
(
const
config_param
&
)
=
delete
;
/**
* Determine if this is a "null" instance, i.e. an empty
* object that was synthesized and not loaded from a
* configuration file.
*/
bool
IsNull
()
const
{
return
line
==
unsigned
(
-
1
);
}
gcc_nonnull_all
void
AddBlockParam
(
const
char
*
_name
,
const
char
*
_value
,
int
_line
=-
1
)
{
block_params
.
emplace_back
(
_name
,
_value
,
_line
);
}
gcc_nonnull_all
gcc_pure
const
BlockParam
*
GetBlockParam
(
const
char
*
_name
)
const
;
gcc_pure
const
char
*
GetBlockValue
(
const
char
*
name
,
const
char
*
default_value
=
nullptr
)
const
;
/**
* Same as config_get_path(), but looks up the setting in the
* specified block.
*/
AllocatedPath
GetBlockPath
(
const
char
*
name
,
const
char
*
default_value
,
Error
&
error
)
const
;
AllocatedPath
GetBlockPath
(
const
char
*
name
,
Error
&
error
)
const
;
gcc_pure
int
GetBlockValue
(
const
char
*
name
,
int
default_value
)
const
;
gcc_pure
unsigned
GetBlockValue
(
const
char
*
name
,
unsigned
default_value
)
const
;
gcc_pure
bool
GetBlockValue
(
const
char
*
name
,
bool
default_value
)
const
;
};
struct
ConfigData
{
struct
ConfigData
{
std
::
array
<
config_param
*
,
std
::
size_t
(
CONF_MAX
)
>
params
;
std
::
array
<
config_param
*
,
std
::
size_t
(
CONF_MAX
)
>
params
;
...
...
src/config/ConfigFile.cxx
View file @
fe85fa3b
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
#include "config.h"
#include "config.h"
#include "ConfigFile.hxx"
#include "ConfigFile.hxx"
#include "ConfigData.hxx"
#include "ConfigData.hxx"
#include "Param.hxx"
#include "ConfigTemplates.hxx"
#include "ConfigTemplates.hxx"
#include "util/Tokenizer.hxx"
#include "util/Tokenizer.hxx"
#include "util/StringUtil.hxx"
#include "util/StringUtil.hxx"
...
...
src/config/ConfigGlobal.cxx
View file @
fe85fa3b
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
#include "ConfigGlobal.hxx"
#include "ConfigGlobal.hxx"
#include "ConfigParser.hxx"
#include "ConfigParser.hxx"
#include "ConfigData.hxx"
#include "ConfigData.hxx"
#include "Param.hxx"
#include "ConfigFile.hxx"
#include "ConfigFile.hxx"
#include "ConfigPath.hxx"
#include "ConfigPath.hxx"
#include "ConfigError.hxx"
#include "ConfigError.hxx"
...
...
src/config/
ConfigData
.cxx
→
src/config/
Param
.cxx
View file @
fe85fa3b
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
*/
*/
#include "config.h"
#include "config.h"
#include "
ConfigData
.hxx"
#include "
Param
.hxx"
#include "ConfigPath.hxx"
#include "ConfigPath.hxx"
#include "util/Error.hxx"
#include "util/Error.hxx"
#include "fs/AllocatedPath.hxx"
#include "fs/AllocatedPath.hxx"
...
...
src/config/Param.hxx
0 → 100644
View file @
fe85fa3b
/*
* Copyright (C) 2003-2015 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_CONFIG_PARAM_HXX
#define MPD_CONFIG_PARAM_HXX
#include "Block.hxx"
#include "Compiler.h"
#include <string>
#include <vector>
class
AllocatedPath
;
class
Error
;
struct
config_param
{
/**
* The next config_param with the same name. The destructor
* deletes the whole chain.
*/
struct
config_param
*
next
;
std
::
string
value
;
unsigned
int
line
;
std
::
vector
<
BlockParam
>
block_params
;
/**
* This flag is false when nobody has queried the value of
* this option yet.
*/
bool
used
;
config_param
(
int
_line
=-
1
)
:
next
(
nullptr
),
line
(
_line
),
used
(
false
)
{}
gcc_nonnull_all
config_param
(
const
char
*
_value
,
int
_line
=-
1
);
config_param
(
const
config_param
&
)
=
delete
;
~
config_param
();
config_param
&
operator
=
(
const
config_param
&
)
=
delete
;
/**
* Determine if this is a "null" instance, i.e. an empty
* object that was synthesized and not loaded from a
* configuration file.
*/
bool
IsNull
()
const
{
return
line
==
unsigned
(
-
1
);
}
gcc_nonnull_all
void
AddBlockParam
(
const
char
*
_name
,
const
char
*
_value
,
int
_line
=-
1
)
{
block_params
.
emplace_back
(
_name
,
_value
,
_line
);
}
gcc_nonnull_all
gcc_pure
const
BlockParam
*
GetBlockParam
(
const
char
*
_name
)
const
;
gcc_pure
const
char
*
GetBlockValue
(
const
char
*
name
,
const
char
*
default_value
=
nullptr
)
const
;
/**
* Same as config_get_path(), but looks up the setting in the
* specified block.
*/
AllocatedPath
GetBlockPath
(
const
char
*
name
,
const
char
*
default_value
,
Error
&
error
)
const
;
AllocatedPath
GetBlockPath
(
const
char
*
name
,
Error
&
error
)
const
;
gcc_pure
int
GetBlockValue
(
const
char
*
name
,
int
default_value
)
const
;
gcc_pure
unsigned
GetBlockValue
(
const
char
*
name
,
unsigned
default_value
)
const
;
gcc_pure
bool
GetBlockValue
(
const
char
*
name
,
bool
default_value
)
const
;
};
#endif
src/db/Configured.cxx
View file @
fe85fa3b
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
#include "Configured.hxx"
#include "Configured.hxx"
#include "DatabaseGlue.hxx"
#include "DatabaseGlue.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "config/ConfigError.hxx"
#include "config/ConfigError.hxx"
#include "fs/AllocatedPath.hxx"
#include "fs/AllocatedPath.hxx"
#include "fs/StandardDirectory.hxx"
#include "fs/StandardDirectory.hxx"
...
...
src/db/DatabaseGlue.cxx
View file @
fe85fa3b
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
#include "Registry.hxx"
#include "Registry.hxx"
#include "DatabaseError.hxx"
#include "DatabaseError.hxx"
#include "util/Error.hxx"
#include "util/Error.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "DatabasePlugin.hxx"
#include "DatabasePlugin.hxx"
#include <string.h>
#include <string.h>
...
...
src/db/plugins/ProxyDatabasePlugin.cxx
View file @
fe85fa3b
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
#include "db/Stats.hxx"
#include "db/Stats.hxx"
#include "SongFilter.hxx"
#include "SongFilter.hxx"
#include "Compiler.h"
#include "Compiler.h"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "tag/TagBuilder.hxx"
#include "tag/TagBuilder.hxx"
#include "tag/Tag.hxx"
#include "tag/Tag.hxx"
#include "util/Error.hxx"
#include "util/Error.hxx"
...
...
src/db/plugins/simple/SimpleDatabasePlugin.cxx
View file @
fe85fa3b
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
#include "fs/io/TextFile.hxx"
#include "fs/io/TextFile.hxx"
#include "fs/io/BufferedOutputStream.hxx"
#include "fs/io/BufferedOutputStream.hxx"
#include "fs/io/FileOutputStream.hxx"
#include "fs/io/FileOutputStream.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "fs/FileSystem.hxx"
#include "fs/FileSystem.hxx"
#include "util/CharUtil.hxx"
#include "util/CharUtil.hxx"
#include "util/Error.hxx"
#include "util/Error.hxx"
...
...
src/db/plugins/upnp/UpnpDatabasePlugin.cxx
View file @
fe85fa3b
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
#include "db/LightDirectory.hxx"
#include "db/LightDirectory.hxx"
#include "db/LightSong.hxx"
#include "db/LightSong.hxx"
#include "db/Stats.hxx"
#include "db/Stats.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "tag/TagBuilder.hxx"
#include "tag/TagBuilder.hxx"
#include "tag/TagTable.hxx"
#include "tag/TagTable.hxx"
#include "util/Error.hxx"
#include "util/Error.hxx"
...
...
src/decoder/DecoderAPI.hxx
View file @
fe85fa3b
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
#include "tag/Tag.hxx"
#include "tag/Tag.hxx"
#include "AudioFormat.hxx"
#include "AudioFormat.hxx"
#include "MixRampInfo.hxx"
#include "MixRampInfo.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "Chrono.hxx"
#include "Chrono.hxx"
// IWYU pragma: end_exports
// IWYU pragma: end_exports
...
...
src/decoder/DecoderList.cxx
View file @
fe85fa3b
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
#include "DecoderList.hxx"
#include "DecoderList.hxx"
#include "DecoderPlugin.hxx"
#include "DecoderPlugin.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "plugins/AudiofileDecoderPlugin.hxx"
#include "plugins/AudiofileDecoderPlugin.hxx"
#include "plugins/PcmDecoderPlugin.hxx"
#include "plugins/PcmDecoderPlugin.hxx"
#include "plugins/DsdiffDecoderPlugin.hxx"
#include "plugins/DsdiffDecoderPlugin.hxx"
...
...
src/encoder/EncoderAPI.hxx
View file @
fe85fa3b
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
#include "EncoderPlugin.hxx"
#include "EncoderPlugin.hxx"
#include "AudioFormat.hxx"
#include "AudioFormat.hxx"
#include "tag/Tag.hxx"
#include "tag/Tag.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
// IWYU pragma: end_exports
// IWYU pragma: end_exports
...
...
src/filter/FilterConfig.cxx
View file @
fe85fa3b
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
#include "FilterConfig.hxx"
#include "FilterConfig.hxx"
#include "plugins/ChainFilterPlugin.hxx"
#include "plugins/ChainFilterPlugin.hxx"
#include "FilterPlugin.hxx"
#include "FilterPlugin.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "config/ConfigOption.hxx"
#include "config/ConfigOption.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigError.hxx"
#include "config/ConfigError.hxx"
...
...
src/filter/FilterPlugin.cxx
View file @
fe85fa3b
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
#include "config.h"
#include "config.h"
#include "FilterPlugin.hxx"
#include "FilterPlugin.hxx"
#include "FilterRegistry.hxx"
#include "FilterRegistry.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "config/ConfigError.hxx"
#include "config/ConfigError.hxx"
#include "util/Error.hxx"
#include "util/Error.hxx"
...
...
src/filter/plugins/AutoConvertFilterPlugin.cxx
View file @
fe85fa3b
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
#include "filter/FilterInternal.hxx"
#include "filter/FilterInternal.hxx"
#include "filter/FilterRegistry.hxx"
#include "filter/FilterRegistry.hxx"
#include "AudioFormat.hxx"
#include "AudioFormat.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "util/ConstBuffer.hxx"
#include "util/ConstBuffer.hxx"
#include <assert.h>
#include <assert.h>
...
...
src/filter/plugins/RouteFilterPlugin.cxx
View file @
fe85fa3b
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
#include "config.h"
#include "config.h"
#include "config/ConfigError.hxx"
#include "config/ConfigError.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "AudioFormat.hxx"
#include "AudioFormat.hxx"
#include "filter/FilterPlugin.hxx"
#include "filter/FilterPlugin.hxx"
#include "filter/FilterInternal.hxx"
#include "filter/FilterInternal.hxx"
...
...
src/input/Init.cxx
View file @
fe85fa3b
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
#include "util/Error.hxx"
#include "util/Error.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigOption.hxx"
#include "config/ConfigOption.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "Log.hxx"
#include "Log.hxx"
#include <assert.h>
#include <assert.h>
...
...
src/input/plugins/CdioParanoiaInputPlugin.cxx
View file @
fe85fa3b
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
#include "system/ByteOrder.hxx"
#include "system/ByteOrder.hxx"
#include "fs/AllocatedPath.hxx"
#include "fs/AllocatedPath.hxx"
#include "Log.hxx"
#include "Log.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "config/ConfigError.hxx"
#include "config/ConfigError.hxx"
#include <stdio.h>
#include <stdio.h>
...
...
src/input/plugins/CurlInputPlugin.cxx
View file @
fe85fa3b
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
#include "../IcyInputStream.hxx"
#include "../IcyInputStream.hxx"
#include "../InputPlugin.hxx"
#include "../InputPlugin.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "tag/Tag.hxx"
#include "tag/Tag.hxx"
#include "tag/TagBuilder.hxx"
#include "tag/TagBuilder.hxx"
#include "event/SocketMonitor.hxx"
#include "event/SocketMonitor.hxx"
...
...
src/mixer/plugins/OssMixerPlugin.cxx
View file @
fe85fa3b
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
#include "config.h"
#include "config.h"
#include "mixer/MixerInternal.hxx"
#include "mixer/MixerInternal.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "system/fd_util.h"
#include "system/fd_util.h"
#include "util/ASCII.hxx"
#include "util/ASCII.hxx"
#include "util/Error.hxx"
#include "util/Error.hxx"
...
...
src/mixer/plugins/SoftwareMixerPlugin.cxx
View file @
fe85fa3b
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
#include "filter/FilterInternal.hxx"
#include "filter/FilterInternal.hxx"
#include "filter/plugins/VolumeFilterPlugin.hxx"
#include "filter/plugins/VolumeFilterPlugin.hxx"
#include "pcm/Volume.hxx"
#include "pcm/Volume.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "util/Error.hxx"
#include "util/Error.hxx"
#include <assert.h>
#include <assert.h>
...
...
src/neighbor/Glue.cxx
View file @
fe85fa3b
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
#include "NeighborPlugin.hxx"
#include "NeighborPlugin.hxx"
#include "Info.hxx"
#include "Info.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "config/ConfigError.hxx"
#include "config/ConfigError.hxx"
#include "util/Error.hxx"
#include "util/Error.hxx"
...
...
src/output/MultipleOutputs.cxx
View file @
fe85fa3b
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
#include "MusicChunk.hxx"
#include "MusicChunk.hxx"
#include "system/FatalError.hxx"
#include "system/FatalError.hxx"
#include "util/Error.hxx"
#include "util/Error.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigOption.hxx"
#include "config/ConfigOption.hxx"
#include "notify.hxx"
#include "notify.hxx"
...
...
src/output/OutputAPI.hxx
View file @
fe85fa3b
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
#include "Internal.hxx"
#include "Internal.hxx"
#include "AudioFormat.hxx"
#include "AudioFormat.hxx"
#include "tag/Tag.hxx"
#include "tag/Tag.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
// IWYU pragma: end_exports
// IWYU pragma: end_exports
...
...
src/playlist/PlaylistRegistry.cxx
View file @
fe85fa3b
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
#include "util/Error.hxx"
#include "util/Error.hxx"
#include "util/Macros.hxx"
#include "util/Macros.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "Log.hxx"
#include "Log.hxx"
#include <assert.h>
#include <assert.h>
...
...
src/playlist/plugins/SoundCloudPlaylistPlugin.cxx
View file @
fe85fa3b
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
#include "SoundCloudPlaylistPlugin.hxx"
#include "SoundCloudPlaylistPlugin.hxx"
#include "../PlaylistPlugin.hxx"
#include "../PlaylistPlugin.hxx"
#include "../MemorySongEnumerator.hxx"
#include "../MemorySongEnumerator.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "input/InputStream.hxx"
#include "input/InputStream.hxx"
#include "tag/TagBuilder.hxx"
#include "tag/TagBuilder.hxx"
#include "util/StringUtil.hxx"
#include "util/StringUtil.hxx"
...
...
test/DumpDatabase.cxx
View file @
fe85fa3b
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
#include "db/LightSong.hxx"
#include "db/LightSong.hxx"
#include "db/PlaylistVector.hxx"
#include "db/PlaylistVector.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "tag/TagConfig.hxx"
#include "tag/TagConfig.hxx"
#include "fs/Path.hxx"
#include "fs/Path.hxx"
#include "event/Loop.hxx"
#include "event/Loop.hxx"
...
...
test/read_mixer.cxx
View file @
fe85fa3b
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
#include "pcm/Volume.hxx"
#include "pcm/Volume.hxx"
#include "Main.hxx"
#include "Main.hxx"
#include "event/Loop.hxx"
#include "event/Loop.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "util/Error.hxx"
#include "util/Error.hxx"
#include "Log.hxx"
#include "Log.hxx"
...
...
test/run_encoder.cxx
View file @
fe85fa3b
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
#include "encoder/ToOutputStream.hxx"
#include "encoder/ToOutputStream.hxx"
#include "AudioFormat.hxx"
#include "AudioFormat.hxx"
#include "AudioParser.hxx"
#include "AudioParser.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "fs/io/StdioOutputStream.hxx"
#include "fs/io/StdioOutputStream.hxx"
#include "util/Error.hxx"
#include "util/Error.hxx"
#include "Log.hxx"
#include "Log.hxx"
...
...
test/run_filter.cxx
View file @
fe85fa3b
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
*/
*/
#include "config.h"
#include "config.h"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigGlobal.hxx"
#include "fs/Path.hxx"
#include "fs/Path.hxx"
#include "AudioParser.hxx"
#include "AudioParser.hxx"
...
...
test/run_output.cxx
View file @
fe85fa3b
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
#include "config.h"
#include "config.h"
#include "output/Internal.hxx"
#include "output/Internal.hxx"
#include "output/OutputPlugin.hxx"
#include "output/OutputPlugin.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigOption.hxx"
#include "config/ConfigOption.hxx"
#include "Idle.hxx"
#include "Idle.hxx"
...
...
test/test_vorbis_encoder.cxx
View file @
fe85fa3b
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
#include "encoder/EncoderInterface.hxx"
#include "encoder/EncoderInterface.hxx"
#include "encoder/ToOutputStream.hxx"
#include "encoder/ToOutputStream.hxx"
#include "AudioFormat.hxx"
#include "AudioFormat.hxx"
#include "config/
ConfigData
.hxx"
#include "config/
Param
.hxx"
#include "fs/io/StdioOutputStream.hxx"
#include "fs/io/StdioOutputStream.hxx"
#include "tag/Tag.hxx"
#include "tag/Tag.hxx"
#include "tag/TagBuilder.hxx"
#include "tag/TagBuilder.hxx"
...
...
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