Commit 816603fd authored by Max Kellermann's avatar Max Kellermann

config/Config*: rename files, drop "Config" prefix

parent bf5f12a5
......@@ -1000,17 +1000,17 @@ libbasic_a_SOURCES = \
# configuration library
libconf_a_SOURCES = \
src/config/ConfigDefaults.hxx \
src/config/ConfigPath.cxx src/config/ConfigPath.hxx \
src/config/Defaults.hxx \
src/config/Path.cxx src/config/Path.hxx \
src/config/Data.cxx src/config/Data.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/ConfigGlobal.cxx src/config/ConfigGlobal.hxx \
src/config/ConfigFile.cxx src/config/ConfigFile.hxx \
src/config/ConfigTemplates.cxx src/config/ConfigTemplates.hxx \
src/config/ConfigError.cxx src/config/ConfigError.hxx \
src/config/ConfigOption.hxx
src/config/Parser.cxx src/config/Parser.hxx \
src/config/Global.cxx src/config/Global.hxx \
src/config/File.cxx src/config/File.hxx \
src/config/Templates.cxx src/config/Templates.hxx \
src/config/Domain.cxx src/config/Domain.hxx \
src/config/Option.hxx
# tag plugins
......
......@@ -22,7 +22,7 @@
#include "ls.hxx"
#include "LogInit.hxx"
#include "Log.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/Global.hxx"
#include "decoder/DecoderList.hxx"
#include "decoder/DecoderPlugin.hxx"
#include "output/Registry.hxx"
......
......@@ -21,8 +21,8 @@
#include "Listen.hxx"
#include "client/Listener.hxx"
#include "config/Param.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigOption.hxx"
#include "config/Global.hxx"
#include "config/Option.hxx"
#include "system/Error.hxx"
#include "util/RuntimeError.hxx"
#include "fs/AllocatedPath.hxx"
......
......@@ -22,8 +22,8 @@
#include "LogBackend.hxx"
#include "Log.hxx"
#include "config/Param.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigOption.hxx"
#include "config/Global.hxx"
#include "config/Option.hxx"
#include "fs/AllocatedPath.hxx"
#include "fs/FileSystem.hxx"
#include "util/Domain.hxx"
......
......@@ -52,11 +52,11 @@
#include "thread/Slack.hxx"
#include "net/Init.hxx"
#include "lib/icu/Init.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/Global.hxx"
#include "config/Param.hxx"
#include "config/ConfigDefaults.hxx"
#include "config/ConfigOption.hxx"
#include "config/ConfigError.hxx"
#include "config/Defaults.hxx"
#include "config/Option.hxx"
#include "config/Domain.hxx"
#include "util/RuntimeError.hxx"
#ifdef ENABLE_DAEMON
......
......@@ -20,8 +20,8 @@
#include "config.h"
#include "Permission.hxx"
#include "config/Param.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigOption.hxx"
#include "config/Global.hxx"
#include "config/Option.hxx"
#include "util/RuntimeError.hxx"
#include <algorithm>
......
......@@ -29,9 +29,9 @@
#include "fs/io/TextFile.hxx"
#include "fs/io/FileOutputStream.hxx"
#include "fs/io/BufferedOutputStream.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigOption.hxx"
#include "config/ConfigDefaults.hxx"
#include "config/Global.hxx"
#include "config/Option.hxx"
#include "config/Defaults.hxx"
#include "Idle.hxx"
#include "fs/Limits.hxx"
#include "fs/AllocatedPath.hxx"
......
......@@ -21,7 +21,7 @@
#include "ReplayGainGlobal.hxx"
#include "ReplayGainConfig.hxx"
#include "config/Param.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/Global.hxx"
#include "util/RuntimeError.hxx"
#include <assert.h>
......
......@@ -19,7 +19,7 @@
#include "config.h"
#include "ClientInternal.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/Global.hxx"
#define CLIENT_TIMEOUT_DEFAULT (60)
#define CLIENT_MAX_COMMAND_LIST_DEFAULT (2048*1024)
......
......@@ -19,8 +19,8 @@
#include "config.h"
#include "Block.hxx"
#include "ConfigParser.hxx"
#include "ConfigPath.hxx"
#include "Parser.hxx"
#include "Path.hxx"
#include "system/FatalError.hxx"
#include "fs/AllocatedPath.hxx"
#include "util/RuntimeError.hxx"
......
......@@ -20,7 +20,7 @@
#ifndef MPD_CONFIG_DATA_HXX
#define MPD_CONFIG_DATA_HXX
#include "ConfigOption.hxx"
#include "Option.hxx"
#include <array>
......
......@@ -17,7 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "ConfigError.hxx"
#include "Domain.hxx"
#include "util/Domain.hxx"
const Domain config_domain("config");
......@@ -17,8 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_CONFIG_ERROR_HXX
#define MPD_CONFIG_ERROR_HXX
#ifndef MPD_CONFIG_DOMAIN_HXX
#define MPD_CONFIG_DOMAIN_HXX
extern const class Domain config_domain;
......
......@@ -18,11 +18,11 @@
*/
#include "config.h"
#include "ConfigFile.hxx"
#include "File.hxx"
#include "Data.hxx"
#include "Param.hxx"
#include "Block.hxx"
#include "ConfigTemplates.hxx"
#include "Templates.hxx"
#include "util/Tokenizer.hxx"
#include "util/StringStrip.hxx"
#include "util/Domain.hxx"
......
......@@ -18,14 +18,14 @@
*/
#include "config.h"
#include "ConfigGlobal.hxx"
#include "ConfigParser.hxx"
#include "Global.hxx"
#include "Parser.hxx"
#include "Data.hxx"
#include "Param.hxx"
#include "Block.hxx"
#include "ConfigFile.hxx"
#include "ConfigPath.hxx"
#include "ConfigError.hxx"
#include "File.hxx"
#include "Path.hxx"
#include "Domain.hxx"
#include "fs/Path.hxx"
#include "fs/AllocatedPath.hxx"
#include "system/FatalError.hxx"
......
......@@ -20,7 +20,7 @@
#ifndef MPD_CONFIG_GLOBAL_HXX
#define MPD_CONFIG_GLOBAL_HXX
#include "ConfigOption.hxx"
#include "Option.hxx"
#include "Compiler.h"
#include <chrono>
......
......@@ -19,7 +19,7 @@
#include "config.h"
#include "Param.hxx"
#include "ConfigPath.hxx"
#include "Path.hxx"
#include "fs/AllocatedPath.hxx"
#include "util/RuntimeError.hxx"
......
......@@ -17,7 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "ConfigParser.hxx"
#include "Parser.hxx"
#include "util/StringUtil.hxx"
bool
......
......@@ -18,13 +18,13 @@
*/
#include "config.h"
#include "ConfigPath.hxx"
#include "Path.hxx"
#include "Global.hxx"
#include "fs/AllocatedPath.hxx"
#include "fs/Traits.hxx"
#include "fs/Domain.hxx"
#include "fs/StandardDirectory.hxx"
#include "util/RuntimeError.hxx"
#include "ConfigGlobal.hxx"
#include <assert.h>
#include <string.h>
......
......@@ -17,8 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "ConfigTemplates.hxx"
#include "ConfigOption.hxx"
#include "Templates.hxx"
#include "Option.hxx"
#include "util/Macros.hxx"
#include <string.h>
......
......@@ -20,7 +20,7 @@
#include "config.h"
#include "Configured.hxx"
#include "DatabaseGlue.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/Global.hxx"
#include "config/Param.hxx"
#include "config/Block.hxx"
#include "fs/AllocatedPath.hxx"
......
......@@ -30,8 +30,8 @@
#include "storage/StorageInterface.hxx"
#include "playlist/PlaylistRegistry.hxx"
#include "ExcludeList.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigOption.hxx"
#include "config/Global.hxx"
#include "config/Option.hxx"
#include "fs/AllocatedPath.hxx"
#include "fs/Traits.hxx"
#include "fs/FileSystem.hxx"
......
......@@ -20,7 +20,7 @@
#include "config.h"
#include "DecoderList.hxx"
#include "DecoderPlugin.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/Global.hxx"
#include "config/Block.hxx"
#include "plugins/AudiofileDecoderPlugin.hxx"
#include "plugins/PcmDecoderPlugin.hxx"
......
......@@ -21,7 +21,7 @@
#include "MadDecoderPlugin.hxx"
#include "../DecoderAPI.hxx"
#include "input/InputStream.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/Global.hxx"
#include "tag/Id3Scan.hxx"
#include "tag/Rva2.hxx"
#include "tag/Handler.hxx"
......
......@@ -22,7 +22,7 @@
#include "../EncoderAPI.hxx"
#include "AudioFormat.hxx"
#include "pcm/PcmBuffer.hxx"
#include "config/ConfigError.hxx"
#include "config/Domain.hxx"
#include "util/DynamicFifoBuffer.hxx"
#include "util/RuntimeError.hxx"
......
......@@ -21,7 +21,7 @@
#include "LameEncoderPlugin.hxx"
#include "../EncoderAPI.hxx"
#include "AudioFormat.hxx"
#include "config/ConfigError.hxx"
#include "config/Domain.hxx"
#include "util/NumberParser.hxx"
#include "util/ReusableArray.hxx"
#include "util/RuntimeError.hxx"
......
......@@ -21,7 +21,7 @@
#include "OpusEncoderPlugin.hxx"
#include "OggEncoder.hxx"
#include "AudioFormat.hxx"
#include "config/ConfigError.hxx"
#include "config/Domain.hxx"
#include "util/Alloc.hxx"
#include "system/ByteOrder.hxx"
#include "util/StringUtil.hxx"
......
......@@ -21,7 +21,7 @@
#include "config.h"
#include "../EncoderAPI.hxx"
#include "AudioFormat.hxx"
#include "config/ConfigError.hxx"
#include "config/Domain.hxx"
#include "util/DynamicFifoBuffer.hxx"
#include "util/RuntimeError.hxx"
......
......@@ -21,7 +21,7 @@
#include "TwolameEncoderPlugin.hxx"
#include "../EncoderAPI.hxx"
#include "AudioFormat.hxx"
#include "config/ConfigError.hxx"
#include "config/Domain.hxx"
#include "util/NumberParser.hxx"
#include "util/RuntimeError.hxx"
#include "util/Domain.hxx"
......
......@@ -22,7 +22,7 @@
#include "OggEncoder.hxx"
#include "lib/xiph/VorbisComment.hxx"
#include "AudioFormat.hxx"
#include "config/ConfigError.hxx"
#include "config/Domain.hxx"
#include "util/StringUtil.hxx"
#include "util/NumberParser.hxx"
#include "util/RuntimeError.hxx"
......
......@@ -23,9 +23,9 @@
#include "Prepared.hxx"
#include "plugins/ChainFilterPlugin.hxx"
#include "config/Param.hxx"
#include "config/ConfigOption.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigError.hxx"
#include "config/Option.hxx"
#include "config/Global.hxx"
#include "config/Domain.hxx"
#include "config/Block.hxx"
#include "util/RuntimeError.hxx"
......
......@@ -40,7 +40,7 @@
*/
#include "config.h"
#include "config/ConfigError.hxx"
#include "config/Domain.hxx"
#include "config/Block.hxx"
#include "AudioFormat.hxx"
#include "filter/FilterPlugin.hxx"
......
......@@ -20,7 +20,7 @@
#include "config.h"
#include "CheckFile.hxx"
#include "Log.hxx"
#include "config/ConfigError.hxx"
#include "config/Domain.hxx"
#include "FileInfo.hxx"
#include "Path.hxx"
#include "AllocatedPath.hxx"
......
......@@ -20,7 +20,7 @@
#include "config.h"
#include "Config.hxx"
#include "Charset.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/Global.hxx"
void
ConfigureFS()
......
......@@ -21,8 +21,8 @@
#include "Init.hxx"
#include "Registry.hxx"
#include "InputPlugin.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigOption.hxx"
#include "config/Global.hxx"
#include "config/Option.hxx"
#include "config/Block.hxx"
#include "Log.hxx"
#include "PluginUnavailable.hxx"
......
......@@ -33,7 +33,7 @@
#include "fs/AllocatedPath.hxx"
#include "Log.hxx"
#include "config/Block.hxx"
#include "config/ConfigError.hxx"
#include "config/Domain.hxx"
#include <stdio.h>
#include <stdint.h>
......
......@@ -31,7 +31,7 @@
#include "../IcyInputStream.hxx"
#include "IcyMetaDataParser.hxx"
#include "../InputPlugin.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/Global.hxx"
#include "config/Block.hxx"
#include "tag/Builder.hxx"
#include "tag/Tag.hxx"
......
......@@ -23,8 +23,8 @@
#include "Explorer.hxx"
#include "NeighborPlugin.hxx"
#include "Info.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigError.hxx"
#include "config/Global.hxx"
#include "config/Domain.hxx"
#include "config/Block.hxx"
#include "util/RuntimeError.hxx"
......
......@@ -35,8 +35,8 @@
#include "filter/plugins/ChainFilterPlugin.hxx"
#include "filter/plugins/VolumeFilterPlugin.hxx"
#include "filter/plugins/NormalizeFilterPlugin.hxx"
#include "config/ConfigError.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/Domain.hxx"
#include "config/Global.hxx"
#include "config/Block.hxx"
#include "util/RuntimeError.hxx"
#include "util/StringFormat.hxx"
......
......@@ -24,8 +24,8 @@
#include "MusicPipe.hxx"
#include "MusicChunk.hxx"
#include "config/Block.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigOption.hxx"
#include "config/Global.hxx"
#include "config/Option.hxx"
#include "util/RuntimeError.hxx"
#include <stdexcept>
......
......@@ -20,7 +20,7 @@
#include "config.h"
#include "JackOutputPlugin.hxx"
#include "../OutputAPI.hxx"
#include "config/ConfigError.hxx"
#include "config/Domain.hxx"
#include "util/ScopeExit.hxx"
#include "util/ConstBuffer.hxx"
#include "util/IterableSplitString.hxx"
......
......@@ -24,8 +24,8 @@
#include "encoder/ToOutputStream.hxx"
#include "encoder/EncoderInterface.hxx"
#include "encoder/Configured.hxx"
#include "config/ConfigError.hxx"
#include "config/ConfigPath.hxx"
#include "config/Domain.hxx"
#include "config/Path.hxx"
#include "Log.hxx"
#include "fs/AllocatedPath.hxx"
#include "fs/io/FileOutputStream.hxx"
......
......@@ -20,9 +20,9 @@
#include "config.h"
#include "ConfiguredResampler.hxx"
#include "FallbackResampler.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigOption.hxx"
#include "config/ConfigError.hxx"
#include "config/Global.hxx"
#include "config/Option.hxx"
#include "config/Domain.hxx"
#include "config/Block.hxx"
#include "config/Param.hxx"
#include "util/RuntimeError.hxx"
......
......@@ -36,7 +36,7 @@
#include "util/UriUtil.hxx"
#include "util/StringUtil.hxx"
#include "util/Macros.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/Global.hxx"
#include "config/Block.hxx"
#include <assert.h>
......
......@@ -31,8 +31,8 @@
#include "fs/io/TextFile.hxx"
#include "fs/io/BufferedOutputStream.hxx"
#include "player/Control.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigOption.hxx"
#include "config/Global.hxx"
#include "config/Option.hxx"
#include "util/CharUtil.hxx"
#include "util/StringAPI.hxx"
#include "util/StringCompare.hxx"
......
......@@ -22,8 +22,8 @@
#include "Registry.hxx"
#include "StorageInterface.hxx"
#include "plugins/LocalStorage.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigError.hxx"
#include "config/Global.hxx"
#include "config/Domain.hxx"
#include "fs/StandardDirectory.hxx"
#include "fs/CheckFile.hxx"
#include "util/UriUtil.hxx"
......
......@@ -21,8 +21,8 @@
#include "Config.hxx"
#include "Settings.hxx"
#include "ParseName.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigOption.hxx"
#include "config/Global.hxx"
#include "config/Option.hxx"
#include "util/Alloc.hxx"
#include "util/ASCII.hxx"
#include "util/StringStrip.hxx"
......
......@@ -21,8 +21,8 @@
#include "ZeroconfGlue.hxx"
#include "ZeroconfAvahi.hxx"
#include "ZeroconfBonjour.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigOption.hxx"
#include "config/Global.hxx"
#include "config/Option.hxx"
#include "Listen.hxx"
#include "util/Domain.hxx"
#include "Log.hxx"
......
......@@ -26,7 +26,7 @@
#include "db/LightDirectory.hxx"
#include "db/LightSong.hxx"
#include "db/PlaylistVector.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/Global.hxx"
#include "config/Param.hxx"
#include "config/Block.hxx"
#include "tag/Config.hxx"
......
......@@ -22,7 +22,7 @@
#include "DetachedSong.hxx"
#include "playlist/SongEnumerator.hxx"
#include "input/InputStream.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/Global.hxx"
#include "decoder/DecoderList.hxx"
#include "input/Init.hxx"
#include "event/Thread.hxx"
......
......@@ -21,7 +21,7 @@
#include "tag/Id3Load.hxx"
#include "tag/Rva2.hxx"
#include "ReplayGainInfo.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/Global.hxx"
#include "thread/Mutex.hxx"
#include "fs/Path.hxx"
#include "input/InputStream.hxx"
......
......@@ -22,7 +22,7 @@
#include "input/Init.hxx"
#include "input/InputStream.hxx"
#include "input/TextInputStream.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/Global.hxx"
#include "Log.hxx"
#ifdef ENABLE_ARCHIVE
......
......@@ -18,7 +18,7 @@
*/
#include "config.h"
#include "config/ConfigGlobal.hxx"
#include "config/Global.hxx"
#include "fs/Path.hxx"
#include "Log.hxx"
......
......@@ -18,7 +18,7 @@
*/
#include "config.h"
#include "config/ConfigGlobal.hxx"
#include "config/Global.hxx"
#include "event/Thread.hxx"
#include "decoder/DecoderList.hxx"
#include "decoder/DecoderPlugin.hxx"
......
......@@ -19,7 +19,7 @@
#include "config.h"
#include "config/Param.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/Global.hxx"
#include "fs/Path.hxx"
#include "AudioParser.hxx"
#include "AudioFormat.hxx"
......
......@@ -20,7 +20,7 @@
#include "config.h"
#include "TagSave.hxx"
#include "tag/Tag.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/Global.hxx"
#include "input/InputStream.hxx"
#include "input/Init.hxx"
#include "input/Registry.hxx"
......
......@@ -18,7 +18,7 @@
*/
#include "config.h"
#include "config/ConfigGlobal.hxx"
#include "config/Global.hxx"
#include "neighbor/Listener.hxx"
#include "neighbor/Info.hxx"
#include "neighbor/Glue.hxx"
......
......@@ -22,8 +22,8 @@
#include "output/Registry.hxx"
#include "output/OutputPlugin.hxx"
#include "config/Param.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigOption.hxx"
#include "config/Global.hxx"
#include "config/Option.hxx"
#include "config/Block.hxx"
#include "event/Thread.hxx"
#include "fs/Path.hxx"
......
......@@ -19,7 +19,7 @@
#include "config.h"
#include "tag/Tag.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/Global.hxx"
#include "event/Thread.hxx"
#include "input/Init.hxx"
#include "archive/ArchiveList.hxx"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment