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
d663f814
Commit
d663f814
authored
Jul 05, 2019
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include cleanups (powered by iwyu)
parent
9cdebc90
Hide whitespace changes
Inline
Side-by-side
Showing
229 changed files
with
67 additions
and
397 deletions
+67
-397
AudioFormat.cxx
src/AudioFormat.cxx
+1
-1
AudioFormat.hxx
src/AudioFormat.hxx
+1
-2
CheckAudioFormat.cxx
src/CheckAudioFormat.cxx
+0
-4
CommandLine.cxx
src/CommandLine.cxx
+4
-2
IcyMetaDataParser.cxx
src/IcyMetaDataParser.cxx
+2
-0
Instance.cxx
src/Instance.cxx
+1
-3
Listen.cxx
src/Listen.cxx
+0
-2
LocateUri.hxx
src/LocateUri.hxx
+0
-1
Main.cxx
src/Main.cxx
+2
-2
Main.hxx
src/Main.hxx
+1
-3
MusicPipe.cxx
src/MusicPipe.cxx
+2
-0
MusicPipe.hxx
src/MusicPipe.hxx
+0
-2
Partition.hxx
src/Partition.hxx
+0
-1
Permission.cxx
src/Permission.cxx
+1
-1
PlaylistFile.cxx
src/PlaylistFile.cxx
+0
-4
PlaylistPrint.cxx
src/PlaylistPrint.cxx
+0
-5
PlaylistSave.cxx
src/PlaylistSave.cxx
+0
-2
ReplayGainGlobal.cxx
src/ReplayGainGlobal.cxx
+0
-2
SongPrint.cxx
src/SongPrint.cxx
+0
-3
SongUpdate.cxx
src/SongUpdate.cxx
+0
-2
StateFile.cxx
src/StateFile.cxx
+0
-2
StateFile.hxx
src/StateFile.hxx
+0
-2
Stats.cxx
src/Stats.cxx
+4
-1
TagFile.cxx
src/TagFile.cxx
+0
-2
TagStream.cxx
src/TagStream.cxx
+0
-2
TimePrint.hxx
src/TimePrint.hxx
+0
-2
Client.cxx
src/client/Client.cxx
+0
-1
Read.cxx
src/client/Read.cxx
+0
-1
Subscribe.cxx
src/client/Subscribe.cxx
+1
-1
AllCommands.cxx
src/command/AllCommands.cxx
+0
-1
CommandError.cxx
src/command/CommandError.cxx
+0
-2
CommandError.hxx
src/command/CommandError.hxx
+0
-2
DatabaseCommands.cxx
src/command/DatabaseCommands.cxx
+1
-3
FileCommands.cxx
src/command/FileCommands.cxx
+0
-1
OtherCommands.cxx
src/command/OtherCommands.cxx
+1
-3
PlayerCommands.cxx
src/command/PlayerCommands.cxx
+1
-2
PlaylistCommands.cxx
src/command/PlaylistCommands.cxx
+0
-1
QueueCommands.cxx
src/command/QueueCommands.cxx
+0
-2
StickerCommands.cxx
src/command/StickerCommands.cxx
+0
-1
StorageCommands.cxx
src/command/StorageCommands.cxx
+1
-3
TagCommands.cxx
src/command/TagCommands.cxx
+1
-1
Block.cxx
src/config/Block.cxx
+0
-1
Block.hxx
src/config/Block.hxx
+0
-1
Check.hxx
src/config/Check.hxx
+0
-3
Data.hxx
src/config/Data.hxx
+0
-2
Path.cxx
src/config/Path.cxx
+0
-1
DatabaseGlue.cxx
src/db/DatabaseGlue.cxx
+0
-1
DatabasePlaylist.cxx
src/db/DatabasePlaylist.cxx
+0
-1
DatabasePrint.cxx
src/db/DatabasePrint.cxx
+0
-5
DatabasePrint.hxx
src/db/DatabasePrint.hxx
+0
-2
DatabaseSong.hxx
src/db/DatabaseSong.hxx
+0
-2
UniqueTags.hxx
src/db/UniqueTags.hxx
+0
-3
VHelper.cxx
src/db/VHelper.cxx
+3
-0
VHelper.hxx
src/db/VHelper.hxx
+0
-1
ProxyDatabasePlugin.cxx
src/db/plugins/ProxyDatabasePlugin.cxx
+0
-1
DatabaseSave.cxx
src/db/plugins/simple/DatabaseSave.cxx
+0
-1
SimpleDatabasePlugin.cxx
src/db/plugins/simple/SimpleDatabasePlugin.cxx
+0
-1
ContentDirectoryService.cxx
src/db/plugins/upnp/ContentDirectoryService.cxx
+0
-3
Directory.cxx
src/db/plugins/upnp/Directory.cxx
+0
-1
UpnpDatabasePlugin.cxx
src/db/plugins/upnp/UpnpDatabasePlugin.cxx
+0
-4
Editor.hxx
src/db/update/Editor.hxx
+0
-1
ExcludeList.cxx
src/db/update/ExcludeList.cxx
+0
-4
InotifySource.cxx
src/db/update/InotifySource.cxx
+0
-1
InotifySource.hxx
src/db/update/InotifySource.hxx
+0
-3
InotifyUpdate.hxx
src/db/update/InotifyUpdate.hxx
+0
-2
Remove.hxx
src/db/update/Remove.hxx
+0
-2
UpdateIO.cxx
src/db/update/UpdateIO.cxx
+0
-2
Walk.cxx
src/db/update/Walk.cxx
+1
-1
DecoderAPI.hxx
src/decoder/DecoderAPI.hxx
+0
-2
Reader.hxx
src/decoder/Reader.hxx
+0
-1
Thread.cxx
src/decoder/Thread.cxx
+0
-1
DsdLib.cxx
src/decoder/plugins/DsdLib.cxx
+0
-2
DsdiffDecoderPlugin.cxx
src/decoder/plugins/DsdiffDecoderPlugin.cxx
+0
-1
DsfDecoderPlugin.cxx
src/decoder/plugins/DsfDecoderPlugin.cxx
+0
-1
FaadDecoderPlugin.cxx
src/decoder/plugins/FaadDecoderPlugin.cxx
+0
-1
FfmpegDecoderPlugin.cxx
src/decoder/plugins/FfmpegDecoderPlugin.cxx
+0
-1
FfmpegIo.cxx
src/decoder/plugins/FfmpegIo.cxx
+0
-2
MadDecoderPlugin.cxx
src/decoder/plugins/MadDecoderPlugin.cxx
+0
-4
MpcdecDecoderPlugin.cxx
src/decoder/plugins/MpcdecDecoderPlugin.cxx
+0
-2
OggDecoder.cxx
src/decoder/plugins/OggDecoder.cxx
+0
-2
OpusTags.cxx
src/decoder/plugins/OpusTags.cxx
+0
-2
PcmDecoderPlugin.cxx
src/decoder/plugins/PcmDecoderPlugin.cxx
+0
-1
WavpackDecoderPlugin.cxx
src/decoder/plugins/WavpackDecoderPlugin.cxx
+1
-1
WildmidiDecoderPlugin.cxx
src/decoder/plugins/WildmidiDecoderPlugin.cxx
+0
-1
FlacEncoderPlugin.cxx
src/encoder/plugins/FlacEncoderPlugin.cxx
+0
-1
LameEncoderPlugin.cxx
src/encoder/plugins/LameEncoderPlugin.cxx
+0
-1
OpusEncoderPlugin.cxx
src/encoder/plugins/OpusEncoderPlugin.cxx
+0
-1
ShineEncoderPlugin.cxx
src/encoder/plugins/ShineEncoderPlugin.cxx
+0
-1
TwolameEncoderPlugin.cxx
src/encoder/plugins/TwolameEncoderPlugin.cxx
+0
-1
BufferedSocket.cxx
src/event/BufferedSocket.cxx
+1
-1
Call.cxx
src/event/Call.cxx
+0
-1
MultiSocketMonitor.hxx
src/event/MultiSocketMonitor.hxx
+0
-1
ServerSocket.cxx
src/event/ServerSocket.cxx
+1
-2
SocketMonitor.cxx
src/event/SocketMonitor.cxx
+2
-6
AutoConvertFilterPlugin.cxx
src/filter/plugins/AutoConvertFilterPlugin.cxx
+0
-1
ConvertFilterPlugin.cxx
src/filter/plugins/ConvertFilterPlugin.cxx
+0
-2
FfmpegFilterPlugin.cxx
src/filter/plugins/FfmpegFilterPlugin.cxx
+0
-2
NullFilterPlugin.cxx
src/filter/plugins/NullFilterPlugin.cxx
+0
-1
RouteFilterPlugin.cxx
src/filter/plugins/RouteFilterPlugin.cxx
+1
-2
VolumeFilterPlugin.cxx
src/filter/plugins/VolumeFilterPlugin.cxx
+0
-2
AllocatedPath.cxx
src/fs/AllocatedPath.cxx
+0
-5
Charset.cxx
src/fs/Charset.cxx
+0
-1
CheckFile.cxx
src/fs/CheckFile.cxx
+0
-2
GunzipReader.hxx
src/fs/io/GunzipReader.hxx
+0
-1
GzipOutputStream.hxx
src/fs/io/GzipOutputStream.hxx
+0
-1
PeekReader.hxx
src/fs/io/PeekReader.hxx
+0
-1
TextFile.hxx
src/fs/io/TextFile.hxx
+0
-1
BufferedInputStream.cxx
src/input/BufferedInputStream.cxx
+0
-2
BufferingInputStream.cxx
src/input/BufferingInputStream.cxx
+1
-1
BufferingInputStream.hxx
src/input/BufferingInputStream.hxx
+1
-1
ProxyInputStream.cxx
src/input/ProxyInputStream.cxx
+1
-1
Reader.hxx
src/input/Reader.hxx
+0
-2
TextInputStream.cxx
src/input/TextInputStream.cxx
+0
-3
Item.cxx
src/input/cache/Item.cxx
+1
-0
Item.hxx
src/input/cache/Item.hxx
+0
-2
Manager.hxx
src/input/cache/Manager.hxx
+0
-1
AlsaInputPlugin.cxx
src/input/plugins/AlsaInputPlugin.cxx
+0
-2
CdioParanoiaInputPlugin.cxx
src/input/plugins/CdioParanoiaInputPlugin.cxx
+0
-2
CurlInputPlugin.cxx
src/input/plugins/CurlInputPlugin.cxx
+0
-3
FfmpegInputPlugin.cxx
src/input/plugins/FfmpegInputPlugin.cxx
+1
-7
FileInputPlugin.cxx
src/input/plugins/FileInputPlugin.cxx
+0
-1
MmsInputPlugin.cxx
src/input/plugins/MmsInputPlugin.cxx
+0
-1
NfsInputPlugin.cxx
src/input/plugins/NfsInputPlugin.cxx
+0
-1
QobuzInputPlugin.cxx
src/input/plugins/QobuzInputPlugin.cxx
+0
-3
QobuzLoginRequest.cxx
src/input/plugins/QobuzLoginRequest.cxx
+0
-1
QobuzTrackRequest.cxx
src/input/plugins/QobuzTrackRequest.cxx
+0
-1
SmbclientInputPlugin.cxx
src/input/plugins/SmbclientInputPlugin.cxx
+0
-1
TidalInputPlugin.cxx
src/input/plugins/TidalInputPlugin.cxx
+0
-1
TidalSessionManager.cxx
src/input/plugins/TidalSessionManager.cxx
+0
-1
TidalSessionManager.hxx
src/input/plugins/TidalSessionManager.hxx
+0
-3
Version.cxx
src/lib/alsa/Version.cxx
+2
-0
Init.cxx
src/lib/curl/Init.cxx
+0
-2
Connection.hxx
src/lib/dbus/Connection.hxx
+1
-2
Message.hxx
src/lib/dbus/Message.hxx
+1
-1
Watch.hxx
src/lib/dbus/Watch.hxx
+0
-1
Init.cxx
src/lib/ffmpeg/Init.cxx
+0
-1
LogCallback.cxx
src/lib/ffmpeg/LogCallback.cxx
+0
-2
MD5.cxx
src/lib/gcrypt/MD5.cxx
+0
-2
Connection.hxx
src/lib/nfs/Connection.hxx
+1
-0
UniqueRegex.hxx
src/lib/pcre/UniqueRegex.hxx
+1
-2
Util.hxx
src/lib/sqlite/Util.hxx
+1
-0
ContentDirectoryService.cxx
src/lib/upnp/ContentDirectoryService.cxx
+2
-1
Discovery.hxx
src/lib/upnp/Discovery.hxx
+0
-2
Util.cxx
src/lib/upnp/Util.cxx
+0
-2
ixmlwrap.hxx
src/lib/upnp/ixmlwrap.hxx
+0
-2
FlacIOHandle.hxx
src/lib/xiph/FlacIOHandle.hxx
+0
-1
FlacStreamMetadata.hxx
src/lib/xiph/FlacStreamMetadata.hxx
+1
-1
OggVisitor.hxx
src/lib/xiph/OggVisitor.hxx
+0
-2
MixerAll.cxx
src/mixer/MixerAll.cxx
+0
-3
MixerType.hxx
src/mixer/MixerType.hxx
+0
-2
PulseMixerPlugin.cxx
src/mixer/plugins/PulseMixerPlugin.cxx
+0
-1
SndioMixerPlugin.cxx
src/mixer/plugins/SndioMixerPlugin.cxx
+0
-3
Glue.cxx
src/neighbor/Glue.cxx
+0
-1
SmbclientNeighborPlugin.cxx
src/neighbor/plugins/SmbclientNeighborPlugin.cxx
+1
-1
UdisksNeighborPlugin.cxx
src/neighbor/plugins/UdisksNeighborPlugin.cxx
+0
-2
UpnpNeighborPlugin.cxx
src/neighbor/plugins/UpnpNeighborPlugin.cxx
+0
-2
AddressInfo.hxx
src/net/AddressInfo.hxx
+0
-1
AllocatedSocketAddress.cxx
src/net/AllocatedSocketAddress.cxx
+0
-8
AllocatedSocketAddress.hxx
src/net/AllocatedSocketAddress.hxx
+1
-1
Resolver.hxx
src/net/Resolver.hxx
+0
-1
StaticSocketAddress.cxx
src/net/StaticSocketAddress.cxx
+0
-8
Control.cxx
src/output/Control.cxx
+0
-4
Control.hxx
src/output/Control.hxx
+0
-5
Filtered.hxx
src/output/Filtered.hxx
+0
-2
Init.cxx
src/output/Init.cxx
+0
-4
Interface.hxx
src/output/Interface.hxx
+0
-1
MultipleOutputs.cxx
src/output/MultipleOutputs.cxx
+0
-1
OutputCommand.cxx
src/output/OutputCommand.cxx
+0
-2
OutputPlugin.hxx
src/output/OutputPlugin.hxx
+0
-6
Print.cxx
src/output/Print.cxx
+0
-1
Source.hxx
src/output/Source.hxx
+0
-1
State.cxx
src/output/State.cxx
+0
-1
Thread.cxx
src/output/Thread.cxx
+0
-1
Timer.cxx
src/output/Timer.cxx
+0
-2
AlsaOutputPlugin.cxx
src/output/plugins/AlsaOutputPlugin.cxx
+0
-1
JackOutputPlugin.cxx
src/output/plugins/JackOutputPlugin.cxx
+0
-1
PulseOutputPlugin.cxx
src/output/plugins/PulseOutputPlugin.cxx
+0
-2
RecorderOutputPlugin.cxx
src/output/plugins/RecorderOutputPlugin.cxx
+0
-1
ShoutOutputPlugin.cxx
src/output/plugins/ShoutOutputPlugin.cxx
+0
-1
HttpdOutputPlugin.cxx
src/output/plugins/httpd/HttpdOutputPlugin.cxx
+0
-4
ConfiguredResampler.cxx
src/pcm/ConfiguredResampler.cxx
+0
-1
Export.cxx
src/pcm/Export.cxx
+0
-1
Export.hxx
src/pcm/Export.hxx
+0
-1
FallbackResampler.hxx
src/pcm/FallbackResampler.hxx
+0
-1
FloatConvert.hxx
src/pcm/FloatConvert.hxx
+1
-0
GlueResampler.cxx
src/pcm/GlueResampler.cxx
+1
-0
GlueResampler.hxx
src/pcm/GlueResampler.hxx
+2
-1
LibsamplerateResampler.hxx
src/pcm/LibsamplerateResampler.hxx
+0
-1
PcmFormat.cxx
src/pcm/PcmFormat.cxx
+0
-1
SoxrResampler.hxx
src/pcm/SoxrResampler.hxx
+0
-1
dsd2pcm.h
src/pcm/dsd2pcm/dsd2pcm.h
+0
-1
MemorySongEnumerator.hxx
src/playlist/MemorySongEnumerator.hxx
+0
-1
PlaylistAny.cxx
src/playlist/PlaylistAny.cxx
+0
-1
PlaylistRegistry.cxx
src/playlist/PlaylistRegistry.cxx
+0
-1
AsxPlaylistPlugin.cxx
src/playlist/plugins/AsxPlaylistPlugin.cxx
+0
-1
RssPlaylistPlugin.cxx
src/playlist/plugins/RssPlaylistPlugin.cxx
+0
-1
XspfPlaylistPlugin.cxx
src/playlist/plugins/XspfPlaylistPlugin.cxx
+0
-1
Ack.hxx
src/protocol/Ack.hxx
+1
-0
PlaylistEdit.cxx
src/queue/PlaylistEdit.cxx
+0
-2
Queue.hxx
src/queue/Queue.hxx
+1
-1
BaseSongFilter.hxx
src/song/BaseSongFilter.hxx
+0
-1
Filter.cxx
src/song/Filter.cxx
+0
-7
StringFilter.cxx
src/song/StringFilter.cxx
+1
-1
TagSongFilter.hxx
src/song/TagSongFilter.hxx
+0
-2
Database.hxx
src/sticker/Database.hxx
+0
-1
Configured.cxx
src/storage/Configured.cxx
+0
-3
Registry.cxx
src/storage/Registry.cxx
+0
-1
CurlStorage.cxx
src/storage/plugins/CurlStorage.cxx
+1
-4
UdisksStorage.cxx
src/storage/plugins/UdisksStorage.cxx
+0
-1
Clock.hxx
src/system/Clock.hxx
+2
-2
EpollFD.hxx
src/system/EpollFD.hxx
+0
-2
EventPipe.cxx
src/system/EventPipe.cxx
+0
-1
Builder.cxx
src/tag/Builder.cxx
+1
-0
Generic.cxx
src/tag/Generic.cxx
+0
-2
Handler.cxx
src/tag/Handler.cxx
+0
-1
ReplayGain.cxx
src/tag/ReplayGain.cxx
+0
-1
Tag.hxx
src/tag/Tag.hxx
+1
-1
ISO8601.hxx
src/time/ISO8601.hxx
+0
-1
Daemon.cxx
src/unix/Daemon.cxx
+0
-1
AllocatedString.hxx
src/util/AllocatedString.hxx
+0
-1
DivideString.hxx
src/util/DivideString.hxx
+0
-2
Exception.hxx
src/util/Exception.hxx
+1
-0
HexFormat.hxx
src/util/HexFormat.hxx
+1
-0
OptionParser.cxx
src/util/OptionParser.cxx
+0
-2
PrintException.hxx
src/util/PrintException.hxx
+1
-1
SplitString.cxx
src/util/SplitString.cxx
+0
-2
AvahiPoll.hxx
src/zeroconf/AvahiPoll.hxx
+0
-2
read_conf.cxx
test/read_conf.cxx
+0
-2
test_protocol.cxx
test/test_protocol.cxx
+0
-3
No files found.
src/AudioFormat.cxx
View file @
d663f814
...
@@ -19,9 +19,9 @@
...
@@ -19,9 +19,9 @@
#include "AudioFormat.hxx"
#include "AudioFormat.hxx"
#include "util/StringBuffer.hxx"
#include "util/StringBuffer.hxx"
#include "util/StringFormat.hxx"
#include <assert.h>
#include <assert.h>
#include <stdio.h>
void
void
AudioFormat
::
ApplyMask
(
AudioFormat
mask
)
noexcept
AudioFormat
::
ApplyMask
(
AudioFormat
mask
)
noexcept
...
...
src/AudioFormat.hxx
View file @
d663f814
...
@@ -24,9 +24,8 @@
...
@@ -24,9 +24,8 @@
#include "pcm/ChannelDefs.hxx"
#include "pcm/ChannelDefs.hxx"
#include "util/Compiler.h"
#include "util/Compiler.h"
#include <c
hrono
>
#include <c
stdint
>
#include <stdint.h>
#include <stddef.h>
#include <stddef.h>
template
<
size_t
CAPACITY
>
class
StringBuffer
;
template
<
size_t
CAPACITY
>
class
StringBuffer
;
...
...
src/CheckAudioFormat.cxx
View file @
d663f814
...
@@ -21,10 +21,6 @@
...
@@ -21,10 +21,6 @@
#include "AudioFormat.hxx"
#include "AudioFormat.hxx"
#include "util/RuntimeError.hxx"
#include "util/RuntimeError.hxx"
#include <stdexcept>
#include <assert.h>
void
void
CheckSampleRate
(
unsigned
long
sample_rate
)
CheckSampleRate
(
unsigned
long
sample_rate
)
{
{
...
...
src/CommandLine.cxx
View file @
d663f814
...
@@ -36,13 +36,15 @@
...
@@ -36,13 +36,15 @@
#include "fs/Traits.hxx"
#include "fs/Traits.hxx"
#include "fs/FileSystem.hxx"
#include "fs/FileSystem.hxx"
#include "fs/StandardDirectory.hxx"
#include "fs/StandardDirectory.hxx"
#include "system/Error.hxx"
#include "util/Macros.hxx"
#include "util/Macros.hxx"
#include "util/RuntimeError.hxx"
#include "util/Domain.hxx"
#include "util/Domain.hxx"
#include "util/OptionDef.hxx"
#include "util/OptionDef.hxx"
#include "util/OptionParser.hxx"
#include "util/OptionParser.hxx"
#ifdef _WIN32
#include "system/Error.hxx"
#endif
#ifdef ENABLE_DATABASE
#ifdef ENABLE_DATABASE
#include "db/Registry.hxx"
#include "db/Registry.hxx"
#include "db/DatabasePlugin.hxx"
#include "db/DatabasePlugin.hxx"
...
...
src/IcyMetaDataParser.cxx
View file @
d663f814
...
@@ -24,6 +24,8 @@
...
@@ -24,6 +24,8 @@
#include "util/StringView.hxx"
#include "util/StringView.hxx"
#include "Log.hxx"
#include "Log.hxx"
#include <algorithm>
#include <assert.h>
#include <assert.h>
#include <string.h>
#include <string.h>
...
...
src/Instance.cxx
View file @
d663f814
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
#include "config.h"
#include "config.h"
#include "Instance.hxx"
#include "Instance.hxx"
#include "Partition.hxx"
#include "Partition.hxx"
#include "Idle.hxx"
#include "Idle
Flags
.hxx"
#include "Stats.hxx"
#include "Stats.hxx"
#include "client/List.hxx"
#include "client/List.hxx"
#include "input/cache/Manager.hxx"
#include "input/cache/Manager.hxx"
...
@@ -46,8 +46,6 @@
...
@@ -46,8 +46,6 @@
#endif
#endif
#endif
#endif
#include <exception>
Instance
::
Instance
()
Instance
::
Instance
()
:
rtio_thread
(
true
),
:
rtio_thread
(
true
),
#ifdef ENABLE_SYSTEMD_DAEMON
#ifdef ENABLE_SYSTEMD_DAEMON
...
...
src/Listen.cxx
View file @
d663f814
...
@@ -34,8 +34,6 @@
...
@@ -34,8 +34,6 @@
#include "fs/XDG.hxx"
#include "fs/XDG.hxx"
#include <sys/stat.h>
#include <sys/stat.h>
#include <string.h>
#include <assert.h>
#ifdef ENABLE_SYSTEMD_DAEMON
#ifdef ENABLE_SYSTEMD_DAEMON
#include <systemd/sd-daemon.h>
#include <systemd/sd-daemon.h>
...
...
src/LocateUri.hxx
View file @
d663f814
...
@@ -21,7 +21,6 @@
...
@@ -21,7 +21,6 @@
#define MPD_LOCATE_URI_HXX
#define MPD_LOCATE_URI_HXX
#include "config.h"
#include "config.h"
#include "util/Compiler.h"
#include "fs/AllocatedPath.hxx"
#include "fs/AllocatedPath.hxx"
#ifdef _WIN32
#ifdef _WIN32
...
...
src/Main.cxx
View file @
d663f814
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
#include "Partition.hxx"
#include "Partition.hxx"
#include "tag/Config.hxx"
#include "tag/Config.hxx"
#include "ReplayGainGlobal.hxx"
#include "ReplayGainGlobal.hxx"
#include "Idle.hxx"
#include "Idle
Flags
.hxx"
#include "Log.hxx"
#include "Log.hxx"
#include "LogInit.hxx"
#include "LogInit.hxx"
#include "input/Init.hxx"
#include "input/Init.hxx"
...
@@ -52,7 +52,6 @@
...
@@ -52,7 +52,6 @@
#include "thread/Slack.hxx"
#include "thread/Slack.hxx"
#include "net/Init.hxx"
#include "net/Init.hxx"
#include "lib/icu/Init.hxx"
#include "lib/icu/Init.hxx"
#include "config/File.hxx"
#include "config/Check.hxx"
#include "config/Check.hxx"
#include "config/Data.hxx"
#include "config/Data.hxx"
#include "config/Param.hxx"
#include "config/Param.hxx"
...
@@ -98,6 +97,7 @@
...
@@ -98,6 +97,7 @@
#include "android/Environment.hxx"
#include "android/Environment.hxx"
#include "android/Context.hxx"
#include "android/Context.hxx"
#include "android/LogListener.hxx"
#include "android/LogListener.hxx"
#include "config/File.hxx"
#include "fs/FileSystem.hxx"
#include "fs/FileSystem.hxx"
#include "org_musicpd_Bridge.h"
#include "org_musicpd_Bridge.h"
#endif
#endif
...
...
src/Main.hxx
View file @
d663f814
...
@@ -20,14 +20,12 @@
...
@@ -20,14 +20,12 @@
#ifndef MPD_MAIN_HXX
#ifndef MPD_MAIN_HXX
#define MPD_MAIN_HXX
#define MPD_MAIN_HXX
class
EventLoop
;
class
Context
;
struct
Instance
;
struct
Instance
;
#ifdef ANDROID
#ifdef ANDROID
#include "android/LogListener.hxx"
#include "android/LogListener.hxx"
extern
Context
*
context
;
extern
class
Context
*
context
;
extern
LogListener
*
logListener
;
extern
LogListener
*
logListener
;
#endif
#endif
...
...
src/MusicPipe.cxx
View file @
d663f814
...
@@ -20,6 +20,8 @@
...
@@ -20,6 +20,8 @@
#include "MusicPipe.hxx"
#include "MusicPipe.hxx"
#include "MusicChunk.hxx"
#include "MusicChunk.hxx"
#include <assert.h>
#ifndef NDEBUG
#ifndef NDEBUG
bool
bool
...
...
src/MusicPipe.hxx
View file @
d663f814
...
@@ -28,8 +28,6 @@
...
@@ -28,8 +28,6 @@
#include "AudioFormat.hxx"
#include "AudioFormat.hxx"
#endif
#endif
#include <assert.h>
/**
/**
* A queue of #MusicChunk objects. One party appends chunks at the
* A queue of #MusicChunk objects. One party appends chunks at the
* tail, and the other consumes them from the head.
* tail, and the other consumes them from the head.
...
...
src/Partition.hxx
View file @
d663f814
...
@@ -30,7 +30,6 @@
...
@@ -30,7 +30,6 @@
#include "ReplayGainMode.hxx"
#include "ReplayGainMode.hxx"
#include "SingleMode.hxx"
#include "SingleMode.hxx"
#include "Chrono.hxx"
#include "Chrono.hxx"
#include "util/Compiler.h"
#include "config.h"
#include "config.h"
#include <string>
#include <string>
...
...
src/Permission.cxx
View file @
d663f814
...
@@ -26,9 +26,9 @@
...
@@ -26,9 +26,9 @@
#include "util/RuntimeError.hxx"
#include "util/RuntimeError.hxx"
#include "util/StringView.hxx"
#include "util/StringView.hxx"
#include <algorithm>
#include <map>
#include <map>
#include <string>
#include <string>
#include <utility>
#include <assert.h>
#include <assert.h>
#include <string.h>
#include <string.h>
...
...
src/PlaylistFile.cxx
View file @
d663f814
...
@@ -39,15 +39,11 @@
...
@@ -39,15 +39,11 @@
#include "fs/FileSystem.hxx"
#include "fs/FileSystem.hxx"
#include "fs/FileInfo.hxx"
#include "fs/FileInfo.hxx"
#include "fs/DirectoryReader.hxx"
#include "fs/DirectoryReader.hxx"
#include "util/Macros.hxx"
#include "util/StringCompare.hxx"
#include "util/StringCompare.hxx"
#include "util/UriUtil.hxx"
#include "util/UriUtil.hxx"
#include <memory>
#include <assert.h>
#include <assert.h>
#include <string.h>
#include <string.h>
#include <errno.h>
static
const
char
PLAYLIST_COMMENT
=
'#'
;
static
const
char
PLAYLIST_COMMENT
=
'#'
;
...
...
src/PlaylistPrint.cxx
View file @
d663f814
...
@@ -22,11 +22,6 @@
...
@@ -22,11 +22,6 @@
#include "PlaylistError.hxx"
#include "PlaylistError.hxx"
#include "queue/Playlist.hxx"
#include "queue/Playlist.hxx"
#include "queue/QueuePrint.hxx"
#include "queue/QueuePrint.hxx"
#include "SongPrint.hxx"
#include "Partition.hxx"
#include "Instance.hxx"
#include "db/Interface.hxx"
#include "client/Response.hxx"
#define SONG_FILE "file: "
#define SONG_FILE "file: "
#define SONG_TIME "Time: "
#define SONG_TIME "Time: "
...
...
src/PlaylistSave.cxx
View file @
d663f814
...
@@ -32,8 +32,6 @@
...
@@ -32,8 +32,6 @@
#include "fs/io/BufferedOutputStream.hxx"
#include "fs/io/BufferedOutputStream.hxx"
#include "util/UriUtil.hxx"
#include "util/UriUtil.hxx"
#include <exception>
static
void
static
void
playlist_print_path
(
BufferedOutputStream
&
os
,
const
Path
path
)
playlist_print_path
(
BufferedOutputStream
&
os
,
const
Path
path
)
{
{
...
...
src/ReplayGainGlobal.cxx
View file @
d663f814
...
@@ -19,9 +19,7 @@
...
@@ -19,9 +19,7 @@
#include "ReplayGainGlobal.hxx"
#include "ReplayGainGlobal.hxx"
#include "ReplayGainConfig.hxx"
#include "ReplayGainConfig.hxx"
#include "config/Param.hxx"
#include "config/Data.hxx"
#include "config/Data.hxx"
#include "util/RuntimeError.hxx"
#include <assert.h>
#include <assert.h>
#include <stdlib.h>
#include <stdlib.h>
...
...
src/SongPrint.cxx
View file @
d663f814
...
@@ -19,9 +19,6 @@
...
@@ -19,9 +19,6 @@
#include "SongPrint.hxx"
#include "SongPrint.hxx"
#include "song/LightSong.hxx"
#include "song/LightSong.hxx"
#include "Partition.hxx"
#include "Instance.hxx"
#include "storage/StorageInterface.hxx"
#include "song/DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "TimePrint.hxx"
#include "TimePrint.hxx"
#include "TagPrint.hxx"
#include "TagPrint.hxx"
...
...
src/SongUpdate.cxx
View file @
d663f814
...
@@ -34,8 +34,6 @@
...
@@ -34,8 +34,6 @@
#include "TagArchive.hxx"
#include "TagArchive.hxx"
#endif
#endif
#include <exception>
#include <assert.h>
#include <assert.h>
#include <string.h>
#include <string.h>
...
...
src/StateFile.cxx
View file @
d663f814
...
@@ -34,8 +34,6 @@
...
@@ -34,8 +34,6 @@
#include <exception>
#include <exception>
#include <string.h>
static
constexpr
Domain
state_file_domain
(
"state_file"
);
static
constexpr
Domain
state_file_domain
(
"state_file"
);
StateFile
::
StateFile
(
StateFileConfig
&&
_config
,
StateFile
::
StateFile
(
StateFileConfig
&&
_config
,
...
...
src/StateFile.hxx
View file @
d663f814
...
@@ -22,12 +22,10 @@
...
@@ -22,12 +22,10 @@
#include "StateFileConfig.hxx"
#include "StateFileConfig.hxx"
#include "event/TimerEvent.hxx"
#include "event/TimerEvent.hxx"
#include "fs/AllocatedPath.hxx"
#include "util/Compiler.h"
#include "util/Compiler.h"
#include "config.h"
#include "config.h"
#include <string>
#include <string>
#include <chrono>
struct
Partition
;
struct
Partition
;
class
OutputStream
;
class
OutputStream
;
...
...
src/Stats.cxx
View file @
d663f814
...
@@ -26,10 +26,13 @@
...
@@ -26,10 +26,13 @@
#include "db/Selection.hxx"
#include "db/Selection.hxx"
#include "db/Interface.hxx"
#include "db/Interface.hxx"
#include "db/Stats.hxx"
#include "db/Stats.hxx"
#include "system/Clock.hxx"
#include "Log.hxx"
#include "Log.hxx"
#include "time/ChronoUtil.hxx"
#include "time/ChronoUtil.hxx"
#ifdef _WIN32
#include "system/Clock.hxx"
#endif
#include <chrono>
#include <chrono>
#include <cmath>
#include <cmath>
...
...
src/TagFile.cxx
View file @
d663f814
...
@@ -27,8 +27,6 @@
...
@@ -27,8 +27,6 @@
#include "input/InputStream.hxx"
#include "input/InputStream.hxx"
#include "input/LocalOpen.hxx"
#include "input/LocalOpen.hxx"
#include <exception>
#include <assert.h>
#include <assert.h>
class
TagFileScan
{
class
TagFileScan
{
...
...
src/TagStream.cxx
View file @
d663f814
...
@@ -28,8 +28,6 @@
...
@@ -28,8 +28,6 @@
#include "input/InputStream.hxx"
#include "input/InputStream.hxx"
#include "thread/Mutex.hxx"
#include "thread/Mutex.hxx"
#include <exception>
#include <assert.h>
#include <assert.h>
/**
/**
...
...
src/TimePrint.hxx
View file @
d663f814
...
@@ -22,8 +22,6 @@
...
@@ -22,8 +22,6 @@
#include <chrono>
#include <chrono>
#include <time.h>
class
Response
;
class
Response
;
/**
/**
...
...
src/client/Client.cxx
View file @
d663f814
...
@@ -22,7 +22,6 @@
...
@@ -22,7 +22,6 @@
#include "Partition.hxx"
#include "Partition.hxx"
#include "Instance.hxx"
#include "Instance.hxx"
#include "BackgroundCommand.hxx"
#include "BackgroundCommand.hxx"
#include "util/Domain.hxx"
#include "config.h"
#include "config.h"
Client
::~
Client
()
noexcept
Client
::~
Client
()
noexcept
...
...
src/client/Read.cxx
View file @
d663f814
...
@@ -21,7 +21,6 @@
...
@@ -21,7 +21,6 @@
#include "Config.hxx"
#include "Config.hxx"
#include "Partition.hxx"
#include "Partition.hxx"
#include "Instance.hxx"
#include "Instance.hxx"
#include "event/Loop.hxx"
#include "util/StringStrip.hxx"
#include "util/StringStrip.hxx"
#include <string.h>
#include <string.h>
...
...
src/client/Subscribe.cxx
View file @
d663f814
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
#include "Client.hxx"
#include "Client.hxx"
#include "Partition.hxx"
#include "Partition.hxx"
#include "Idle.hxx"
#include "Idle
Flags
.hxx"
#include <assert.h>
#include <assert.h>
...
...
src/command/AllCommands.cxx
View file @
d663f814
...
@@ -47,7 +47,6 @@
...
@@ -47,7 +47,6 @@
#ifdef ENABLE_SQLITE
#ifdef ENABLE_SQLITE
#include "StickerCommands.hxx"
#include "StickerCommands.hxx"
#include "sticker/Database.hxx"
#endif
#endif
#include <assert.h>
#include <assert.h>
...
...
src/command/CommandError.cxx
View file @
d663f814
...
@@ -27,8 +27,6 @@
...
@@ -27,8 +27,6 @@
#include <system_error>
#include <system_error>
#include <assert.h>
gcc_const
gcc_const
static
enum
ack
static
enum
ack
ToAck
(
PlaylistResult
result
)
noexcept
ToAck
(
PlaylistResult
result
)
noexcept
...
...
src/command/CommandError.hxx
View file @
d663f814
...
@@ -20,8 +20,6 @@
...
@@ -20,8 +20,6 @@
#ifndef MPD_COMMAND_ERROR_HXX
#ifndef MPD_COMMAND_ERROR_HXX
#define MPD_COMMAND_ERROR_HXX
#define MPD_COMMAND_ERROR_HXX
#include "CommandResult.hxx"
#include <exception>
#include <exception>
class
Response
;
class
Response
;
...
...
src/command/DatabaseCommands.cxx
View file @
d663f814
...
@@ -24,20 +24,18 @@
...
@@ -24,20 +24,18 @@
#include "db/DatabasePrint.hxx"
#include "db/DatabasePrint.hxx"
#include "db/Count.hxx"
#include "db/Count.hxx"
#include "db/Selection.hxx"
#include "db/Selection.hxx"
#include "CommandError.hxx"
#include "protocol/RangeArg.hxx"
#include "protocol/RangeArg.hxx"
#include "client/Client.hxx"
#include "client/Client.hxx"
#include "client/Response.hxx"
#include "client/Response.hxx"
#include "tag/ParseName.hxx"
#include "tag/ParseName.hxx"
#include "tag/Mask.hxx"
#include "util/ConstBuffer.hxx"
#include "util/ConstBuffer.hxx"
#include "util/Exception.hxx"
#include "util/Exception.hxx"
#include "util/StringAPI.hxx"
#include "util/StringAPI.hxx"
#include "util/ASCII.hxx"
#include "util/ASCII.hxx"
#include "song/Filter.hxx"
#include "song/Filter.hxx"
#include "BulkEdit.hxx"
#include <memory>
#include <memory>
#include <vector>
CommandResult
CommandResult
handle_listfiles_db
(
Client
&
client
,
Response
&
r
,
const
char
*
uri
)
handle_listfiles_db
(
Client
&
client
,
Response
&
r
,
const
char
*
uri
)
...
...
src/command/FileCommands.cxx
View file @
d663f814
...
@@ -22,7 +22,6 @@
...
@@ -22,7 +22,6 @@
#include "config.h"
#include "config.h"
#include "FileCommands.hxx"
#include "FileCommands.hxx"
#include "Request.hxx"
#include "Request.hxx"
#include "CommandError.hxx"
#include "protocol/Ack.hxx"
#include "protocol/Ack.hxx"
#include "client/Client.hxx"
#include "client/Client.hxx"
#include "client/Response.hxx"
#include "client/Response.hxx"
...
...
src/command/OtherCommands.cxx
View file @
d663f814
...
@@ -22,7 +22,6 @@
...
@@ -22,7 +22,6 @@
#include "Request.hxx"
#include "Request.hxx"
#include "FileCommands.hxx"
#include "FileCommands.hxx"
#include "StorageCommands.hxx"
#include "StorageCommands.hxx"
#include "CommandError.hxx"
#include "db/Uri.hxx"
#include "db/Uri.hxx"
#include "storage/StorageInterface.hxx"
#include "storage/StorageInterface.hxx"
#include "LocateUri.hxx"
#include "LocateUri.hxx"
...
@@ -47,7 +46,7 @@
...
@@ -47,7 +46,7 @@
#include "client/Response.hxx"
#include "client/Response.hxx"
#include "Partition.hxx"
#include "Partition.hxx"
#include "Instance.hxx"
#include "Instance.hxx"
#include "Idle.hxx"
#include "Idle
Flags
.hxx"
#include "Log.hxx"
#include "Log.hxx"
#ifdef ENABLE_DATABASE
#ifdef ENABLE_DATABASE
...
@@ -57,7 +56,6 @@
...
@@ -57,7 +56,6 @@
#endif
#endif
#include <assert.h>
#include <assert.h>
#include <string.h>
static
void
static
void
print_spl_list
(
Response
&
r
,
const
PlaylistVector
&
list
)
print_spl_list
(
Response
&
r
,
const
PlaylistVector
&
list
)
...
...
src/command/PlayerCommands.cxx
View file @
d663f814
...
@@ -20,7 +20,6 @@
...
@@ -20,7 +20,6 @@
#include "config.h"
#include "config.h"
#include "PlayerCommands.hxx"
#include "PlayerCommands.hxx"
#include "Request.hxx"
#include "Request.hxx"
#include "CommandError.hxx"
#include "queue/Playlist.hxx"
#include "queue/Playlist.hxx"
#include "PlaylistPrint.hxx"
#include "PlaylistPrint.hxx"
#include "SingleMode.hxx"
#include "SingleMode.hxx"
...
@@ -29,7 +28,7 @@
...
@@ -29,7 +28,7 @@
#include "mixer/Volume.hxx"
#include "mixer/Volume.hxx"
#include "Partition.hxx"
#include "Partition.hxx"
#include "Instance.hxx"
#include "Instance.hxx"
#include "Idle.hxx"
#include "Idle
Flags
.hxx"
#include "AudioFormat.hxx"
#include "AudioFormat.hxx"
#include "util/StringBuffer.hxx"
#include "util/StringBuffer.hxx"
#include "util/ScopeExit.hxx"
#include "util/ScopeExit.hxx"
...
...
src/command/PlaylistCommands.cxx
View file @
d663f814
...
@@ -23,7 +23,6 @@
...
@@ -23,7 +23,6 @@
#include "Instance.hxx"
#include "Instance.hxx"
#include "db/Selection.hxx"
#include "db/Selection.hxx"
#include "db/DatabasePlaylist.hxx"
#include "db/DatabasePlaylist.hxx"
#include "CommandError.hxx"
#include "PlaylistSave.hxx"
#include "PlaylistSave.hxx"
#include "PlaylistFile.hxx"
#include "PlaylistFile.hxx"
#include "PlaylistError.hxx"
#include "PlaylistError.hxx"
...
...
src/command/QueueCommands.cxx
View file @
d663f814
...
@@ -20,7 +20,6 @@
...
@@ -20,7 +20,6 @@
#include "config.h"
#include "config.h"
#include "QueueCommands.hxx"
#include "QueueCommands.hxx"
#include "Request.hxx"
#include "Request.hxx"
#include "CommandError.hxx"
#include "protocol/RangeArg.hxx"
#include "protocol/RangeArg.hxx"
#include "db/DatabaseQueue.hxx"
#include "db/DatabaseQueue.hxx"
#include "db/Selection.hxx"
#include "db/Selection.hxx"
...
@@ -40,7 +39,6 @@
...
@@ -40,7 +39,6 @@
#include "util/StringAPI.hxx"
#include "util/StringAPI.hxx"
#include "util/NumberParser.hxx"
#include "util/NumberParser.hxx"
#include <memory>
#include <limits>
#include <limits>
static
void
static
void
...
...
src/command/StickerCommands.cxx
View file @
d663f814
...
@@ -24,7 +24,6 @@
...
@@ -24,7 +24,6 @@
#include "sticker/Sticker.hxx"
#include "sticker/Sticker.hxx"
#include "sticker/SongSticker.hxx"
#include "sticker/SongSticker.hxx"
#include "sticker/Print.hxx"
#include "sticker/Print.hxx"
#include "sticker/Database.hxx"
#include "client/Client.hxx"
#include "client/Client.hxx"
#include "client/Response.hxx"
#include "client/Response.hxx"
#include "Partition.hxx"
#include "Partition.hxx"
...
...
src/command/StorageCommands.cxx
View file @
d663f814
...
@@ -22,14 +22,12 @@
...
@@ -22,14 +22,12 @@
#include "config.h"
#include "config.h"
#include "StorageCommands.hxx"
#include "StorageCommands.hxx"
#include "Request.hxx"
#include "Request.hxx"
#include "CommandError.hxx"
#include "time/ChronoUtil.hxx"
#include "time/ChronoUtil.hxx"
#include "util/UriUtil.hxx"
#include "util/UriUtil.hxx"
#include "util/ConstBuffer.hxx"
#include "util/ConstBuffer.hxx"
#include "fs/Traits.hxx"
#include "fs/Traits.hxx"
#include "client/Client.hxx"
#include "client/Client.hxx"
#include "client/Response.hxx"
#include "client/Response.hxx"
#include "Partition.hxx"
#include "Instance.hxx"
#include "Instance.hxx"
#include "storage/Registry.hxx"
#include "storage/Registry.hxx"
#include "storage/CompositeStorage.hxx"
#include "storage/CompositeStorage.hxx"
...
@@ -37,7 +35,7 @@
...
@@ -37,7 +35,7 @@
#include "db/plugins/simple/SimpleDatabasePlugin.hxx"
#include "db/plugins/simple/SimpleDatabasePlugin.hxx"
#include "db/update/Service.hxx"
#include "db/update/Service.hxx"
#include "TimePrint.hxx"
#include "TimePrint.hxx"
#include "Idle.hxx"
#include "Idle
Flags
.hxx"
#include <memory>
#include <memory>
...
...
src/command/TagCommands.cxx
View file @
d663f814
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
#include "client/Client.hxx"
#include "client/Client.hxx"
#include "client/Response.hxx"
#include "client/Response.hxx"
#include "tag/ParseName.hxx"
#include "tag/ParseName.hxx"
#include "
Partition
.hxx"
#include "
queue/Playlist
.hxx"
#include "util/ConstBuffer.hxx"
#include "util/ConstBuffer.hxx"
CommandResult
CommandResult
...
...
src/config/Block.cxx
View file @
d663f814
...
@@ -23,7 +23,6 @@
...
@@ -23,7 +23,6 @@
#include "fs/AllocatedPath.hxx"
#include "fs/AllocatedPath.hxx"
#include "util/RuntimeError.hxx"
#include "util/RuntimeError.hxx"
#include <assert.h>
#include <stdlib.h>
#include <stdlib.h>
void
void
...
...
src/config/Block.hxx
View file @
d663f814
...
@@ -20,7 +20,6 @@
...
@@ -20,7 +20,6 @@
#ifndef MPD_CONFIG_BLOCK_HXX
#ifndef MPD_CONFIG_BLOCK_HXX
#define MPD_CONFIG_BLOCK_HXX
#define MPD_CONFIG_BLOCK_HXX
#include "Param.hxx"
#include "util/Compiler.h"
#include "util/Compiler.h"
#include <string>
#include <string>
...
...
src/config/Check.hxx
View file @
d663f814
...
@@ -20,9 +20,6 @@
...
@@ -20,9 +20,6 @@
#ifndef MPD_CONFIG_CHECK_HXX
#ifndef MPD_CONFIG_CHECK_HXX
#define MPD_CONFIG_CHECK_HXX
#define MPD_CONFIG_CHECK_HXX
#include "Option.hxx"
#include "util/Compiler.h"
struct
ConfigData
;
struct
ConfigData
;
/**
/**
...
...
src/config/Data.hxx
View file @
d663f814
...
@@ -28,8 +28,6 @@
...
@@ -28,8 +28,6 @@
#include <chrono>
#include <chrono>
#include <forward_list>
#include <forward_list>
struct
ConfigParam
;
struct
ConfigBlock
;
class
AllocatedPath
;
class
AllocatedPath
;
struct
ConfigData
{
struct
ConfigData
{
...
...
src/config/Path.cxx
View file @
d663f814
...
@@ -21,7 +21,6 @@
...
@@ -21,7 +21,6 @@
#include "Data.hxx"
#include "Data.hxx"
#include "fs/AllocatedPath.hxx"
#include "fs/AllocatedPath.hxx"
#include "fs/Traits.hxx"
#include "fs/Traits.hxx"
#include "fs/Domain.hxx"
#include "fs/StandardDirectory.hxx"
#include "fs/StandardDirectory.hxx"
#include "util/RuntimeError.hxx"
#include "util/RuntimeError.hxx"
...
...
src/db/DatabaseGlue.cxx
View file @
d663f814
...
@@ -20,7 +20,6 @@
...
@@ -20,7 +20,6 @@
#include "DatabaseGlue.hxx"
#include "DatabaseGlue.hxx"
#include "Interface.hxx"
#include "Interface.hxx"
#include "Registry.hxx"
#include "Registry.hxx"
#include "DatabaseError.hxx"
#include "util/RuntimeError.hxx"
#include "util/RuntimeError.hxx"
#include "config/Block.hxx"
#include "config/Block.hxx"
#include "DatabasePlugin.hxx"
#include "DatabasePlugin.hxx"
...
...
src/db/DatabasePlaylist.cxx
View file @
d663f814
...
@@ -19,7 +19,6 @@
...
@@ -19,7 +19,6 @@
#include "DatabasePlaylist.hxx"
#include "DatabasePlaylist.hxx"
#include "DatabaseSong.hxx"
#include "DatabaseSong.hxx"
#include "Selection.hxx"
#include "PlaylistFile.hxx"
#include "PlaylistFile.hxx"
#include "Interface.hxx"
#include "Interface.hxx"
#include "song/DetachedSong.hxx"
#include "song/DetachedSong.hxx"
...
...
src/db/DatabasePrint.cxx
View file @
d663f814
...
@@ -21,15 +21,10 @@
...
@@ -21,15 +21,10 @@
#include "Selection.hxx"
#include "Selection.hxx"
#include "SongPrint.hxx"
#include "SongPrint.hxx"
#include "TimePrint.hxx"
#include "TimePrint.hxx"
#include "TagPrint.hxx"
#include "client/Response.hxx"
#include "client/Response.hxx"
#include "protocol/RangeArg.hxx"
#include "Partition.hxx"
#include "Partition.hxx"
#include "song/DetachedSong.hxx"
#include "song/Filter.hxx"
#include "song/LightSong.hxx"
#include "song/LightSong.hxx"
#include "tag/Tag.hxx"
#include "tag/Tag.hxx"
#include "tag/Mask.hxx"
#include "LightDirectory.hxx"
#include "LightDirectory.hxx"
#include "PlaylistInfo.hxx"
#include "PlaylistInfo.hxx"
#include "Interface.hxx"
#include "Interface.hxx"
...
...
src/db/DatabasePrint.hxx
View file @
d663f814
...
@@ -24,10 +24,8 @@
...
@@ -24,10 +24,8 @@
template
<
typename
T
>
struct
ConstBuffer
;
template
<
typename
T
>
struct
ConstBuffer
;
enum
TagType
:
uint8_t
;
enum
TagType
:
uint8_t
;
class
TagMask
;
class
SongFilter
;
class
SongFilter
;
struct
DatabaseSelection
;
struct
DatabaseSelection
;
struct
RangeArg
;
struct
Partition
;
struct
Partition
;
class
Response
;
class
Response
;
...
...
src/db/DatabaseSong.hxx
View file @
d663f814
...
@@ -20,8 +20,6 @@
...
@@ -20,8 +20,6 @@
#ifndef MPD_DATABASE_SONG_HXX
#ifndef MPD_DATABASE_SONG_HXX
#define MPD_DATABASE_SONG_HXX
#define MPD_DATABASE_SONG_HXX
#include "util/Compiler.h"
struct
LightSong
;
struct
LightSong
;
class
Database
;
class
Database
;
class
Storage
;
class
Storage
;
...
...
src/db/UniqueTags.hxx
View file @
d663f814
...
@@ -22,11 +22,8 @@
...
@@ -22,11 +22,8 @@
#include "tag/Type.h"
#include "tag/Type.h"
#include <map>
#include <set>
#include <string>
#include <string>
class
TagMask
;
class
Database
;
class
Database
;
struct
DatabaseSelection
;
struct
DatabaseSelection
;
template
<
typename
Key
>
class
RecursiveMap
;
template
<
typename
Key
>
class
RecursiveMap
;
...
...
src/db/VHelper.cxx
View file @
d663f814
...
@@ -18,9 +18,12 @@
...
@@ -18,9 +18,12 @@
*/
*/
#include "VHelper.hxx"
#include "VHelper.hxx"
#include "song/DetachedSong.hxx"
#include "song/LightSong.hxx"
#include "song/LightSong.hxx"
#include "song/Filter.hxx"
#include "song/Filter.hxx"
#include <algorithm>
#include <assert.h>
#include <assert.h>
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
...
...
src/db/VHelper.hxx
View file @
d663f814
...
@@ -22,7 +22,6 @@
...
@@ -22,7 +22,6 @@
#include "Visitor.hxx"
#include "Visitor.hxx"
#include "Selection.hxx"
#include "Selection.hxx"
#include "song/DetachedSong.hxx"
#include <vector>
#include <vector>
...
...
src/db/plugins/ProxyDatabasePlugin.cxx
View file @
d663f814
...
@@ -36,7 +36,6 @@
...
@@ -36,7 +36,6 @@
#include "config/Block.hxx"
#include "config/Block.hxx"
#include "tag/Builder.hxx"
#include "tag/Builder.hxx"
#include "tag/Tag.hxx"
#include "tag/Tag.hxx"
#include "tag/Mask.hxx"
#include "tag/ParseName.hxx"
#include "tag/ParseName.hxx"
#include "util/ConstBuffer.hxx"
#include "util/ConstBuffer.hxx"
#include "util/RecursiveMap.hxx"
#include "util/RecursiveMap.hxx"
...
...
src/db/plugins/simple/DatabaseSave.cxx
View file @
d663f814
...
@@ -19,7 +19,6 @@
...
@@ -19,7 +19,6 @@
#include "DatabaseSave.hxx"
#include "DatabaseSave.hxx"
#include "db/DatabaseLock.hxx"
#include "db/DatabaseLock.hxx"
#include "Directory.hxx"
#include "DirectorySave.hxx"
#include "DirectorySave.hxx"
#include "fs/io/BufferedOutputStream.hxx"
#include "fs/io/BufferedOutputStream.hxx"
#include "fs/io/TextFile.hxx"
#include "fs/io/TextFile.hxx"
...
...
src/db/plugins/simple/SimpleDatabasePlugin.cxx
View file @
d663f814
...
@@ -33,7 +33,6 @@
...
@@ -33,7 +33,6 @@
#include "DatabaseSave.hxx"
#include "DatabaseSave.hxx"
#include "db/DatabaseLock.hxx"
#include "db/DatabaseLock.hxx"
#include "db/DatabaseError.hxx"
#include "db/DatabaseError.hxx"
#include "tag/Mask.hxx"
#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"
...
...
src/db/plugins/upnp/ContentDirectoryService.cxx
View file @
d663f814
...
@@ -23,13 +23,10 @@
...
@@ -23,13 +23,10 @@
#include "lib/upnp/Action.hxx"
#include "lib/upnp/Action.hxx"
#include "Directory.hxx"
#include "Directory.hxx"
#include "util/NumberParser.hxx"
#include "util/NumberParser.hxx"
#include "util/UriUtil.hxx"
#include "util/RuntimeError.hxx"
#include "util/RuntimeError.hxx"
#include "util/ScopeExit.hxx"
#include "util/ScopeExit.hxx"
#include "util/StringFormat.hxx"
#include "util/StringFormat.hxx"
#include <stdio.h>
static
void
static
void
ReadResultTag
(
UPnPDirContent
&
dirbuf
,
IXML_Document
*
response
)
ReadResultTag
(
UPnPDirContent
&
dirbuf
,
IXML_Document
*
response
)
{
{
...
...
src/db/plugins/upnp/Directory.cxx
View file @
d663f814
...
@@ -18,7 +18,6 @@
...
@@ -18,7 +18,6 @@
*/
*/
#include "Directory.hxx"
#include "Directory.hxx"
#include "lib/upnp/Util.hxx"
#include "lib/expat/ExpatParser.hxx"
#include "lib/expat/ExpatParser.hxx"
#include "Tags.hxx"
#include "Tags.hxx"
#include "tag/Builder.hxx"
#include "tag/Builder.hxx"
...
...
src/db/plugins/upnp/UpnpDatabasePlugin.cxx
View file @
d663f814
...
@@ -34,12 +34,8 @@
...
@@ -34,12 +34,8 @@
#include "song/Filter.hxx"
#include "song/Filter.hxx"
#include "song/TagSongFilter.hxx"
#include "song/TagSongFilter.hxx"
#include "db/Stats.hxx"
#include "db/Stats.hxx"
#include "config/Block.hxx"
#include "tag/Builder.hxx"
#include "tag/Table.hxx"
#include "tag/Table.hxx"
#include "tag/Mask.hxx"
#include "fs/Traits.hxx"
#include "fs/Traits.hxx"
#include "Log.hxx"
#include "util/ConstBuffer.hxx"
#include "util/ConstBuffer.hxx"
#include "util/RecursiveMap.hxx"
#include "util/RecursiveMap.hxx"
#include "util/SplitString.hxx"
#include "util/SplitString.hxx"
...
...
src/db/update/Editor.hxx
View file @
d663f814
...
@@ -21,7 +21,6 @@
...
@@ -21,7 +21,6 @@
#define MPD_UPDATE_DATABASE_HXX
#define MPD_UPDATE_DATABASE_HXX
#include "Remove.hxx"
#include "Remove.hxx"
#include "util/Compiler.h"
struct
Directory
;
struct
Directory
;
struct
Song
;
struct
Song
;
...
...
src/db/update/ExcludeList.cxx
View file @
d663f814
...
@@ -27,13 +27,9 @@
...
@@ -27,13 +27,9 @@
#include "fs/NarrowPath.hxx"
#include "fs/NarrowPath.hxx"
#include "input/TextInputStream.hxx"
#include "input/TextInputStream.hxx"
#include "util/StringStrip.hxx"
#include "util/StringStrip.hxx"
#include "Log.hxx"
#include "config.h"
#include "config.h"
#include <exception>
#include <assert.h>
#include <assert.h>
#include <string.h>
#ifdef HAVE_CLASS_GLOB
#ifdef HAVE_CLASS_GLOB
...
...
src/db/update/InotifySource.cxx
View file @
d663f814
...
@@ -25,7 +25,6 @@
...
@@ -25,7 +25,6 @@
#include "Log.hxx"
#include "Log.hxx"
#include <sys/inotify.h>
#include <sys/inotify.h>
#include <unistd.h>
#include <errno.h>
#include <errno.h>
#include <stdint.h>
#include <stdint.h>
#include <limits.h>
#include <limits.h>
...
...
src/db/update/InotifySource.hxx
View file @
d663f814
...
@@ -21,9 +21,6 @@
...
@@ -21,9 +21,6 @@
#define MPD_INOTIFY_SOURCE_HXX
#define MPD_INOTIFY_SOURCE_HXX
#include "event/SocketMonitor.hxx"
#include "event/SocketMonitor.hxx"
#include "util/Compiler.h"
class
FileDescriptor
;
typedef
void
(
*
mpd_inotify_callback_t
)(
int
wd
,
unsigned
mask
,
typedef
void
(
*
mpd_inotify_callback_t
)(
int
wd
,
unsigned
mask
,
const
char
*
name
,
void
*
ctx
);
const
char
*
name
,
void
*
ctx
);
...
...
src/db/update/InotifyUpdate.hxx
View file @
d663f814
...
@@ -20,8 +20,6 @@
...
@@ -20,8 +20,6 @@
#ifndef MPD_INOTIFY_UPDATE_HXX
#ifndef MPD_INOTIFY_UPDATE_HXX
#define MPD_INOTIFY_UPDATE_HXX
#define MPD_INOTIFY_UPDATE_HXX
#include "util/Compiler.h"
class
EventLoop
;
class
EventLoop
;
class
Storage
;
class
Storage
;
class
UpdateService
;
class
UpdateService
;
...
...
src/db/update/Remove.hxx
View file @
d663f814
...
@@ -22,12 +22,10 @@
...
@@ -22,12 +22,10 @@
#include "event/DeferEvent.hxx"
#include "event/DeferEvent.hxx"
#include "thread/Mutex.hxx"
#include "thread/Mutex.hxx"
#include "util/Compiler.h"
#include <forward_list>
#include <forward_list>
#include <string>
#include <string>
struct
Song
;
class
DatabaseListener
;
class
DatabaseListener
;
/**
/**
...
...
src/db/update/UpdateIO.cxx
View file @
d663f814
...
@@ -26,8 +26,6 @@
...
@@ -26,8 +26,6 @@
#include "fs/AllocatedPath.hxx"
#include "fs/AllocatedPath.hxx"
#include "Log.hxx"
#include "Log.hxx"
#include <stdexcept>
#include <errno.h>
#include <errno.h>
bool
bool
...
...
src/db/update/Walk.cxx
View file @
d663f814
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
#include "util/UriUtil.hxx"
#include "util/UriUtil.hxx"
#include "Log.hxx"
#include "Log.hxx"
#include <
stdexcept
>
#include <
exception
>
#include <memory>
#include <memory>
#include <assert.h>
#include <assert.h>
...
...
src/decoder/DecoderAPI.hxx
View file @
d663f814
...
@@ -44,8 +44,6 @@
...
@@ -44,8 +44,6 @@
#include <stdint.h>
#include <stdint.h>
class
DecoderClient
;
/**
/**
* Throw an instance of this class to stop decoding the current song
* Throw an instance of this class to stop decoding the current song
* (successfully). It can be used to jump out of all of a decoder's
* (successfully). It can be used to jump out of all of a decoder's
...
...
src/decoder/Reader.hxx
View file @
d663f814
...
@@ -21,7 +21,6 @@
...
@@ -21,7 +21,6 @@
#define MPD_DECODER_READER_HXX
#define MPD_DECODER_READER_HXX
#include "fs/io/Reader.hxx"
#include "fs/io/Reader.hxx"
#include "util/Compiler.h"
class
DecoderClient
;
class
DecoderClient
;
class
InputStream
;
class
InputStream
;
...
...
src/decoder/Thread.cxx
View file @
d663f814
...
@@ -35,7 +35,6 @@
...
@@ -35,7 +35,6 @@
#include "util/RuntimeError.hxx"
#include "util/RuntimeError.hxx"
#include "util/Domain.hxx"
#include "util/Domain.hxx"
#include "util/ScopeExit.hxx"
#include "util/ScopeExit.hxx"
#include "util/StringCompare.hxx"
#include "thread/Name.hxx"
#include "thread/Name.hxx"
#include "tag/ApeReplayGain.hxx"
#include "tag/ApeReplayGain.hxx"
#include "Log.hxx"
#include "Log.hxx"
...
...
src/decoder/plugins/DsdLib.cxx
View file @
d663f814
...
@@ -33,8 +33,6 @@
...
@@ -33,8 +33,6 @@
#include <id3tag.h>
#include <id3tag.h>
#endif
#endif
#include <stdexcept>
#include <string.h>
#include <string.h>
#include <stdlib.h>
#include <stdlib.h>
...
...
src/decoder/plugins/DsdiffDecoderPlugin.cxx
View file @
d663f814
...
@@ -36,7 +36,6 @@
...
@@ -36,7 +36,6 @@
#include "util/StringView.hxx"
#include "util/StringView.hxx"
#include "tag/Handler.hxx"
#include "tag/Handler.hxx"
#include "DsdLib.hxx"
#include "DsdLib.hxx"
#include "Log.hxx"
struct
DsdiffHeader
{
struct
DsdiffHeader
{
DsdId
id
;
DsdId
id
;
...
...
src/decoder/plugins/DsfDecoderPlugin.cxx
View file @
d663f814
...
@@ -36,7 +36,6 @@
...
@@ -36,7 +36,6 @@
#include "util/ByteOrder.hxx"
#include "util/ByteOrder.hxx"
#include "DsdLib.hxx"
#include "DsdLib.hxx"
#include "tag/Handler.hxx"
#include "tag/Handler.hxx"
#include "Log.hxx"
#include <string.h>
#include <string.h>
...
...
src/decoder/plugins/FaadDecoderPlugin.cxx
View file @
d663f814
...
@@ -31,7 +31,6 @@
...
@@ -31,7 +31,6 @@
#include <neaacdec.h>
#include <neaacdec.h>
#include <cmath>
#include <cmath>
#include <exception>
#include <assert.h>
#include <assert.h>
#include <string.h>
#include <string.h>
...
...
src/decoder/plugins/FfmpegDecoderPlugin.cxx
View file @
d663f814
...
@@ -24,7 +24,6 @@
...
@@ -24,7 +24,6 @@
#include "FfmpegDecoderPlugin.hxx"
#include "FfmpegDecoderPlugin.hxx"
#include "lib/ffmpeg/Domain.hxx"
#include "lib/ffmpeg/Domain.hxx"
#include "lib/ffmpeg/Error.hxx"
#include "lib/ffmpeg/Error.hxx"
#include "lib/ffmpeg/LogError.hxx"
#include "lib/ffmpeg/Init.hxx"
#include "lib/ffmpeg/Init.hxx"
#include "lib/ffmpeg/Buffer.hxx"
#include "lib/ffmpeg/Buffer.hxx"
#include "lib/ffmpeg/Frame.hxx"
#include "lib/ffmpeg/Frame.hxx"
...
...
src/decoder/plugins/FfmpegIo.cxx
View file @
d663f814
...
@@ -24,8 +24,6 @@
...
@@ -24,8 +24,6 @@
#include "../DecoderAPI.hxx"
#include "../DecoderAPI.hxx"
#include "input/InputStream.hxx"
#include "input/InputStream.hxx"
#include <exception>
AvioStream
::~
AvioStream
()
AvioStream
::~
AvioStream
()
{
{
if
(
io
!=
nullptr
)
{
if
(
io
!=
nullptr
)
{
...
...
src/decoder/plugins/MadDecoderPlugin.cxx
View file @
d663f814
...
@@ -21,10 +21,8 @@
...
@@ -21,10 +21,8 @@
#include "MadDecoderPlugin.hxx"
#include "MadDecoderPlugin.hxx"
#include "../DecoderAPI.hxx"
#include "../DecoderAPI.hxx"
#include "input/InputStream.hxx"
#include "input/InputStream.hxx"
#include "config/Block.hxx"
#include "tag/Id3Scan.hxx"
#include "tag/Id3Scan.hxx"
#include "tag/Id3ReplayGain.hxx"
#include "tag/Id3ReplayGain.hxx"
#include "tag/Rva2.hxx"
#include "tag/Handler.hxx"
#include "tag/Handler.hxx"
#include "tag/ReplayGain.hxx"
#include "tag/ReplayGain.hxx"
#include "tag/MixRamp.hxx"
#include "tag/MixRamp.hxx"
...
@@ -40,8 +38,6 @@
...
@@ -40,8 +38,6 @@
#include <id3tag.h>
#include <id3tag.h>
#endif
#endif
#include <stdexcept>
#include <assert.h>
#include <assert.h>
#include <stdlib.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdio.h>
...
...
src/decoder/plugins/MpcdecDecoderPlugin.cxx
View file @
d663f814
...
@@ -31,8 +31,6 @@
...
@@ -31,8 +31,6 @@
#include <mpc/mpcdec.h>
#include <mpc/mpcdec.h>
#include <exception>
#include <math.h>
#include <math.h>
struct
mpc_decoder_data
{
struct
mpc_decoder_data
{
...
...
src/decoder/plugins/OggDecoder.cxx
View file @
d663f814
...
@@ -21,8 +21,6 @@
...
@@ -21,8 +21,6 @@
#include "lib/xiph/OggFind.hxx"
#include "lib/xiph/OggFind.hxx"
#include "input/InputStream.hxx"
#include "input/InputStream.hxx"
#include <exception>
/**
/**
* Load the end-of-stream packet and restore the previous file
* Load the end-of-stream packet and restore the previous file
* position.
* position.
...
...
src/decoder/plugins/OpusTags.cxx
View file @
d663f814
...
@@ -26,8 +26,6 @@
...
@@ -26,8 +26,6 @@
#include "util/NumberParser.hxx"
#include "util/NumberParser.hxx"
#include "util/StringView.hxx"
#include "util/StringView.hxx"
#include <string>
#include <stdint.h>
#include <stdint.h>
gcc_pure
gcc_pure
...
...
src/decoder/plugins/PcmDecoderPlugin.cxx
View file @
d663f814
...
@@ -38,7 +38,6 @@
...
@@ -38,7 +38,6 @@
#include <exception>
#include <exception>
#include <assert.h>
#include <string.h>
#include <string.h>
static
constexpr
Domain
pcm_decoder_domain
(
"pcm_decoder"
);
static
constexpr
Domain
pcm_decoder_domain
(
"pcm_decoder"
);
...
...
src/decoder/plugins/WavpackDecoderPlugin.cxx
View file @
d663f814
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
#include <wavpack/wavpack.h>
#include <wavpack/wavpack.h>
#include <
stdexcept
>
#include <
algorithm
>
#include <memory>
#include <memory>
#include <cstdlib>
#include <cstdlib>
...
...
src/decoder/plugins/WildmidiDecoderPlugin.cxx
View file @
d663f814
...
@@ -25,7 +25,6 @@
...
@@ -25,7 +25,6 @@
#include "fs/AllocatedPath.hxx"
#include "fs/AllocatedPath.hxx"
#include "fs/FileSystem.hxx"
#include "fs/FileSystem.hxx"
#include "fs/Path.hxx"
#include "fs/Path.hxx"
#include "Log.hxx"
#include "PluginUnavailable.hxx"
#include "PluginUnavailable.hxx"
extern
"C"
{
extern
"C"
{
...
...
src/encoder/plugins/FlacEncoderPlugin.cxx
View file @
d663f814
...
@@ -21,7 +21,6 @@
...
@@ -21,7 +21,6 @@
#include "../EncoderAPI.hxx"
#include "../EncoderAPI.hxx"
#include "AudioFormat.hxx"
#include "AudioFormat.hxx"
#include "pcm/Buffer.hxx"
#include "pcm/Buffer.hxx"
#include "config/Domain.hxx"
#include "util/DynamicFifoBuffer.hxx"
#include "util/DynamicFifoBuffer.hxx"
#include "util/RuntimeError.hxx"
#include "util/RuntimeError.hxx"
...
...
src/encoder/plugins/LameEncoderPlugin.cxx
View file @
d663f814
...
@@ -20,7 +20,6 @@
...
@@ -20,7 +20,6 @@
#include "LameEncoderPlugin.hxx"
#include "LameEncoderPlugin.hxx"
#include "../EncoderAPI.hxx"
#include "../EncoderAPI.hxx"
#include "AudioFormat.hxx"
#include "AudioFormat.hxx"
#include "config/Domain.hxx"
#include "util/NumberParser.hxx"
#include "util/NumberParser.hxx"
#include "util/ReusableArray.hxx"
#include "util/ReusableArray.hxx"
#include "util/RuntimeError.hxx"
#include "util/RuntimeError.hxx"
...
...
src/encoder/plugins/OpusEncoderPlugin.cxx
View file @
d663f814
...
@@ -20,7 +20,6 @@
...
@@ -20,7 +20,6 @@
#include "OpusEncoderPlugin.hxx"
#include "OpusEncoderPlugin.hxx"
#include "OggEncoder.hxx"
#include "OggEncoder.hxx"
#include "AudioFormat.hxx"
#include "AudioFormat.hxx"
#include "config/Domain.hxx"
#include "util/ByteOrder.hxx"
#include "util/ByteOrder.hxx"
#include "util/StringUtil.hxx"
#include "util/StringUtil.hxx"
...
...
src/encoder/plugins/ShineEncoderPlugin.cxx
View file @
d663f814
...
@@ -20,7 +20,6 @@
...
@@ -20,7 +20,6 @@
#include "ShineEncoderPlugin.hxx"
#include "ShineEncoderPlugin.hxx"
#include "../EncoderAPI.hxx"
#include "../EncoderAPI.hxx"
#include "AudioFormat.hxx"
#include "AudioFormat.hxx"
#include "config/Domain.hxx"
#include "util/DynamicFifoBuffer.hxx"
#include "util/DynamicFifoBuffer.hxx"
#include "util/RuntimeError.hxx"
#include "util/RuntimeError.hxx"
...
...
src/encoder/plugins/TwolameEncoderPlugin.cxx
View file @
d663f814
...
@@ -20,7 +20,6 @@
...
@@ -20,7 +20,6 @@
#include "TwolameEncoderPlugin.hxx"
#include "TwolameEncoderPlugin.hxx"
#include "../EncoderAPI.hxx"
#include "../EncoderAPI.hxx"
#include "AudioFormat.hxx"
#include "AudioFormat.hxx"
#include "config/Domain.hxx"
#include "util/NumberParser.hxx"
#include "util/NumberParser.hxx"
#include "util/RuntimeError.hxx"
#include "util/RuntimeError.hxx"
#include "util/Domain.hxx"
#include "util/Domain.hxx"
...
...
src/event/BufferedSocket.cxx
View file @
d663f814
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
#include "net/SocketError.hxx"
#include "net/SocketError.hxx"
#include "util/Compiler.h"
#include "util/Compiler.h"
#include <
algorithm
>
#include <
stdexcept
>
BufferedSocket
::
ssize_t
BufferedSocket
::
ssize_t
BufferedSocket
::
DirectRead
(
void
*
data
,
size_t
length
)
noexcept
BufferedSocket
::
DirectRead
(
void
*
data
,
size_t
length
)
noexcept
...
...
src/event/Call.cxx
View file @
d663f814
...
@@ -22,7 +22,6 @@
...
@@ -22,7 +22,6 @@
#include "DeferEvent.hxx"
#include "DeferEvent.hxx"
#include "thread/Mutex.hxx"
#include "thread/Mutex.hxx"
#include "thread/Cond.hxx"
#include "thread/Cond.hxx"
#include "util/Compiler.h"
#include <exception>
#include <exception>
...
...
src/event/MultiSocketMonitor.hxx
View file @
d663f814
...
@@ -23,7 +23,6 @@
...
@@ -23,7 +23,6 @@
#include "IdleMonitor.hxx"
#include "IdleMonitor.hxx"
#include "TimerEvent.hxx"
#include "TimerEvent.hxx"
#include "SocketMonitor.hxx"
#include "SocketMonitor.hxx"
#include "util/Compiler.h"
#include <forward_list>
#include <forward_list>
#include <iterator>
#include <iterator>
...
...
src/event/ServerSocket.cxx
View file @
d663f814
...
@@ -23,7 +23,6 @@
...
@@ -23,7 +23,6 @@
#include "net/IPv6Address.hxx"
#include "net/IPv6Address.hxx"
#include "net/StaticSocketAddress.hxx"
#include "net/StaticSocketAddress.hxx"
#include "net/AllocatedSocketAddress.hxx"
#include "net/AllocatedSocketAddress.hxx"
#include "net/SocketAddress.hxx"
#include "net/SocketUtil.hxx"
#include "net/SocketUtil.hxx"
#include "net/SocketError.hxx"
#include "net/SocketError.hxx"
#include "net/UniqueSocketDescriptor.hxx"
#include "net/UniqueSocketDescriptor.hxx"
...
@@ -37,7 +36,7 @@
...
@@ -37,7 +36,7 @@
#include "Log.hxx"
#include "Log.hxx"
#include <string>
#include <string>
#include <
algorithm
>
#include <
utility
>
#include <assert.h>
#include <assert.h>
...
...
src/event/SocketMonitor.cxx
View file @
d663f814
...
@@ -20,13 +20,9 @@
...
@@ -20,13 +20,9 @@
#include "SocketMonitor.hxx"
#include "SocketMonitor.hxx"
#include "Loop.hxx"
#include "Loop.hxx"
#include <
assert.h
>
#include <
utility
>
#ifdef _WIN32
#include <assert.h>
#include <winsock2.h>
#else
#include <sys/socket.h>
#endif
void
void
SocketMonitor
::
Dispatch
(
unsigned
flags
)
noexcept
SocketMonitor
::
Dispatch
(
unsigned
flags
)
noexcept
...
...
src/filter/plugins/AutoConvertFilterPlugin.cxx
View file @
d663f814
...
@@ -19,7 +19,6 @@
...
@@ -19,7 +19,6 @@
#include "AutoConvertFilterPlugin.hxx"
#include "AutoConvertFilterPlugin.hxx"
#include "ConvertFilterPlugin.hxx"
#include "ConvertFilterPlugin.hxx"
#include "filter/FilterPlugin.hxx"
#include "filter/Filter.hxx"
#include "filter/Filter.hxx"
#include "filter/Prepared.hxx"
#include "filter/Prepared.hxx"
#include "AudioFormat.hxx"
#include "AudioFormat.hxx"
...
...
src/filter/plugins/ConvertFilterPlugin.cxx
View file @
d663f814
...
@@ -21,11 +21,9 @@
...
@@ -21,11 +21,9 @@
#include "filter/Filter.hxx"
#include "filter/Filter.hxx"
#include "filter/Prepared.hxx"
#include "filter/Prepared.hxx"
#include "pcm/Convert.hxx"
#include "pcm/Convert.hxx"
#include "util/Manual.hxx"
#include "util/ConstBuffer.hxx"
#include "util/ConstBuffer.hxx"
#include "AudioFormat.hxx"
#include "AudioFormat.hxx"
#include <stdexcept>
#include <memory>
#include <memory>
#include <assert.h>
#include <assert.h>
...
...
src/filter/plugins/FfmpegFilterPlugin.cxx
View file @
d663f814
...
@@ -22,10 +22,8 @@
...
@@ -22,10 +22,8 @@
#include "filter/FilterPlugin.hxx"
#include "filter/FilterPlugin.hxx"
#include "filter/Filter.hxx"
#include "filter/Filter.hxx"
#include "filter/Prepared.hxx"
#include "filter/Prepared.hxx"
#include "filter/FilterRegistry.hxx"
#include "lib/ffmpeg/Filter.hxx"
#include "lib/ffmpeg/Filter.hxx"
#include "config/Block.hxx"
#include "config/Block.hxx"
#include "AudioFormat.hxx"
class
PreparedFfmpegFilter
final
:
public
PreparedFilter
{
class
PreparedFfmpegFilter
final
:
public
PreparedFilter
{
const
char
*
const
graph_string
;
const
char
*
const
graph_string
;
...
...
src/filter/plugins/NullFilterPlugin.cxx
View file @
d663f814
...
@@ -28,7 +28,6 @@
...
@@ -28,7 +28,6 @@
#include "filter/FilterPlugin.hxx"
#include "filter/FilterPlugin.hxx"
#include "filter/NullFilter.hxx"
#include "filter/NullFilter.hxx"
#include "filter/Prepared.hxx"
#include "filter/Prepared.hxx"
#include "AudioFormat.hxx"
#include "util/Compiler.h"
#include "util/Compiler.h"
class
PreparedNullFilter
final
:
public
PreparedFilter
{
class
PreparedNullFilter
final
:
public
PreparedFilter
{
...
...
src/filter/plugins/RouteFilterPlugin.cxx
View file @
d663f814
...
@@ -40,7 +40,6 @@
...
@@ -40,7 +40,6 @@
*/
*/
#include "RouteFilterPlugin.hxx"
#include "RouteFilterPlugin.hxx"
#include "config/Domain.hxx"
#include "config/Block.hxx"
#include "config/Block.hxx"
#include "AudioFormat.hxx"
#include "AudioFormat.hxx"
#include "filter/FilterPlugin.hxx"
#include "filter/FilterPlugin.hxx"
...
@@ -53,8 +52,8 @@
...
@@ -53,8 +52,8 @@
#include "util/ConstBuffer.hxx"
#include "util/ConstBuffer.hxx"
#include "util/WritableBuffer.hxx"
#include "util/WritableBuffer.hxx"
#include <algorithm>
#include <array>
#include <array>
#include <stdexcept>
#include <string.h>
#include <string.h>
#include <stdint.h>
#include <stdint.h>
...
...
src/filter/plugins/VolumeFilterPlugin.cxx
View file @
d663f814
...
@@ -24,8 +24,6 @@
...
@@ -24,8 +24,6 @@
#include "AudioFormat.hxx"
#include "AudioFormat.hxx"
#include "util/ConstBuffer.hxx"
#include "util/ConstBuffer.hxx"
#include <stdexcept>
class
VolumeFilter
final
:
public
Filter
{
class
VolumeFilter
final
:
public
Filter
{
PcmVolume
pv
;
PcmVolume
pv
;
...
...
src/fs/AllocatedPath.cxx
View file @
d663f814
...
@@ -18,13 +18,8 @@
...
@@ -18,13 +18,8 @@
*/
*/
#include "AllocatedPath.hxx"
#include "AllocatedPath.hxx"
#include "Domain.hxx"
#include "Charset.hxx"
#include "Charset.hxx"
#include "Features.hxx"
#include "Features.hxx"
#include "util/Compiler.h"
#include "config.h"
#include <exception>
/* no inlining, please */
/* no inlining, please */
AllocatedPath
::~
AllocatedPath
()
noexcept
=
default
;
AllocatedPath
::~
AllocatedPath
()
noexcept
=
default
;
...
...
src/fs/Charset.cxx
View file @
d663f814
...
@@ -31,7 +31,6 @@
...
@@ -31,7 +31,6 @@
#endif
#endif
#include <algorithm>
#include <algorithm>
#include <stdexcept>
#include <assert.h>
#include <assert.h>
#include <string.h>
#include <string.h>
...
...
src/fs/CheckFile.cxx
View file @
d663f814
...
@@ -26,8 +26,6 @@
...
@@ -26,8 +26,6 @@
#include "DirectoryReader.hxx"
#include "DirectoryReader.hxx"
#include "system/Error.hxx"
#include "system/Error.hxx"
#include <errno.h>
void
void
CheckDirectoryReadable
(
Path
path_fs
)
CheckDirectoryReadable
(
Path
path_fs
)
try
{
try
{
...
...
src/fs/io/GunzipReader.hxx
View file @
d663f814
...
@@ -22,7 +22,6 @@
...
@@ -22,7 +22,6 @@
#include "Reader.hxx"
#include "Reader.hxx"
#include "util/StaticFifoBuffer.hxx"
#include "util/StaticFifoBuffer.hxx"
#include "util/Compiler.h"
#include <zlib.h>
#include <zlib.h>
...
...
src/fs/io/GzipOutputStream.hxx
View file @
d663f814
...
@@ -31,7 +31,6 @@
...
@@ -31,7 +31,6 @@
#define GZIP_OUTPUT_STREAM_HXX
#define GZIP_OUTPUT_STREAM_HXX
#include "OutputStream.hxx"
#include "OutputStream.hxx"
#include "util/Compiler.h"
#include <zlib.h>
#include <zlib.h>
...
...
src/fs/io/PeekReader.hxx
View file @
d663f814
...
@@ -21,7 +21,6 @@
...
@@ -21,7 +21,6 @@
#define MPD_PEEK_READER_HXX
#define MPD_PEEK_READER_HXX
#include "Reader.hxx"
#include "Reader.hxx"
#include "util/Compiler.h"
#include <stdint.h>
#include <stdint.h>
...
...
src/fs/io/TextFile.hxx
View file @
d663f814
...
@@ -20,7 +20,6 @@
...
@@ -20,7 +20,6 @@
#ifndef MPD_TEXT_FILE_HXX
#ifndef MPD_TEXT_FILE_HXX
#define MPD_TEXT_FILE_HXX
#define MPD_TEXT_FILE_HXX
#include "util/Compiler.h"
#include "config.h"
#include "config.h"
#include <memory>
#include <memory>
...
...
src/input/BufferedInputStream.cxx
View file @
d663f814
...
@@ -18,8 +18,6 @@
...
@@ -18,8 +18,6 @@
*/
*/
#include "BufferedInputStream.hxx"
#include "BufferedInputStream.hxx"
#include "thread/Cond.hxx"
#include "thread/Name.hxx"
#include <string.h>
#include <string.h>
...
...
src/input/BufferingInputStream.cxx
View file @
d663f814
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
*/
*/
#include "BufferingInputStream.hxx"
#include "BufferingInputStream.hxx"
#include "
thread/Cond
.hxx"
#include "
InputStream
.hxx"
#include "thread/Name.hxx"
#include "thread/Name.hxx"
#include <string.h>
#include <string.h>
...
...
src/input/BufferingInputStream.hxx
View file @
d663f814
...
@@ -20,10 +20,10 @@
...
@@ -20,10 +20,10 @@
#ifndef MPD_BUFFERING_INPUT_STREAM_BUFFER_HXX
#ifndef MPD_BUFFERING_INPUT_STREAM_BUFFER_HXX
#define MPD_BUFFERING_INPUT_STREAM_BUFFER_HXX
#define MPD_BUFFERING_INPUT_STREAM_BUFFER_HXX
#include "InputStream.hxx"
#include "Ptr.hxx"
#include "Ptr.hxx"
#include "Handler.hxx"
#include "Handler.hxx"
#include "thread/Thread.hxx"
#include "thread/Thread.hxx"
#include "thread/Mutex.hxx"
#include "thread/Cond.hxx"
#include "thread/Cond.hxx"
#include "util/SparseBuffer.hxx"
#include "util/SparseBuffer.hxx"
...
...
src/input/ProxyInputStream.cxx
View file @
d663f814
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
#include "ProxyInputStream.hxx"
#include "ProxyInputStream.hxx"
#include "tag/Tag.hxx"
#include "tag/Tag.hxx"
#include <
stdexcept
>
#include <
utility
>
ProxyInputStream
::
ProxyInputStream
(
InputStreamPtr
_input
)
noexcept
ProxyInputStream
::
ProxyInputStream
(
InputStreamPtr
_input
)
noexcept
:
InputStream
(
_input
->
GetURI
(),
_input
->
mutex
),
:
InputStream
(
_input
->
GetURI
(),
_input
->
mutex
),
...
...
src/input/Reader.hxx
View file @
d663f814
...
@@ -21,9 +21,7 @@
...
@@ -21,9 +21,7 @@
#define MPD_INPUT_READER_HXX
#define MPD_INPUT_READER_HXX
#include "fs/io/Reader.hxx"
#include "fs/io/Reader.hxx"
#include "util/Compiler.h"
struct
Decoder
;
class
InputStream
;
class
InputStream
;
/**
/**
...
...
src/input/TextInputStream.cxx
View file @
d663f814
...
@@ -20,9 +20,6 @@
...
@@ -20,9 +20,6 @@
#include "TextInputStream.hxx"
#include "TextInputStream.hxx"
#include "InputStream.hxx"
#include "InputStream.hxx"
#include "util/TextFile.hxx"
#include "util/TextFile.hxx"
#include "Log.hxx"
#include <stdexcept>
#include <assert.h>
#include <assert.h>
...
...
src/input/cache/Item.cxx
View file @
d663f814
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
#include "Item.hxx"
#include "Item.hxx"
#include "Lease.hxx"
#include "Lease.hxx"
#include "input/InputStream.hxx"
#include <assert.h>
#include <assert.h>
...
...
src/input/cache/Item.hxx
View file @
d663f814
...
@@ -22,12 +22,10 @@
...
@@ -22,12 +22,10 @@
#include "input/BufferingInputStream.hxx"
#include "input/BufferingInputStream.hxx"
#include "thread/Mutex.hxx"
#include "thread/Mutex.hxx"
#include "util/SparseBuffer.hxx"
#include <boost/intrusive/list.hpp>
#include <boost/intrusive/list.hpp>
#include <boost/intrusive/set_hook.hpp>
#include <boost/intrusive/set_hook.hpp>
#include <memory>
#include <string>
#include <string>
class
InputCacheLease
;
class
InputCacheLease
;
...
...
src/input/cache/Manager.hxx
View file @
d663f814
...
@@ -20,7 +20,6 @@
...
@@ -20,7 +20,6 @@
#ifndef MPD_INPUT_CACHE_MANAGER_HXX
#ifndef MPD_INPUT_CACHE_MANAGER_HXX
#define MPD_INPUT_CACHE_MANAGER_HXX
#define MPD_INPUT_CACHE_MANAGER_HXX
#include "input/Offset.hxx"
#include "thread/Mutex.hxx"
#include "thread/Mutex.hxx"
#include "util/Compiler.h"
#include "util/Compiler.h"
...
...
src/input/plugins/AlsaInputPlugin.cxx
View file @
d663f814
...
@@ -30,11 +30,9 @@
...
@@ -30,11 +30,9 @@
#include "../InputPlugin.hxx"
#include "../InputPlugin.hxx"
#include "../AsyncInputStream.hxx"
#include "../AsyncInputStream.hxx"
#include "event/Call.hxx"
#include "event/Call.hxx"
#include "thread/Cond.hxx"
#include "config/Block.hxx"
#include "config/Block.hxx"
#include "util/Domain.hxx"
#include "util/Domain.hxx"
#include "util/RuntimeError.hxx"
#include "util/RuntimeError.hxx"
#include "util/StringCompare.hxx"
#include "util/ASCII.hxx"
#include "util/ASCII.hxx"
#include "util/DivideString.hxx"
#include "util/DivideString.hxx"
#include "AudioParser.hxx"
#include "AudioParser.hxx"
...
...
src/input/plugins/CdioParanoiaInputPlugin.cxx
View file @
d663f814
...
@@ -21,7 +21,6 @@
...
@@ -21,7 +21,6 @@
* CD-Audio handling (requires libcdio_paranoia)
* CD-Audio handling (requires libcdio_paranoia)
*/
*/
#include "config.h"
#include "CdioParanoiaInputPlugin.hxx"
#include "CdioParanoiaInputPlugin.hxx"
#include "lib/cdio/Paranoia.hxx"
#include "lib/cdio/Paranoia.hxx"
#include "../InputStream.hxx"
#include "../InputStream.hxx"
...
@@ -34,7 +33,6 @@
...
@@ -34,7 +33,6 @@
#include "fs/AllocatedPath.hxx"
#include "fs/AllocatedPath.hxx"
#include "Log.hxx"
#include "Log.hxx"
#include "config/Block.hxx"
#include "config/Block.hxx"
#include "config/Domain.hxx"
#include <stdio.h>
#include <stdio.h>
#include <stdint.h>
#include <stdint.h>
...
...
src/input/plugins/CurlInputPlugin.cxx
View file @
d663f814
...
@@ -19,7 +19,6 @@
...
@@ -19,7 +19,6 @@
#include "CurlInputPlugin.hxx"
#include "CurlInputPlugin.hxx"
#include "lib/curl/Error.hxx"
#include "lib/curl/Error.hxx"
#include "lib/curl/Easy.hxx"
#include "lib/curl/Global.hxx"
#include "lib/curl/Global.hxx"
#include "lib/curl/Init.hxx"
#include "lib/curl/Init.hxx"
#include "lib/curl/Request.hxx"
#include "lib/curl/Request.hxx"
...
@@ -36,10 +35,8 @@
...
@@ -36,10 +35,8 @@
#include "event/Call.hxx"
#include "event/Call.hxx"
#include "event/Loop.hxx"
#include "event/Loop.hxx"
#include "util/ASCII.hxx"
#include "util/ASCII.hxx"
#include "util/StringUtil.hxx"
#include "util/StringFormat.hxx"
#include "util/StringFormat.hxx"
#include "util/NumberParser.hxx"
#include "util/NumberParser.hxx"
#include "util/RuntimeError.hxx"
#include "util/Domain.hxx"
#include "util/Domain.hxx"
#include "Log.hxx"
#include "Log.hxx"
#include "PluginUnavailable.hxx"
#include "PluginUnavailable.hxx"
...
...
src/input/plugins/FfmpegInputPlugin.cxx
View file @
d663f814
...
@@ -23,15 +23,9 @@
...
@@ -23,15 +23,9 @@
#include "FfmpegInputPlugin.hxx"
#include "FfmpegInputPlugin.hxx"
#include "lib/ffmpeg/IOContext.hxx"
#include "lib/ffmpeg/IOContext.hxx"
#include "lib/ffmpeg/Init.hxx"
#include "lib/ffmpeg/Init.hxx"
#include "lib/ffmpeg/Error.hxx"
#include "../InputStream.hxx"
#include "../InputStream.hxx"
#include "PluginUnavailable.hxx"
#include "PluginUnavailable.hxx"
#include "util/StringAPI.hxx"
#include "../InputPlugin.hxx"
#include "../InputPlugin.hxx"
#include <iostream>
#include <exception>
#include <typeinfo>
#include <stdexcept>
class
FfmpegInputStream
final
:
public
InputStream
{
class
FfmpegInputStream
final
:
public
InputStream
{
Ffmpeg
::
IOContext
io
;
Ffmpeg
::
IOContext
io
;
...
@@ -90,7 +84,7 @@ input_ffmpeg_protocols() {
...
@@ -90,7 +84,7 @@ input_ffmpeg_protocols() {
protocols
.
emplace
(
schema
);
protocols
.
emplace
(
schema
);
}
}
}
}
return
protocols
;
return
protocols
;
}
}
...
...
src/input/plugins/FileInputPlugin.cxx
View file @
d663f814
...
@@ -19,7 +19,6 @@
...
@@ -19,7 +19,6 @@
#include "FileInputPlugin.hxx"
#include "FileInputPlugin.hxx"
#include "../InputStream.hxx"
#include "../InputStream.hxx"
#include "../InputPlugin.hxx"
#include "fs/Path.hxx"
#include "fs/Path.hxx"
#include "fs/FileInfo.hxx"
#include "fs/FileInfo.hxx"
#include "fs/io/FileReader.hxx"
#include "fs/io/FileReader.hxx"
...
...
src/input/plugins/MmsInputPlugin.cxx
View file @
d663f814
...
@@ -21,7 +21,6 @@
...
@@ -21,7 +21,6 @@
#include "input/ThreadInputStream.hxx"
#include "input/ThreadInputStream.hxx"
#include "input/InputPlugin.hxx"
#include "input/InputPlugin.hxx"
#include "system/Error.hxx"
#include "system/Error.hxx"
#include "util/ASCII.hxx"
#include <libmms/mmsx.h>
#include <libmms/mmsx.h>
...
...
src/input/plugins/NfsInputPlugin.cxx
View file @
d663f814
...
@@ -22,7 +22,6 @@
...
@@ -22,7 +22,6 @@
#include "../InputPlugin.hxx"
#include "../InputPlugin.hxx"
#include "lib/nfs/Glue.hxx"
#include "lib/nfs/Glue.hxx"
#include "lib/nfs/FileReader.hxx"
#include "lib/nfs/FileReader.hxx"
#include "util/ASCII.hxx"
/**
/**
* Do not buffer more than this number of bytes. It should be a
* Do not buffer more than this number of bytes. It should be a
...
...
src/input/plugins/QobuzInputPlugin.cxx
View file @
d663f814
...
@@ -31,11 +31,8 @@
...
@@ -31,11 +31,8 @@
#include "thread/Mutex.hxx"
#include "thread/Mutex.hxx"
#include "util/StringCompare.hxx"
#include "util/StringCompare.hxx"
#include <stdexcept>
#include <memory>
#include <memory>
#include <time.h>
static
QobuzClient
*
qobuz_client
;
static
QobuzClient
*
qobuz_client
;
class
QobuzInputStream
final
class
QobuzInputStream
final
...
...
src/input/plugins/QobuzLoginRequest.cxx
View file @
d663f814
...
@@ -22,7 +22,6 @@
...
@@ -22,7 +22,6 @@
#include "QobuzSession.hxx"
#include "QobuzSession.hxx"
#include "lib/curl/Form.hxx"
#include "lib/curl/Form.hxx"
#include "lib/yajl/Callbacks.hxx"
#include "lib/yajl/Callbacks.hxx"
#include "util/RuntimeError.hxx"
using
Wrapper
=
Yajl
::
CallbacksWrapper
<
QobuzLoginRequest
::
ResponseParser
>
;
using
Wrapper
=
Yajl
::
CallbacksWrapper
<
QobuzLoginRequest
::
ResponseParser
>
;
static
constexpr
yajl_callbacks
parse_callbacks
=
{
static
constexpr
yajl_callbacks
parse_callbacks
=
{
...
...
src/input/plugins/QobuzTrackRequest.cxx
View file @
d663f814
...
@@ -21,7 +21,6 @@
...
@@ -21,7 +21,6 @@
#include "QobuzErrorParser.hxx"
#include "QobuzErrorParser.hxx"
#include "QobuzClient.hxx"
#include "QobuzClient.hxx"
#include "lib/yajl/Callbacks.hxx"
#include "lib/yajl/Callbacks.hxx"
#include "util/RuntimeError.hxx"
using
Wrapper
=
Yajl
::
CallbacksWrapper
<
QobuzTrackRequest
::
ResponseParser
>
;
using
Wrapper
=
Yajl
::
CallbacksWrapper
<
QobuzTrackRequest
::
ResponseParser
>
;
static
constexpr
yajl_callbacks
parse_callbacks
=
{
static
constexpr
yajl_callbacks
parse_callbacks
=
{
...
...
src/input/plugins/SmbclientInputPlugin.cxx
View file @
d663f814
...
@@ -25,7 +25,6 @@
...
@@ -25,7 +25,6 @@
#include "../MaybeBufferedInputStream.hxx"
#include "../MaybeBufferedInputStream.hxx"
#include "PluginUnavailable.hxx"
#include "PluginUnavailable.hxx"
#include "system/Error.hxx"
#include "system/Error.hxx"
#include "util/ASCII.hxx"
#include <libsmbclient.h>
#include <libsmbclient.h>
...
...
src/input/plugins/TidalInputPlugin.cxx
View file @
d663f814
...
@@ -34,7 +34,6 @@
...
@@ -34,7 +34,6 @@
#include "util/StringCompare.hxx"
#include "util/StringCompare.hxx"
#include "Log.hxx"
#include "Log.hxx"
#include <stdexcept>
#include <memory>
#include <memory>
static
constexpr
Domain
tidal_domain
(
"tidal"
);
static
constexpr
Domain
tidal_domain
(
"tidal"
);
...
...
src/input/plugins/TidalSessionManager.cxx
View file @
d663f814
...
@@ -18,7 +18,6 @@
...
@@ -18,7 +18,6 @@
*/
*/
#include "TidalSessionManager.hxx"
#include "TidalSessionManager.hxx"
#include "lib/curl/Global.hxx"
#include "util/Domain.hxx"
#include "util/Domain.hxx"
#include "Log.hxx"
#include "Log.hxx"
...
...
src/input/plugins/TidalSessionManager.hxx
View file @
d663f814
...
@@ -30,9 +30,6 @@
...
@@ -30,9 +30,6 @@
#include <memory>
#include <memory>
#include <string>
#include <string>
class
CurlRequest
;
class
TidalLoginRequest
;
/**
/**
* Callback class for #TidalSessionManager.
* Callback class for #TidalSessionManager.
*
*
...
...
src/lib/alsa/Version.cxx
View file @
d663f814
...
@@ -21,6 +21,8 @@
...
@@ -21,6 +21,8 @@
#include <alsa/asoundlib.h>
#include <alsa/asoundlib.h>
#include <stdlib.h>
gcc_pure
gcc_pure
static
uint_least32_t
static
uint_least32_t
ParseAlsaVersion
(
const
char
*
p
)
noexcept
ParseAlsaVersion
(
const
char
*
p
)
noexcept
...
...
src/lib/curl/Init.cxx
View file @
d663f814
...
@@ -32,8 +32,6 @@
...
@@ -32,8 +32,6 @@
#include "event/Call.hxx"
#include "event/Call.hxx"
#include "thread/Mutex.hxx"
#include "thread/Mutex.hxx"
#include <atomic>
#include <assert.h>
#include <assert.h>
Mutex
CurlInit
::
mutex
;
Mutex
CurlInit
::
mutex
;
...
...
src/lib/dbus/Connection.hxx
View file @
d663f814
...
@@ -35,8 +35,7 @@
...
@@ -35,8 +35,7 @@
#include <dbus/dbus.h>
#include <dbus/dbus.h>
#include <algorithm>
#include <utility>
#include <stdexcept>
namespace
ODBus
{
namespace
ODBus
{
...
...
src/lib/dbus/Message.hxx
View file @
d663f814
...
@@ -35,8 +35,8 @@
...
@@ -35,8 +35,8 @@
#include <dbus/dbus.h>
#include <dbus/dbus.h>
#include <algorithm>
#include <stdexcept>
#include <stdexcept>
#include <utility>
namespace
ODBus
{
namespace
ODBus
{
...
...
src/lib/dbus/Watch.hxx
View file @
d663f814
...
@@ -36,7 +36,6 @@
...
@@ -36,7 +36,6 @@
#include "Connection.hxx"
#include "Connection.hxx"
#include "event/SocketMonitor.hxx"
#include "event/SocketMonitor.hxx"
#include "event/DeferEvent.hxx"
#include "event/DeferEvent.hxx"
#include "util/Compiler.h"
#include <dbus/dbus.h>
#include <dbus/dbus.h>
...
...
src/lib/ffmpeg/Init.cxx
View file @
d663f814
...
@@ -37,4 +37,3 @@ FfmpegInit()
...
@@ -37,4 +37,3 @@ FfmpegInit()
av_register_all
();
av_register_all
();
#endif
#endif
}
}
src/lib/ffmpeg/LogCallback.cxx
View file @
d663f814
...
@@ -30,8 +30,6 @@ extern "C" {
...
@@ -30,8 +30,6 @@ extern "C" {
#include <libavutil/log.h>
#include <libavutil/log.h>
}
}
#include <stdio.h>
gcc_const
gcc_const
static
LogLevel
static
LogLevel
FfmpegImportLogLevel
(
int
level
)
noexcept
FfmpegImportLogLevel
(
int
level
)
noexcept
...
...
src/lib/gcrypt/MD5.cxx
View file @
d663f814
...
@@ -31,8 +31,6 @@
...
@@ -31,8 +31,6 @@
#include "Hash.hxx"
#include "Hash.hxx"
#include "util/HexFormat.hxx"
#include "util/HexFormat.hxx"
#include <stdio.h>
std
::
array
<
uint8_t
,
16
>
std
::
array
<
uint8_t
,
16
>
MD5
(
ConstBuffer
<
void
>
input
)
noexcept
MD5
(
ConstBuffer
<
void
>
input
)
noexcept
{
{
...
...
src/lib/nfs/Connection.hxx
View file @
d663f814
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
#include "event/SocketMonitor.hxx"
#include "event/SocketMonitor.hxx"
#include "event/TimerEvent.hxx"
#include "event/TimerEvent.hxx"
#include "event/DeferEvent.hxx"
#include "event/DeferEvent.hxx"
#include "util/Compiler.h"
#include <string>
#include <string>
#include <list>
#include <list>
...
...
src/lib/pcre/UniqueRegex.hxx
View file @
d663f814
...
@@ -34,9 +34,8 @@
...
@@ -34,9 +34,8 @@
#define UNIQUE_REGEX_HXX
#define UNIQUE_REGEX_HXX
#include "RegexPointer.hxx"
#include "RegexPointer.hxx"
#include "util/StringView.hxx"
#include <
algorithm
>
#include <
utility
>
#include <pcre.h>
#include <pcre.h>
...
...
src/lib/sqlite/Util.hxx
View file @
d663f814
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
#ifndef MPD_SQLITE_UTIL_HXX
#ifndef MPD_SQLITE_UTIL_HXX
#define MPD_SQLITE_UTIL_HXX
#define MPD_SQLITE_UTIL_HXX
#include "util/Compiler.h"
#include "Error.hxx"
#include "Error.hxx"
#include <sqlite3.h>
#include <sqlite3.h>
...
...
src/lib/upnp/ContentDirectoryService.cxx
View file @
d663f814
...
@@ -21,11 +21,12 @@
...
@@ -21,11 +21,12 @@
#include "UniqueIxml.hxx"
#include "UniqueIxml.hxx"
#include "Device.hxx"
#include "Device.hxx"
#include "ixmlwrap.hxx"
#include "ixmlwrap.hxx"
#include "Action.hxx"
#include "util/UriUtil.hxx"
#include "util/UriUtil.hxx"
#include "util/RuntimeError.hxx"
#include "util/RuntimeError.hxx"
#include "util/SplitString.hxx"
#include "util/SplitString.hxx"
#include <upnptools.h>
ContentDirectoryService
::
ContentDirectoryService
(
const
UPnPDevice
&
device
,
ContentDirectoryService
::
ContentDirectoryService
(
const
UPnPDevice
&
device
,
const
UPnPService
&
service
)
noexcept
const
UPnPService
&
service
)
noexcept
:
m_actionURL
(
uri_apply_base
(
service
.
controlURL
,
device
.
URLBase
)),
:
m_actionURL
(
uri_apply_base
(
service
.
controlURL
,
device
.
URLBase
)),
...
...
src/lib/upnp/Discovery.hxx
View file @
d663f814
...
@@ -28,7 +28,6 @@
...
@@ -28,7 +28,6 @@
#include "lib/curl/Request.hxx"
#include "lib/curl/Request.hxx"
#include "thread/Mutex.hxx"
#include "thread/Mutex.hxx"
#include "event/DeferEvent.hxx"
#include "event/DeferEvent.hxx"
#include "util/Compiler.h"
#include <upnp.h>
#include <upnp.h>
...
@@ -37,7 +36,6 @@
...
@@ -37,7 +36,6 @@
#include <list>
#include <list>
#include <vector>
#include <vector>
#include <string>
#include <string>
#include <memory>
#include <chrono>
#include <chrono>
#if UPNP_VERSION < 10800
#if UPNP_VERSION < 10800
...
...
src/lib/upnp/Util.cxx
View file @
d663f814
...
@@ -19,8 +19,6 @@
...
@@ -19,8 +19,6 @@
#include "Util.hxx"
#include "Util.hxx"
#include <assert.h>
/** Get rid of white space at both ends */
/** Get rid of white space at both ends */
void
void
trimstring
(
std
::
string
&
s
,
const
char
*
ws
)
noexcept
trimstring
(
std
::
string
&
s
,
const
char
*
ws
)
noexcept
...
...
src/lib/upnp/ixmlwrap.hxx
View file @
d663f814
...
@@ -19,8 +19,6 @@
...
@@ -19,8 +19,6 @@
#include <ixml.h>
#include <ixml.h>
#include <string>
namespace
ixmlwrap
{
namespace
ixmlwrap
{
/**
/**
* Retrieve the text content for the first element of given
* Retrieve the text content for the first element of given
...
...
src/lib/xiph/FlacIOHandle.hxx
View file @
d663f814
...
@@ -20,7 +20,6 @@
...
@@ -20,7 +20,6 @@
#ifndef MPD_FLAC_IO_HANDLE_HXX
#ifndef MPD_FLAC_IO_HANDLE_HXX
#define MPD_FLAC_IO_HANDLE_HXX
#define MPD_FLAC_IO_HANDLE_HXX
#include "util/Compiler.h"
#include "input/InputStream.hxx"
#include "input/InputStream.hxx"
#include <FLAC/callback.h>
#include <FLAC/callback.h>
...
...
src/lib/xiph/FlacStreamMetadata.hxx
View file @
d663f814
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
#ifndef MPD_FLAC_STREAM_METADATA_HXX
#ifndef MPD_FLAC_STREAM_METADATA_HXX
#define MPD_FLAC_STREAM_METADATA_HXX
#define MPD_FLAC_STREAM_METADATA_HXX
#include <FLAC/
metadata
.h>
#include <FLAC/
format
.h>
class
TagHandler
;
class
TagHandler
;
class
MixRampInfo
;
class
MixRampInfo
;
...
...
src/lib/xiph/OggVisitor.hxx
View file @
d663f814
...
@@ -25,8 +25,6 @@
...
@@ -25,8 +25,6 @@
#include <ogg/ogg.h>
#include <ogg/ogg.h>
#include <stddef.h>
class
Reader
;
class
Reader
;
/**
/**
...
...
src/mixer/MixerAll.cxx
View file @
d663f814
...
@@ -21,12 +21,9 @@
...
@@ -21,12 +21,9 @@
#include "MixerControl.hxx"
#include "MixerControl.hxx"
#include "MixerInternal.hxx"
#include "MixerInternal.hxx"
#include "MixerList.hxx"
#include "MixerList.hxx"
#include "output/Filtered.hxx"
#include "pcm/Volume.hxx"
#include "pcm/Volume.hxx"
#include "Log.hxx"
#include "Log.hxx"
#include <stdexcept>
#include <assert.h>
#include <assert.h>
gcc_pure
gcc_pure
...
...
src/mixer/MixerType.hxx
View file @
d663f814
...
@@ -20,8 +20,6 @@
...
@@ -20,8 +20,6 @@
#ifndef MPD_MIXER_TYPE_HXX
#ifndef MPD_MIXER_TYPE_HXX
#define MPD_MIXER_TYPE_HXX
#define MPD_MIXER_TYPE_HXX
#include "util/Compiler.h"
enum
class
MixerType
{
enum
class
MixerType
{
/** mixer disabled */
/** mixer disabled */
NONE
,
NONE
,
...
...
src/mixer/plugins/PulseMixerPlugin.cxx
View file @
d663f814
...
@@ -18,7 +18,6 @@
...
@@ -18,7 +18,6 @@
*/
*/
#include "PulseMixerPlugin.hxx"
#include "PulseMixerPlugin.hxx"
#include "lib/pulse/Domain.hxx"
#include "lib/pulse/LogError.hxx"
#include "lib/pulse/LogError.hxx"
#include "lib/pulse/LockGuard.hxx"
#include "lib/pulse/LockGuard.hxx"
#include "mixer/MixerInternal.hxx"
#include "mixer/MixerInternal.hxx"
...
...
src/mixer/plugins/SndioMixerPlugin.cxx
View file @
d663f814
...
@@ -17,11 +17,8 @@
...
@@ -17,11 +17,8 @@
*/
*/
#include "mixer/MixerInternal.hxx"
#include "mixer/MixerInternal.hxx"
#include "mixer/Listener.hxx"
#include "output/plugins/SndioOutputPlugin.hxx"
#include "output/plugins/SndioOutputPlugin.hxx"
#include <sndio.h>
class
SndioMixer
final
:
public
Mixer
{
class
SndioMixer
final
:
public
Mixer
{
SndioOutput
&
output
;
SndioOutput
&
output
;
...
...
src/neighbor/Glue.cxx
View file @
d663f814
...
@@ -23,7 +23,6 @@
...
@@ -23,7 +23,6 @@
#include "NeighborPlugin.hxx"
#include "NeighborPlugin.hxx"
#include "Info.hxx"
#include "Info.hxx"
#include "config/Data.hxx"
#include "config/Data.hxx"
#include "config/Domain.hxx"
#include "config/Block.hxx"
#include "config/Block.hxx"
#include "util/RuntimeError.hxx"
#include "util/RuntimeError.hxx"
...
...
src/neighbor/plugins/SmbclientNeighborPlugin.cxx
View file @
d663f814
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
#include <libsmbclient.h>
#include <libsmbclient.h>
#include <
algorithm
>
#include <
utility
>
class
SmbclientNeighborExplorer
final
:
public
NeighborExplorer
{
class
SmbclientNeighborExplorer
final
:
public
NeighborExplorer
{
struct
Server
{
struct
Server
{
...
...
src/neighbor/plugins/UdisksNeighborPlugin.cxx
View file @
d663f814
...
@@ -36,9 +36,7 @@
...
@@ -36,9 +36,7 @@
#include "util/Manual.hxx"
#include "util/Manual.hxx"
#include "Log.hxx"
#include "Log.hxx"
#include <stdexcept>
#include <string>
#include <string>
#include <list>
#include <map>
#include <map>
static
NeighborInfo
static
NeighborInfo
...
...
src/neighbor/plugins/UpnpNeighborPlugin.cxx
View file @
d663f814
...
@@ -27,8 +27,6 @@
...
@@ -27,8 +27,6 @@
#include "neighbor/Info.hxx"
#include "neighbor/Info.hxx"
#include "Log.hxx"
#include "Log.hxx"
#include <stdexcept>
class
UpnpNeighborExplorer
final
class
UpnpNeighborExplorer
final
:
public
NeighborExplorer
,
UPnPDiscoveryListener
{
:
public
NeighborExplorer
,
UPnPDiscoveryListener
{
struct
Server
{
struct
Server
{
...
...
src/net/AddressInfo.hxx
View file @
d663f814
...
@@ -32,7 +32,6 @@
...
@@ -32,7 +32,6 @@
#include "SocketAddress.hxx"
#include "SocketAddress.hxx"
#include <algorithm>
#include <utility>
#include <utility>
#ifdef _WIN32
#ifdef _WIN32
...
...
src/net/AllocatedSocketAddress.cxx
View file @
d663f814
...
@@ -39,14 +39,6 @@
...
@@ -39,14 +39,6 @@
#include <sys/un.h>
#include <sys/un.h>
#endif
#endif
#ifdef HAVE_TCP
#ifdef _WIN32
#include <ws2tcpip.h>
#else
#include <netinet/in.h>
#endif
#endif
AllocatedSocketAddress
&
AllocatedSocketAddress
&
AllocatedSocketAddress
::
operator
=
(
SocketAddress
src
)
noexcept
AllocatedSocketAddress
::
operator
=
(
SocketAddress
src
)
noexcept
{
{
...
...
src/net/AllocatedSocketAddress.hxx
View file @
d663f814
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
#include "Features.hxx"
#include "Features.hxx"
#include "util/Compiler.h"
#include "util/Compiler.h"
#include <
algorithm
>
#include <
utility
>
#include <stdlib.h>
#include <stdlib.h>
...
...
src/net/Resolver.hxx
View file @
d663f814
...
@@ -33,7 +33,6 @@
...
@@ -33,7 +33,6 @@
#ifndef NET_RESOLVER_HXX
#ifndef NET_RESOLVER_HXX
#define NET_RESOLVER_HXX
#define NET_RESOLVER_HXX
struct
addrinfo
;
class
AddressInfoList
;
class
AddressInfoList
;
/**
/**
...
...
src/net/StaticSocketAddress.cxx
View file @
d663f814
...
@@ -37,14 +37,6 @@
...
@@ -37,14 +37,6 @@
#include <string.h>
#include <string.h>
#ifdef HAVE_TCP
#ifdef _WIN32
#include <ws2tcpip.h>
#else
#include <netinet/in.h>
#endif
#endif
StaticSocketAddress
&
StaticSocketAddress
&
StaticSocketAddress
::
operator
=
(
SocketAddress
other
)
noexcept
StaticSocketAddress
::
operator
=
(
SocketAddress
other
)
noexcept
{
{
...
...
src/output/Control.cxx
View file @
d663f814
...
@@ -19,14 +19,10 @@
...
@@ -19,14 +19,10 @@
#include "Control.hxx"
#include "Control.hxx"
#include "Filtered.hxx"
#include "Filtered.hxx"
#include "Domain.hxx"
#include "mixer/MixerControl.hxx"
#include "mixer/MixerControl.hxx"
#include "filter/plugins/ReplayGainFilterPlugin.hxx"
#include "config/Block.hxx"
#include "config/Block.hxx"
#include "Log.hxx"
#include "Log.hxx"
#include <stdexcept>
#include <assert.h>
#include <assert.h>
/** after a failure, wait this duration before
/** after a failure, wait this duration before
...
...
src/output/Control.hxx
View file @
d663f814
...
@@ -28,16 +28,11 @@
...
@@ -28,16 +28,11 @@
#include "system/PeriodClock.hxx"
#include "system/PeriodClock.hxx"
#include "util/Compiler.h"
#include "util/Compiler.h"
#include <utility>
#include <exception>
#include <exception>
#include <memory>
#include <memory>
#include <string>
#include <string>
#include <map>
#include <map>
#ifndef NDEBUG
#include <assert.h>
#endif
#include <stdint.h>
#include <stdint.h>
enum
class
ReplayGainMode
:
uint8_t
;
enum
class
ReplayGainMode
:
uint8_t
;
...
...
src/output/Filtered.hxx
View file @
d663f814
...
@@ -30,12 +30,10 @@
...
@@ -30,12 +30,10 @@
class
FilterFactory
;
class
FilterFactory
;
class
PreparedFilter
;
class
PreparedFilter
;
class
MusicPipe
;
class
EventLoop
;
class
EventLoop
;
class
Mixer
;
class
Mixer
;
class
MixerListener
;
class
MixerListener
;
struct
MixerPlugin
;
struct
MixerPlugin
;
struct
MusicChunk
;
struct
ConfigBlock
;
struct
ConfigBlock
;
class
AudioOutput
;
class
AudioOutput
;
struct
AudioOutputDefaults
;
struct
AudioOutputDefaults
;
...
...
src/output/Init.cxx
View file @
d663f814
...
@@ -26,7 +26,6 @@
...
@@ -26,7 +26,6 @@
#include "mixer/MixerList.hxx"
#include "mixer/MixerList.hxx"
#include "mixer/MixerType.hxx"
#include "mixer/MixerType.hxx"
#include "mixer/MixerControl.hxx"
#include "mixer/MixerControl.hxx"
#include "mixer/plugins/SoftwareMixerPlugin.hxx"
#include "filter/LoadChain.hxx"
#include "filter/LoadChain.hxx"
#include "filter/Prepared.hxx"
#include "filter/Prepared.hxx"
#include "filter/plugins/AutoConvertFilterPlugin.hxx"
#include "filter/plugins/AutoConvertFilterPlugin.hxx"
...
@@ -35,9 +34,6 @@
...
@@ -35,9 +34,6 @@
#include "filter/plugins/ChainFilterPlugin.hxx"
#include "filter/plugins/ChainFilterPlugin.hxx"
#include "filter/plugins/VolumeFilterPlugin.hxx"
#include "filter/plugins/VolumeFilterPlugin.hxx"
#include "filter/plugins/NormalizeFilterPlugin.hxx"
#include "filter/plugins/NormalizeFilterPlugin.hxx"
#include "config/Domain.hxx"
#include "config/Option.hxx"
#include "config/Block.hxx"
#include "util/RuntimeError.hxx"
#include "util/RuntimeError.hxx"
#include "util/StringFormat.hxx"
#include "util/StringFormat.hxx"
#include "Log.hxx"
#include "Log.hxx"
...
...
src/output/Interface.hxx
View file @
d663f814
...
@@ -23,7 +23,6 @@
...
@@ -23,7 +23,6 @@
#include <map>
#include <map>
#include <string>
#include <string>
#include <chrono>
#include <chrono>
#include <stdexcept>
struct
AudioFormat
;
struct
AudioFormat
;
struct
Tag
;
struct
Tag
;
...
...
src/output/MultipleOutputs.cxx
View file @
d663f814
...
@@ -20,7 +20,6 @@
...
@@ -20,7 +20,6 @@
#include "MultipleOutputs.hxx"
#include "MultipleOutputs.hxx"
#include "Filtered.hxx"
#include "Filtered.hxx"
#include "Defaults.hxx"
#include "Defaults.hxx"
#include "Domain.hxx"
#include "MusicPipe.hxx"
#include "MusicPipe.hxx"
#include "MusicChunk.hxx"
#include "MusicChunk.hxx"
#include "filter/Factory.hxx"
#include "filter/Factory.hxx"
...
...
src/output/OutputCommand.cxx
View file @
d663f814
...
@@ -26,9 +26,7 @@
...
@@ -26,9 +26,7 @@
#include "OutputCommand.hxx"
#include "OutputCommand.hxx"
#include "MultipleOutputs.hxx"
#include "MultipleOutputs.hxx"
#include "Filtered.hxx"
#include "Client.hxx"
#include "Client.hxx"
#include "player/Control.hxx"
#include "mixer/MixerControl.hxx"
#include "mixer/MixerControl.hxx"
#include "mixer/Volume.hxx"
#include "mixer/Volume.hxx"
#include "Idle.hxx"
#include "Idle.hxx"
...
...
src/output/OutputPlugin.hxx
View file @
d663f814
...
@@ -22,13 +22,7 @@
...
@@ -22,13 +22,7 @@
#include "util/Compiler.h"
#include "util/Compiler.h"
#include <chrono>
#include <stddef.h>
struct
ConfigBlock
;
struct
ConfigBlock
;
struct
AudioFormat
;
struct
Tag
;
class
AudioOutput
;
class
AudioOutput
;
struct
MixerPlugin
;
struct
MixerPlugin
;
class
EventLoop
;
class
EventLoop
;
...
...
src/output/Print.cxx
View file @
d663f814
...
@@ -24,7 +24,6 @@
...
@@ -24,7 +24,6 @@
#include "Print.hxx"
#include "Print.hxx"
#include "MultipleOutputs.hxx"
#include "MultipleOutputs.hxx"
#include "Filtered.hxx"
#include "client/Response.hxx"
#include "client/Response.hxx"
void
void
...
...
src/output/Source.hxx
View file @
d663f814
...
@@ -20,7 +20,6 @@
...
@@ -20,7 +20,6 @@
#ifndef AUDIO_OUTPUT_SOURCE_HXX
#ifndef AUDIO_OUTPUT_SOURCE_HXX
#define AUDIO_OUTPUT_SOURCE_HXX
#define AUDIO_OUTPUT_SOURCE_HXX
#include "util/Compiler.h"
#include "SharedPipeConsumer.hxx"
#include "SharedPipeConsumer.hxx"
#include "AudioFormat.hxx"
#include "AudioFormat.hxx"
#include "ReplayGainMode.hxx"
#include "ReplayGainMode.hxx"
...
...
src/output/State.cxx
View file @
d663f814
...
@@ -24,7 +24,6 @@
...
@@ -24,7 +24,6 @@
#include "State.hxx"
#include "State.hxx"
#include "MultipleOutputs.hxx"
#include "MultipleOutputs.hxx"
#include "Filtered.hxx"
#include "Domain.hxx"
#include "Domain.hxx"
#include "Log.hxx"
#include "Log.hxx"
#include "fs/io/BufferedOutputStream.hxx"
#include "fs/io/BufferedOutputStream.hxx"
...
...
src/output/Thread.cxx
View file @
d663f814
...
@@ -21,7 +21,6 @@
...
@@ -21,7 +21,6 @@
#include "Filtered.hxx"
#include "Filtered.hxx"
#include "Client.hxx"
#include "Client.hxx"
#include "Domain.hxx"
#include "Domain.hxx"
#include "mixer/MixerInternal.hxx"
#include "thread/Util.hxx"
#include "thread/Util.hxx"
#include "thread/Slack.hxx"
#include "thread/Slack.hxx"
#include "thread/Name.hxx"
#include "thread/Name.hxx"
...
...
src/output/Timer.cxx
View file @
d663f814
...
@@ -20,8 +20,6 @@
...
@@ -20,8 +20,6 @@
#include "Timer.hxx"
#include "Timer.hxx"
#include "AudioFormat.hxx"
#include "AudioFormat.hxx"
#include <limits>
#include <assert.h>
#include <assert.h>
Timer
::
Timer
(
const
AudioFormat
af
)
Timer
::
Timer
(
const
AudioFormat
af
)
...
...
src/output/plugins/AlsaOutputPlugin.cxx
View file @
d663f814
...
@@ -34,7 +34,6 @@
...
@@ -34,7 +34,6 @@
#include "util/RuntimeError.hxx"
#include "util/RuntimeError.hxx"
#include "util/Domain.hxx"
#include "util/Domain.hxx"
#include "util/ConstBuffer.hxx"
#include "util/ConstBuffer.hxx"
#include "util/ScopeExit.hxx"
#include "util/StringView.hxx"
#include "util/StringView.hxx"
#include "event/MultiSocketMonitor.hxx"
#include "event/MultiSocketMonitor.hxx"
#include "event/DeferEvent.hxx"
#include "event/DeferEvent.hxx"
...
...
src/output/plugins/JackOutputPlugin.cxx
View file @
d663f814
...
@@ -20,7 +20,6 @@
...
@@ -20,7 +20,6 @@
#include "config.h"
#include "config.h"
#include "JackOutputPlugin.hxx"
#include "JackOutputPlugin.hxx"
#include "../OutputAPI.hxx"
#include "../OutputAPI.hxx"
#include "config/Domain.hxx"
#include "util/ScopeExit.hxx"
#include "util/ScopeExit.hxx"
#include "util/ConstBuffer.hxx"
#include "util/ConstBuffer.hxx"
#include "util/IterableSplitString.hxx"
#include "util/IterableSplitString.hxx"
...
...
src/output/plugins/PulseOutputPlugin.cxx
View file @
d663f814
...
@@ -18,7 +18,6 @@
...
@@ -18,7 +18,6 @@
*/
*/
#include "PulseOutputPlugin.hxx"
#include "PulseOutputPlugin.hxx"
#include "lib/pulse/Domain.hxx"
#include "lib/pulse/Error.hxx"
#include "lib/pulse/Error.hxx"
#include "lib/pulse/LogError.hxx"
#include "lib/pulse/LogError.hxx"
#include "lib/pulse/LockGuard.hxx"
#include "lib/pulse/LockGuard.hxx"
...
@@ -26,7 +25,6 @@
...
@@ -26,7 +25,6 @@
#include "mixer/MixerList.hxx"
#include "mixer/MixerList.hxx"
#include "mixer/plugins/PulseMixerPlugin.hxx"
#include "mixer/plugins/PulseMixerPlugin.hxx"
#include "util/ScopeExit.hxx"
#include "util/ScopeExit.hxx"
#include "Log.hxx"
#include <pulse/thread-mainloop.h>
#include <pulse/thread-mainloop.h>
#include <pulse/context.h>
#include <pulse/context.h>
...
...
src/output/plugins/RecorderOutputPlugin.cxx
View file @
d663f814
...
@@ -23,7 +23,6 @@
...
@@ -23,7 +23,6 @@
#include "encoder/ToOutputStream.hxx"
#include "encoder/ToOutputStream.hxx"
#include "encoder/EncoderInterface.hxx"
#include "encoder/EncoderInterface.hxx"
#include "encoder/Configured.hxx"
#include "encoder/Configured.hxx"
#include "config/Domain.hxx"
#include "config/Path.hxx"
#include "config/Path.hxx"
#include "Log.hxx"
#include "Log.hxx"
#include "fs/AllocatedPath.hxx"
#include "fs/AllocatedPath.hxx"
...
...
src/output/plugins/ShoutOutputPlugin.cxx
View file @
d663f814
...
@@ -34,7 +34,6 @@
...
@@ -34,7 +34,6 @@
#include <memory>
#include <memory>
#include <assert.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
#include <stdio.h>
#include <stdio.h>
...
...
src/output/plugins/httpd/HttpdOutputPlugin.cxx
View file @
d663f814
...
@@ -17,7 +17,6 @@
...
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
*/
#include "config.h"
#include "HttpdOutputPlugin.hxx"
#include "HttpdOutputPlugin.hxx"
#include "HttpdInternal.hxx"
#include "HttpdInternal.hxx"
#include "HttpdClient.hxx"
#include "HttpdClient.hxx"
...
@@ -26,19 +25,16 @@
...
@@ -26,19 +25,16 @@
#include "encoder/Configured.hxx"
#include "encoder/Configured.hxx"
#include "net/UniqueSocketDescriptor.hxx"
#include "net/UniqueSocketDescriptor.hxx"
#include "net/SocketAddress.hxx"
#include "net/SocketAddress.hxx"
#include "net/ToString.hxx"
#include "Page.hxx"
#include "Page.hxx"
#include "IcyMetaDataServer.hxx"
#include "IcyMetaDataServer.hxx"
#include "event/Call.hxx"
#include "event/Call.hxx"
#include "util/Domain.hxx"
#include "util/Domain.hxx"
#include "util/DeleteDisposer.hxx"
#include "util/DeleteDisposer.hxx"
#include "Log.hxx"
#include "config/Net.hxx"
#include "config/Net.hxx"
#include <assert.h>
#include <assert.h>
#include <string.h>
#include <string.h>
#include <errno.h>
const
Domain
httpd_output_domain
(
"httpd_output"
);
const
Domain
httpd_output_domain
(
"httpd_output"
);
...
...
src/pcm/ConfiguredResampler.cxx
View file @
d663f814
...
@@ -21,7 +21,6 @@
...
@@ -21,7 +21,6 @@
#include "FallbackResampler.hxx"
#include "FallbackResampler.hxx"
#include "config/Data.hxx"
#include "config/Data.hxx"
#include "config/Option.hxx"
#include "config/Option.hxx"
#include "config/Domain.hxx"
#include "config/Block.hxx"
#include "config/Block.hxx"
#include "config/Param.hxx"
#include "config/Param.hxx"
#include "util/RuntimeError.hxx"
#include "util/RuntimeError.hxx"
...
...
src/pcm/Export.cxx
View file @
d663f814
...
@@ -18,7 +18,6 @@
...
@@ -18,7 +18,6 @@
*/
*/
#include "Export.hxx"
#include "Export.hxx"
#include "AudioFormat.hxx"
#include "Order.hxx"
#include "Order.hxx"
#include "Pack.hxx"
#include "Pack.hxx"
#include "Silence.hxx"
#include "Silence.hxx"
...
...
src/pcm/Export.hxx
View file @
d663f814
...
@@ -33,7 +33,6 @@
...
@@ -33,7 +33,6 @@
#include <stdint.h>
#include <stdint.h>
template
<
typename
T
>
struct
ConstBuffer
;
template
<
typename
T
>
struct
ConstBuffer
;
struct
AudioFormat
;
/**
/**
* An object that handles export of PCM samples to some instance
* An object that handles export of PCM samples to some instance
...
...
src/pcm/FallbackResampler.hxx
View file @
d663f814
...
@@ -23,7 +23,6 @@
...
@@ -23,7 +23,6 @@
#include "Resampler.hxx"
#include "Resampler.hxx"
#include "Buffer.hxx"
#include "Buffer.hxx"
#include "AudioFormat.hxx"
#include "AudioFormat.hxx"
#include "util/Compiler.h"
/**
/**
* A naive resampler that is used when no external library was found
* A naive resampler that is used when no external library was found
...
...
src/pcm/FloatConvert.hxx
View file @
d663f814
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
#define MPD_PCM_FLOAT_CONVERT_HXX
#define MPD_PCM_FLOAT_CONVERT_HXX
#include "Traits.hxx"
#include "Traits.hxx"
#include "Clamp.hxx"
/**
/**
* Convert from float to an integer sample format.
* Convert from float to an integer sample format.
...
...
src/pcm/GlueResampler.cxx
View file @
d663f814
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
#include "GlueResampler.hxx"
#include "GlueResampler.hxx"
#include "ConfiguredResampler.hxx"
#include "ConfiguredResampler.hxx"
#include "Resampler.hxx"
#include "Resampler.hxx"
#include "AudioFormat.hxx"
#include <assert.h>
#include <assert.h>
...
...
src/pcm/GlueResampler.hxx
View file @
d663f814
...
@@ -20,9 +20,10 @@
...
@@ -20,9 +20,10 @@
#ifndef MPD_GLUE_RESAMPLER_HXX
#ifndef MPD_GLUE_RESAMPLER_HXX
#define MPD_GLUE_RESAMPLER_HXX
#define MPD_GLUE_RESAMPLER_HXX
#include "
Audio
Format.hxx"
#include "
Sample
Format.hxx"
#include "FormatConverter.hxx"
#include "FormatConverter.hxx"
struct
AudioFormat
;
class
PcmResampler
;
class
PcmResampler
;
template
<
typename
T
>
struct
ConstBuffer
;
template
<
typename
T
>
struct
ConstBuffer
;
...
...
src/pcm/LibsamplerateResampler.hxx
View file @
d663f814
...
@@ -23,7 +23,6 @@
...
@@ -23,7 +23,6 @@
#include "Resampler.hxx"
#include "Resampler.hxx"
#include "Buffer.hxx"
#include "Buffer.hxx"
#include "AudioFormat.hxx"
#include "AudioFormat.hxx"
#include "util/Compiler.h"
#include <samplerate.h>
#include <samplerate.h>
...
...
src/pcm/PcmFormat.cxx
View file @
d663f814
...
@@ -19,7 +19,6 @@
...
@@ -19,7 +19,6 @@
#include "PcmFormat.hxx"
#include "PcmFormat.hxx"
#include "Buffer.hxx"
#include "Buffer.hxx"
#include "Clamp.hxx"
#include "Traits.hxx"
#include "Traits.hxx"
#include "FloatConvert.hxx"
#include "FloatConvert.hxx"
#include "ShiftConvert.hxx"
#include "ShiftConvert.hxx"
...
...
src/pcm/SoxrResampler.hxx
View file @
d663f814
...
@@ -22,7 +22,6 @@
...
@@ -22,7 +22,6 @@
#include "Resampler.hxx"
#include "Resampler.hxx"
#include "Buffer.hxx"
#include "Buffer.hxx"
#include "util/Compiler.h"
struct
AudioFormat
;
struct
AudioFormat
;
struct
ConfigBlock
;
struct
ConfigBlock
;
...
...
src/pcm/dsd2pcm/dsd2pcm.h
View file @
d663f814
...
@@ -32,7 +32,6 @@ or implied, of Sebastian Gesemann.
...
@@ -32,7 +32,6 @@ or implied, of Sebastian Gesemann.
#define DSD2PCM_H_INCLUDED
#define DSD2PCM_H_INCLUDED
#include <stddef.h>
#include <stddef.h>
#include <string.h>
#ifdef __cplusplus
#ifdef __cplusplus
extern
"C"
{
extern
"C"
{
...
...
src/playlist/MemorySongEnumerator.hxx
View file @
d663f814
...
@@ -22,7 +22,6 @@
...
@@ -22,7 +22,6 @@
#include "SongEnumerator.hxx"
#include "SongEnumerator.hxx"
#include "song/DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "util/Compiler.h"
#include <forward_list>
#include <forward_list>
...
...
src/playlist/PlaylistAny.cxx
View file @
d663f814
...
@@ -22,7 +22,6 @@
...
@@ -22,7 +22,6 @@
#include "PlaylistStream.hxx"
#include "PlaylistStream.hxx"
#include "PlaylistMapper.hxx"
#include "PlaylistMapper.hxx"
#include "SongEnumerator.hxx"
#include "SongEnumerator.hxx"
#include "util/UriUtil.hxx"
#include "config.h"
#include "config.h"
std
::
unique_ptr
<
SongEnumerator
>
std
::
unique_ptr
<
SongEnumerator
>
...
...
src/playlist/PlaylistRegistry.cxx
View file @
d663f814
...
@@ -41,7 +41,6 @@
...
@@ -41,7 +41,6 @@
#include "config/Block.hxx"
#include "config/Block.hxx"
#include <assert.h>
#include <assert.h>
#include <string.h>
const
struct
playlist_plugin
*
const
playlist_plugins
[]
=
{
const
struct
playlist_plugin
*
const
playlist_plugins
[]
=
{
&
extm3u_playlist_plugin
,
&
extm3u_playlist_plugin
,
...
...
src/playlist/plugins/AsxPlaylistPlugin.cxx
View file @
d663f814
...
@@ -24,7 +24,6 @@
...
@@ -24,7 +24,6 @@
#include "util/ASCII.hxx"
#include "util/ASCII.hxx"
#include "util/StringView.hxx"
#include "util/StringView.hxx"
#include "lib/expat/ExpatParser.hxx"
#include "lib/expat/ExpatParser.hxx"
#include "Log.hxx"
/**
/**
* This is the state object for our XML parser.
* This is the state object for our XML parser.
...
...
src/playlist/plugins/RssPlaylistPlugin.cxx
View file @
d663f814
...
@@ -24,7 +24,6 @@
...
@@ -24,7 +24,6 @@
#include "util/ASCII.hxx"
#include "util/ASCII.hxx"
#include "util/StringView.hxx"
#include "util/StringView.hxx"
#include "lib/expat/ExpatParser.hxx"
#include "lib/expat/ExpatParser.hxx"
#include "Log.hxx"
/**
/**
* This is the state object for the our XML parser.
* This is the state object for the our XML parser.
...
...
src/playlist/plugins/XspfPlaylistPlugin.cxx
View file @
d663f814
...
@@ -25,7 +25,6 @@
...
@@ -25,7 +25,6 @@
#include "tag/Builder.hxx"
#include "tag/Builder.hxx"
#include "util/StringView.hxx"
#include "util/StringView.hxx"
#include "lib/expat/ExpatParser.hxx"
#include "lib/expat/ExpatParser.hxx"
#include "Log.hxx"
#include <string.h>
#include <string.h>
...
...
src/protocol/Ack.hxx
View file @
d663f814
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
#include "util/StringFormat.hxx"
#include "util/StringFormat.hxx"
#include <stdexcept>
#include <stdexcept>
#include <utility>
class
Domain
;
class
Domain
;
...
...
src/queue/PlaylistEdit.cxx
View file @
d663f814
...
@@ -30,8 +30,6 @@
...
@@ -30,8 +30,6 @@
#include "song/DetachedSong.hxx"
#include "song/DetachedSong.hxx"
#include "SongLoader.hxx"
#include "SongLoader.hxx"
#include <memory>
#include <stdlib.h>
#include <stdlib.h>
void
void
...
...
src/queue/Queue.hxx
View file @
d663f814
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
#include "SingleMode.hxx"
#include "SingleMode.hxx"
#include "util/LazyRandomEngine.hxx"
#include "util/LazyRandomEngine.hxx"
#include <
algorithm
>
#include <
utility
>
#include <assert.h>
#include <assert.h>
#include <stdint.h>
#include <stdint.h>
...
...
src/song/BaseSongFilter.hxx
View file @
d663f814
...
@@ -21,7 +21,6 @@
...
@@ -21,7 +21,6 @@
#define MPD_BASE_SONG_FILTER_HXX
#define MPD_BASE_SONG_FILTER_HXX
#include "ISongFilter.hxx"
#include "ISongFilter.hxx"
#include "util/Compiler.h"
class
BaseSongFilter
final
:
public
ISongFilter
{
class
BaseSongFilter
final
:
public
ISongFilter
{
std
::
string
value
;
std
::
string
value
;
...
...
src/song/Filter.cxx
View file @
d663f814
...
@@ -25,24 +25,17 @@
...
@@ -25,24 +25,17 @@
#include "TagSongFilter.hxx"
#include "TagSongFilter.hxx"
#include "ModifiedSinceSongFilter.hxx"
#include "ModifiedSinceSongFilter.hxx"
#include "AudioFormatSongFilter.hxx"
#include "AudioFormatSongFilter.hxx"
#include "LightSong.hxx"
#include "AudioParser.hxx"
#include "AudioParser.hxx"
#include "tag/ParseName.hxx"
#include "tag/ParseName.hxx"
#include "tag/Tag.hxx"
#include "time/ChronoUtil.hxx"
#include "time/ISO8601.hxx"
#include "time/ISO8601.hxx"
#include "util/CharUtil.hxx"
#include "util/CharUtil.hxx"
#include "util/ConstBuffer.hxx"
#include "util/ConstBuffer.hxx"
#include "util/RuntimeError.hxx"
#include "util/RuntimeError.hxx"
#include "util/StringAPI.hxx"
#include "util/StringCompare.hxx"
#include "util/StringCompare.hxx"
#include "util/StringStrip.hxx"
#include "util/StringStrip.hxx"
#include "util/StringView.hxx"
#include "util/StringView.hxx"
#include "util/ASCII.hxx"
#include "util/ASCII.hxx"
#include "util/UriUtil.hxx"
#include "util/UriUtil.hxx"
#include "lib/icu/CaseFold.hxx"
#include <exception>
#include <assert.h>
#include <assert.h>
#include <stdlib.h>
#include <stdlib.h>
...
...
src/song/StringFilter.cxx
View file @
d663f814
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
*/
*/
#include "StringFilter.hxx"
#include "StringFilter.hxx"
#include "util/String
Compare
.hxx"
#include "util/String
API
.hxx"
#include <assert.h>
#include <assert.h>
...
...
src/song/TagSongFilter.hxx
View file @
d663f814
...
@@ -25,10 +25,8 @@
...
@@ -25,10 +25,8 @@
#include <stdint.h>
#include <stdint.h>
template
<
typename
T
>
struct
ConstBuffer
;
enum
TagType
:
uint8_t
;
enum
TagType
:
uint8_t
;
struct
Tag
;
struct
Tag
;
struct
TagItem
;
struct
LightSong
;
struct
LightSong
;
class
TagSongFilter
final
:
public
ISongFilter
{
class
TagSongFilter
final
:
public
ISongFilter
{
...
...
src/sticker/Database.hxx
View file @
d663f814
...
@@ -44,7 +44,6 @@
...
@@ -44,7 +44,6 @@
#include "Match.hxx"
#include "Match.hxx"
#include "lib/sqlite/Database.hxx"
#include "lib/sqlite/Database.hxx"
#include "util/Compiler.h"
#include <sqlite3.h>
#include <sqlite3.h>
...
...
src/storage/Configured.cxx
View file @
d663f814
...
@@ -22,14 +22,11 @@
...
@@ -22,14 +22,11 @@
#include "StorageInterface.hxx"
#include "StorageInterface.hxx"
#include "plugins/LocalStorage.hxx"
#include "plugins/LocalStorage.hxx"
#include "config/Data.hxx"
#include "config/Data.hxx"
#include "config/Domain.hxx"
#include "fs/StandardDirectory.hxx"
#include "fs/StandardDirectory.hxx"
#include "fs/CheckFile.hxx"
#include "fs/CheckFile.hxx"
#include "util/UriUtil.hxx"
#include "util/UriUtil.hxx"
#include "util/RuntimeError.hxx"
#include "util/RuntimeError.hxx"
#include <assert.h>
static
std
::
unique_ptr
<
Storage
>
static
std
::
unique_ptr
<
Storage
>
CreateConfiguredStorageUri
(
EventLoop
&
event_loop
,
const
char
*
uri
)
CreateConfiguredStorageUri
(
EventLoop
&
event_loop
,
const
char
*
uri
)
{
{
...
...
src/storage/Registry.cxx
View file @
d663f814
...
@@ -27,7 +27,6 @@
...
@@ -27,7 +27,6 @@
#include "plugins/CurlStorage.hxx"
#include "plugins/CurlStorage.hxx"
#include "config.h"
#include "config.h"
#include <assert.h>
#include <string.h>
#include <string.h>
const
StoragePlugin
*
const
storage_plugins
[]
=
{
const
StoragePlugin
*
const
storage_plugins
[]
=
{
...
...
src/storage/plugins/CurlStorage.cxx
View file @
d663f814
...
@@ -29,11 +29,9 @@
...
@@ -29,11 +29,9 @@
#include "lib/curl/Handler.hxx"
#include "lib/curl/Handler.hxx"
#include "lib/expat/ExpatParser.hxx"
#include "lib/expat/ExpatParser.hxx"
#include "fs/Traits.hxx"
#include "fs/Traits.hxx"
#include "event/Call.hxx"
#include "event/DeferEvent.hxx"
#include "event/DeferEvent.hxx"
#include "thread/Mutex.hxx"
#include "thread/Mutex.hxx"
#include "thread/Cond.hxx"
#include "thread/Cond.hxx"
#include "time/ChronoUtil.hxx"
#include "time/Parser.hxx"
#include "time/Parser.hxx"
#include "util/ASCII.hxx"
#include "util/ASCII.hxx"
#include "util/IterableSplitString.hxx"
#include "util/IterableSplitString.hxx"
...
@@ -42,10 +40,9 @@
...
@@ -42,10 +40,9 @@
#include "util/StringFormat.hxx"
#include "util/StringFormat.hxx"
#include "util/UriUtil.hxx"
#include "util/UriUtil.hxx"
#include <algorithm>
#include <memory>
#include <memory>
#include <string>
#include <string>
#include <
list
>
#include <
utility
>
#include <assert.h>
#include <assert.h>
...
...
src/storage/plugins/UdisksStorage.cxx
View file @
d663f814
...
@@ -25,7 +25,6 @@
...
@@ -25,7 +25,6 @@
#include "lib/dbus/Glue.hxx"
#include "lib/dbus/Glue.hxx"
#include "lib/dbus/AsyncRequest.hxx"
#include "lib/dbus/AsyncRequest.hxx"
#include "lib/dbus/Message.hxx"
#include "lib/dbus/Message.hxx"
#include "lib/dbus/PendingCall.hxx"
#include "lib/dbus/AppendIter.hxx"
#include "lib/dbus/AppendIter.hxx"
#include "lib/dbus/ReadIter.hxx"
#include "lib/dbus/ReadIter.hxx"
#include "lib/dbus/ObjectManager.hxx"
#include "lib/dbus/ObjectManager.hxx"
...
...
src/system/Clock.hxx
View file @
d663f814
...
@@ -20,12 +20,12 @@
...
@@ -20,12 +20,12 @@
#ifndef MPD_CLOCK_H
#ifndef MPD_CLOCK_H
#define MPD_CLOCK_H
#define MPD_CLOCK_H
#ifdef _WIN32
#include "util/Compiler.h"
#include "util/Compiler.h"
#include <chrono>
#include <chrono>
#ifdef _WIN32
/**
/**
* Returns the uptime of the current process in seconds.
* Returns the uptime of the current process in seconds.
*/
*/
...
...
src/system/EpollFD.hxx
View file @
d663f814
...
@@ -35,8 +35,6 @@
...
@@ -35,8 +35,6 @@
#include <sys/epoll.h>
#include <sys/epoll.h>
#include <stdint.h>
#include <stdint.h>
struct
epoll_event
;
/**
/**
* A class that wraps Linux epoll.
* A class that wraps Linux epoll.
*/
*/
...
...
src/system/EventPipe.cxx
View file @
d663f814
...
@@ -20,7 +20,6 @@
...
@@ -20,7 +20,6 @@
#include "EventPipe.hxx"
#include "EventPipe.hxx"
#include "FileDescriptor.hxx"
#include "FileDescriptor.hxx"
#include "system/Error.hxx"
#include "system/Error.hxx"
#include "util/ScopeExit.hxx"
#include "util/Compiler.h"
#include "util/Compiler.h"
#include <assert.h>
#include <assert.h>
...
...
src/tag/Builder.cxx
View file @
d663f814
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
#include "util/WritableBuffer.hxx"
#include "util/WritableBuffer.hxx"
#include "util/StringView.hxx"
#include "util/StringView.hxx"
#include <algorithm>
#include <array>
#include <array>
#include <assert.h>
#include <assert.h>
...
...
src/tag/Generic.cxx
View file @
d663f814
...
@@ -26,8 +26,6 @@
...
@@ -26,8 +26,6 @@
#include "input/LocalOpen.hxx"
#include "input/LocalOpen.hxx"
#include "config.h"
#include "config.h"
#include <exception>
bool
bool
ScanGenericTags
(
InputStream
&
is
,
TagHandler
&
handler
)
ScanGenericTags
(
InputStream
&
is
,
TagHandler
&
handler
)
{
{
...
...
src/tag/Handler.cxx
View file @
d663f814
...
@@ -20,7 +20,6 @@
...
@@ -20,7 +20,6 @@
#include "Handler.hxx"
#include "Handler.hxx"
#include "Builder.hxx"
#include "Builder.hxx"
#include "AudioFormat.hxx"
#include "AudioFormat.hxx"
#include "util/ASCII.hxx"
#include "util/CharUtil.hxx"
#include "util/CharUtil.hxx"
#include "util/StringView.hxx"
#include "util/StringView.hxx"
...
...
src/tag/ReplayGain.cxx
View file @
d663f814
...
@@ -24,7 +24,6 @@
...
@@ -24,7 +24,6 @@
#include "util/NumberParser.hxx"
#include "util/NumberParser.hxx"
#include <assert.h>
#include <assert.h>
#include <stdlib.h>
template
<
typename
T
>
template
<
typename
T
>
static
bool
static
bool
...
...
src/tag/Tag.hxx
View file @
d663f814
...
@@ -25,8 +25,8 @@
...
@@ -25,8 +25,8 @@
#include "Chrono.hxx"
#include "Chrono.hxx"
#include "util/Compiler.h"
#include "util/Compiler.h"
#include <algorithm>
#include <memory>
#include <memory>
#include <utility>
/**
/**
* The meta information about a song file. It is a MPD specific
* The meta information about a song file. It is a MPD specific
...
...
src/time/ISO8601.hxx
View file @
d663f814
...
@@ -35,7 +35,6 @@
...
@@ -35,7 +35,6 @@
#include "util/Compiler.h"
#include "util/Compiler.h"
#include <string>
#include <chrono>
#include <chrono>
#include <stddef.h>
#include <stddef.h>
...
...
src/unix/Daemon.cxx
View file @
d663f814
...
@@ -21,7 +21,6 @@
...
@@ -21,7 +21,6 @@
#include "Daemon.hxx"
#include "Daemon.hxx"
#include "system/Error.hxx"
#include "system/Error.hxx"
#include "fs/AllocatedPath.hxx"
#include "fs/AllocatedPath.hxx"
#include "fs/FileSystem.hxx"
#include "util/RuntimeError.hxx"
#include "util/RuntimeError.hxx"
#ifndef _WIN32
#ifndef _WIN32
...
...
src/util/AllocatedString.hxx
View file @
d663f814
...
@@ -32,7 +32,6 @@
...
@@ -32,7 +32,6 @@
#include "StringPointer.hxx"
#include "StringPointer.hxx"
#include <utility>
#include <algorithm>
#include <algorithm>
/**
/**
...
...
src/util/DivideString.hxx
View file @
d663f814
...
@@ -20,8 +20,6 @@
...
@@ -20,8 +20,6 @@
#ifndef MPD_DIVIDE_STRING_HXX
#ifndef MPD_DIVIDE_STRING_HXX
#define MPD_DIVIDE_STRING_HXX
#define MPD_DIVIDE_STRING_HXX
#include "Compiler.h"
#include <assert.h>
#include <assert.h>
/**
/**
...
...
src/util/Exception.hxx
View file @
d663f814
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
#include <exception>
#include <exception>
#include <string>
#include <string>
#include <utility>
/**
/**
* Throws the specified exception. There is an overload for
* Throws the specified exception. There is an overload for
...
...
src/util/HexFormat.hxx
View file @
d663f814
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
#include "StringBuffer.hxx"
#include "StringBuffer.hxx"
#include "Compiler.h"
#include "Compiler.h"
#include <stddef.h>
#include <stdint.h>
#include <stdint.h>
/**
/**
...
...
src/util/OptionParser.cxx
View file @
d663f814
...
@@ -22,8 +22,6 @@
...
@@ -22,8 +22,6 @@
#include "util/RuntimeError.hxx"
#include "util/RuntimeError.hxx"
#include "util/StringCompare.hxx"
#include "util/StringCompare.hxx"
#include <string.h>
inline
const
char
*
inline
const
char
*
OptionParser
::
CheckShiftValue
(
const
char
*
s
,
const
OptionDef
&
option
)
OptionParser
::
CheckShiftValue
(
const
char
*
s
,
const
OptionDef
&
option
)
{
{
...
...
src/util/PrintException.hxx
View file @
d663f814
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
#ifndef PRINT_EXCEPTION_HXX
#ifndef PRINT_EXCEPTION_HXX
#define PRINT_EXCEPTION_HXX
#define PRINT_EXCEPTION_HXX
#include <
stdexcept
>
#include <
exception
>
/**
/**
* Print this exception (and its nested exceptions, if any) to stderr.
* Print this exception (and its nested exceptions, if any) to stderr.
...
...
src/util/SplitString.cxx
View file @
d663f814
...
@@ -31,8 +31,6 @@
...
@@ -31,8 +31,6 @@
#include "IterableSplitString.hxx"
#include "IterableSplitString.hxx"
#include "StringStrip.hxx"
#include "StringStrip.hxx"
#include <string.h>
std
::
forward_list
<
std
::
string
>
std
::
forward_list
<
std
::
string
>
SplitString
(
const
char
*
s
,
char
separator
,
bool
strip
)
noexcept
SplitString
(
const
char
*
s
,
char
separator
,
bool
strip
)
noexcept
{
{
...
...
src/zeroconf/AvahiPoll.hxx
View file @
d663f814
...
@@ -20,8 +20,6 @@
...
@@ -20,8 +20,6 @@
#ifndef MPD_AVAHI_POLL_HXX
#ifndef MPD_AVAHI_POLL_HXX
#define MPD_AVAHI_POLL_HXX
#define MPD_AVAHI_POLL_HXX
#include "util/Compiler.h"
#include <avahi-common/watch.h>
#include <avahi-common/watch.h>
class
EventLoop
;
class
EventLoop
;
...
...
test/read_conf.cxx
View file @
d663f814
...
@@ -21,11 +21,9 @@
...
@@ -21,11 +21,9 @@
#include "config/Param.hxx"
#include "config/Param.hxx"
#include "config/File.hxx"
#include "config/File.hxx"
#include "fs/Path.hxx"
#include "fs/Path.hxx"
#include "fs/Path.hxx"
#include "util/PrintException.hxx"
#include "util/PrintException.hxx"
#include "util/RuntimeError.hxx"
#include "util/RuntimeError.hxx"
#include <assert.h>
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
...
...
test/test_protocol.cxx
View file @
d663f814
#include "protocol/ArgParser.hxx"
#include "protocol/ArgParser.hxx"
#include "protocol/Ack.hxx"
#include "protocol/Ack.hxx"
#include "protocol/RangeArg.hxx"
#include "protocol/RangeArg.hxx"
#include "util/Compiler.h"
#include <gtest/gtest.h>
#include <gtest/gtest.h>
#include <stdlib.h>
TEST
(
ArgParser
,
Range
)
TEST
(
ArgParser
,
Range
)
{
{
RangeArg
range
=
ParseCommandArgRange
(
"1"
);
RangeArg
range
=
ParseCommandArgRange
(
"1"
);
...
...
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