*: include cleanup (using iwyu)
This commit is contained in:
parent
fb547260d1
commit
1aee89f5ea
@ -240,7 +240,6 @@ UPNP_SOURCES = \
|
||||
src/lib/upnp/Device.cxx src/lib/upnp/Device.hxx \
|
||||
src/lib/upnp/ContentDirectoryService.cxx src/lib/upnp/ContentDirectoryService.hxx \
|
||||
src/lib/upnp/Discovery.cxx src/lib/upnp/Discovery.hxx \
|
||||
src/lib/upnp/Domain.cxx src/lib/upnp/Domain.hxx \
|
||||
src/lib/upnp/ixmlwrap.cxx src/lib/upnp/ixmlwrap.hxx \
|
||||
src/lib/upnp/Callback.hxx \
|
||||
src/lib/upnp/Util.cxx src/lib/upnp/Util.hxx \
|
||||
@ -607,7 +606,6 @@ libfs_a_CPPFLAGS = $(AM_CPPFLAGS) $(ZLIB_CFLAGS)
|
||||
|
||||
if ENABLE_ZLIB
|
||||
libfs_a_SOURCES += \
|
||||
src/lib/zlib/Domain.cxx src/lib/zlib/Domain.hxx \
|
||||
src/lib/zlib/Error.cxx src/lib/zlib/Error.hxx \
|
||||
src/fs/io/GunzipReader.cxx src/fs/io/GunzipReader.hxx \
|
||||
src/fs/io/AutoGunzipReader.cxx src/fs/io/AutoGunzipReader.hxx \
|
||||
|
@ -20,11 +20,9 @@
|
||||
#include "config.h"
|
||||
#include "LogV.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "util/Domain.hxx"
|
||||
|
||||
#include <exception>
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
@ -35,7 +35,6 @@
|
||||
#include <string.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#define LOG_LEVEL_SECURE LogLevel::INFO
|
||||
|
@ -51,9 +51,7 @@
|
||||
#include "pcm/PcmConvert.hxx"
|
||||
#include "unix/SignalHandlers.hxx"
|
||||
#include "system/FatalError.hxx"
|
||||
#include "util/UriUtil.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "thread/Id.hxx"
|
||||
#include "thread/Slack.hxx"
|
||||
#include "lib/icu/Init.hxx"
|
||||
#include "config/ConfigGlobal.hxx"
|
||||
|
@ -24,8 +24,6 @@
|
||||
#include "config.h"
|
||||
#include "Mapper.hxx"
|
||||
#include "fs/AllocatedPath.hxx"
|
||||
#include "fs/Traits.hxx"
|
||||
#include "fs/Charset.hxx"
|
||||
#include "fs/CheckFile.hxx"
|
||||
#include "util/StringCompare.hxx"
|
||||
|
||||
|
@ -21,7 +21,6 @@
|
||||
#include "Partition.hxx"
|
||||
#include "Instance.hxx"
|
||||
#include "DetachedSong.hxx"
|
||||
#include "output/MultipleOutputs.hxx"
|
||||
#include "mixer/Volume.hxx"
|
||||
#include "Idle.hxx"
|
||||
#include "GlobalEvents.hxx"
|
||||
|
@ -43,12 +43,10 @@
|
||||
#include "util/Macros.hxx"
|
||||
#include "util/StringCompare.hxx"
|
||||
#include "util/UriUtil.hxx"
|
||||
#include "util/Error.hxx"
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include <assert.h>
|
||||
#include <sys/stat.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
|
@ -20,19 +20,15 @@
|
||||
#include "config.h"
|
||||
#include "PlaylistPrint.hxx"
|
||||
#include "PlaylistFile.hxx"
|
||||
#include "PlaylistError.hxx"
|
||||
#include "queue/Playlist.hxx"
|
||||
#include "queue/QueuePrint.hxx"
|
||||
#include "SongPrint.hxx"
|
||||
#include "Partition.hxx"
|
||||
#include "Instance.hxx"
|
||||
#include "db/Interface.hxx"
|
||||
#include "client/Client.hxx"
|
||||
#include "client/Response.hxx"
|
||||
#include "input/InputStream.hxx"
|
||||
#include "DetachedSong.hxx"
|
||||
#include "fs/Traits.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "thread/Cond.hxx"
|
||||
|
||||
#define SONG_FILE "file: "
|
||||
#define SONG_TIME "Time: "
|
||||
|
@ -25,9 +25,7 @@
|
||||
struct playlist;
|
||||
struct Partition;
|
||||
class SongFilter;
|
||||
class Client;
|
||||
class Response;
|
||||
class Error;
|
||||
|
||||
/**
|
||||
* Sends the whole playlist to the client, song URIs only.
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include "PlaylistError.hxx"
|
||||
#include "queue/Playlist.hxx"
|
||||
#include "DetachedSong.hxx"
|
||||
#include "SongLoader.hxx"
|
||||
#include "Mapper.hxx"
|
||||
#include "Idle.hxx"
|
||||
#include "fs/AllocatedPath.hxx"
|
||||
@ -32,12 +31,7 @@
|
||||
#include "fs/NarrowPath.hxx"
|
||||
#include "fs/io/FileOutputStream.hxx"
|
||||
#include "fs/io/BufferedOutputStream.hxx"
|
||||
#include "util/Alloc.hxx"
|
||||
#include "util/UriUtil.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "Log.hxx"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
void
|
||||
playlist_print_song(BufferedOutputStream &os, const DetachedSong &song)
|
||||
|
@ -40,7 +40,6 @@
|
||||
template<typename T> struct ConstBuffer;
|
||||
struct Tag;
|
||||
struct TagItem;
|
||||
struct Song;
|
||||
struct LightSong;
|
||||
class DetachedSong;
|
||||
|
||||
|
@ -23,7 +23,6 @@
|
||||
#define SONG_BEGIN "song_begin: "
|
||||
|
||||
struct Song;
|
||||
struct Directory;
|
||||
class DetachedSong;
|
||||
class BufferedOutputStream;
|
||||
class TextFile;
|
||||
|
@ -26,10 +26,7 @@
|
||||
#include "util/UriUtil.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "fs/AllocatedPath.hxx"
|
||||
#include "fs/Traits.hxx"
|
||||
#include "fs/FileInfo.hxx"
|
||||
#include "decoder/DecoderList.hxx"
|
||||
#include "tag/Tag.hxx"
|
||||
#include "tag/TagBuilder.hxx"
|
||||
#include "TagFile.hxx"
|
||||
#include "TagStream.hxx"
|
||||
@ -40,7 +37,6 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#ifdef ENABLE_DATABASE
|
||||
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include "Instance.hxx"
|
||||
#include "mixer/Volume.hxx"
|
||||
#include "SongLoader.hxx"
|
||||
#include "fs/FileSystem.hxx"
|
||||
#include "util/Domain.hxx"
|
||||
#include "Log.hxx"
|
||||
|
||||
|
@ -20,7 +20,6 @@
|
||||
#include "config.h"
|
||||
#include "TagArchive.hxx"
|
||||
#include "TagStream.hxx"
|
||||
#include "tag/Generic.hxx"
|
||||
#include "archive/ArchiveFile.hxx"
|
||||
#include "input/InputStream.hxx"
|
||||
#include "thread/Cond.hxx"
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include "tag/TagHandler.hxx"
|
||||
#include "tag/TagBuilder.hxx"
|
||||
#include "fs/Path.hxx"
|
||||
#include "util/UriUtil.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "decoder/DecoderList.hxx"
|
||||
#include "decoder/DecoderPlugin.hxx"
|
||||
|
@ -19,7 +19,6 @@
|
||||
|
||||
#include "config.h"
|
||||
#include "ArchivePlugin.hxx"
|
||||
#include "ArchiveFile.hxx"
|
||||
#include "fs/Path.hxx"
|
||||
#include "util/Error.hxx"
|
||||
|
||||
|
@ -27,12 +27,11 @@
|
||||
#include "../ArchiveFile.hxx"
|
||||
#include "../ArchiveVisitor.hxx"
|
||||
#include "input/InputStream.hxx"
|
||||
#include "input/InputPlugin.hxx"
|
||||
#include "input/LocalOpen.hxx"
|
||||
#include "thread/Cond.hxx"
|
||||
#include "util/RefCount.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "util/Domain.hxx"
|
||||
#include "fs/Traits.hxx"
|
||||
#include "fs/Path.hxx"
|
||||
|
||||
#include <bzlib.h>
|
||||
|
@ -27,7 +27,6 @@
|
||||
#include "../ArchiveFile.hxx"
|
||||
#include "../ArchiveVisitor.hxx"
|
||||
#include "input/InputStream.hxx"
|
||||
#include "input/InputPlugin.hxx"
|
||||
#include "fs/Path.hxx"
|
||||
#include "util/RefCount.hxx"
|
||||
#include "util/Error.hxx"
|
||||
|
@ -27,7 +27,6 @@
|
||||
#include "../ArchiveFile.hxx"
|
||||
#include "../ArchiveVisitor.hxx"
|
||||
#include "input/InputStream.hxx"
|
||||
#include "input/InputPlugin.hxx"
|
||||
#include "fs/Path.hxx"
|
||||
#include "util/RefCount.hxx"
|
||||
#include "util/Error.hxx"
|
||||
|
@ -27,7 +27,8 @@
|
||||
#include "event/TimeoutMonitor.hxx"
|
||||
#include "Compiler.h"
|
||||
|
||||
#include <boost/intrusive/list.hpp>
|
||||
#include <boost/intrusive/link_mode.hpp>
|
||||
#include <boost/intrusive/list_hook.hpp>
|
||||
|
||||
#include <set>
|
||||
#include <string>
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include "Client.hxx"
|
||||
|
||||
class Client;
|
||||
#include <boost/intrusive/list.hpp>
|
||||
|
||||
class ClientList {
|
||||
typedef boost::intrusive::list<Client,
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include "net/SocketAddress.hxx"
|
||||
#include "net/ToString.hxx"
|
||||
#include "Permission.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "Log.hxx"
|
||||
|
||||
#include <assert.h>
|
||||
|
@ -40,7 +40,6 @@
|
||||
#include "util/Macros.hxx"
|
||||
#include "util/Tokenizer.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "util/ConstBuffer.hxx"
|
||||
#include "util/StringAPI.hxx"
|
||||
|
||||
#ifdef ENABLE_SQLITE
|
||||
|
@ -29,8 +29,6 @@
|
||||
#include <system_error>
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
gcc_const
|
||||
static enum ack
|
||||
|
@ -20,7 +20,6 @@
|
||||
#include "config.h"
|
||||
#include "DatabaseCommands.hxx"
|
||||
#include "Request.hxx"
|
||||
#include "db/DatabaseGlue.hxx"
|
||||
#include "db/DatabaseQueue.hxx"
|
||||
#include "db/DatabasePlaylist.hxx"
|
||||
#include "db/DatabasePrint.hxx"
|
||||
@ -36,8 +35,6 @@
|
||||
#include "SongFilter.hxx"
|
||||
#include "BulkEdit.hxx"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
CommandResult
|
||||
handle_listfiles_db(Client &client, Response &r, const char *uri)
|
||||
{
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include "protocol/Ack.hxx"
|
||||
#include "client/Client.hxx"
|
||||
#include "client/Response.hxx"
|
||||
#include "util/ConstBuffer.hxx"
|
||||
#include "util/CharUtil.hxx"
|
||||
#include "util/UriUtil.hxx"
|
||||
#include "util/Error.hxx"
|
||||
@ -42,7 +41,6 @@
|
||||
#include "TimePrint.hxx"
|
||||
|
||||
#include <assert.h>
|
||||
#include <sys/stat.h>
|
||||
#include <inttypes.h> /* for PRIu64 */
|
||||
|
||||
gcc_pure
|
||||
|
@ -26,13 +26,9 @@
|
||||
#include "Partition.hxx"
|
||||
#include "neighbor/Glue.hxx"
|
||||
#include "neighbor/Info.hxx"
|
||||
#include "util/ConstBuffer.hxx"
|
||||
|
||||
#include <set>
|
||||
#include <string>
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
bool
|
||||
neighbor_commands_available(const Instance &instance)
|
||||
{
|
||||
|
@ -37,7 +37,6 @@
|
||||
#include "mixer/Volume.hxx"
|
||||
#include "util/UriUtil.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "util/ConstBuffer.hxx"
|
||||
#include "util/StringAPI.hxx"
|
||||
#include "fs/AllocatedPath.hxx"
|
||||
#include "Stats.hxx"
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include "client/Client.hxx"
|
||||
#include "client/Response.hxx"
|
||||
#include "Partition.hxx"
|
||||
#include "util/ConstBuffer.hxx"
|
||||
|
||||
CommandResult
|
||||
handle_enableoutput(Client &client, Request args, Response &r)
|
||||
|
@ -30,7 +30,6 @@
|
||||
#include "Instance.hxx"
|
||||
#include "AudioFormat.hxx"
|
||||
#include "ReplayGainConfig.hxx"
|
||||
#include "util/ConstBuffer.hxx"
|
||||
|
||||
#ifdef ENABLE_DATABASE
|
||||
#include "db/update/Service.hxx"
|
||||
|
@ -30,11 +30,9 @@
|
||||
#include "BulkEdit.hxx"
|
||||
#include "playlist/PlaylistQueue.hxx"
|
||||
#include "playlist/Print.hxx"
|
||||
#include "queue/Playlist.hxx"
|
||||
#include "TimePrint.hxx"
|
||||
#include "client/Client.hxx"
|
||||
#include "client/Response.hxx"
|
||||
#include "ls.hxx"
|
||||
#include "Mapper.hxx"
|
||||
#include "fs/AllocatedPath.hxx"
|
||||
#include "util/UriUtil.hxx"
|
||||
|
@ -35,16 +35,12 @@
|
||||
#include "BulkEdit.hxx"
|
||||
#include "util/ConstBuffer.hxx"
|
||||
#include "util/StringAPI.hxx"
|
||||
#include "util/UriUtil.hxx"
|
||||
#include "util/NumberParser.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "fs/AllocatedPath.hxx"
|
||||
|
||||
#include <memory>
|
||||
#include <limits>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
static CommandResult
|
||||
AddUri(Client &client, const LocatedUri &uri, Response &r)
|
||||
{
|
||||
|
@ -22,7 +22,6 @@
|
||||
#include "Request.hxx"
|
||||
#include "SongPrint.hxx"
|
||||
#include "db/Interface.hxx"
|
||||
#include "db/DatabaseGlue.hxx"
|
||||
#include "sticker/SongSticker.hxx"
|
||||
#include "sticker/StickerPrint.hxx"
|
||||
#include "sticker/StickerDatabase.hxx"
|
||||
@ -30,7 +29,6 @@
|
||||
#include "client/Client.hxx"
|
||||
#include "client/Response.hxx"
|
||||
#include "Partition.hxx"
|
||||
#include "Instance.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "util/ConstBuffer.hxx"
|
||||
#include "util/StringAPI.hxx"
|
||||
|
@ -20,7 +20,6 @@
|
||||
#include "config.h"
|
||||
#include "TagCommands.hxx"
|
||||
#include "Request.hxx"
|
||||
#include "CommandError.hxx"
|
||||
#include "client/Client.hxx"
|
||||
#include "client/Response.hxx"
|
||||
#include "tag/Tag.hxx"
|
||||
|
@ -20,7 +20,6 @@
|
||||
#ifndef MPD_CONFIG_FILE_HXX
|
||||
#define MPD_CONFIG_FILE_HXX
|
||||
|
||||
class Error;
|
||||
class Path;
|
||||
struct ConfigData;
|
||||
|
||||
|
@ -27,7 +27,6 @@
|
||||
#include "fs/AllocatedPath.hxx"
|
||||
#include "fs/StandardDirectory.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "Log.hxx"
|
||||
|
||||
Database *
|
||||
CreateConfiguredDatabase(EventLoop &loop, DatabaseListener &listener,
|
||||
|
@ -25,8 +25,6 @@
|
||||
#include "config/Block.hxx"
|
||||
#include "DatabasePlugin.hxx"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
Database *
|
||||
DatabaseGlobalInit(EventLoop &loop, DatabaseListener &listener,
|
||||
const ConfigBlock &block, Error &error)
|
||||
|
@ -24,7 +24,6 @@
|
||||
#include "PlaylistFile.hxx"
|
||||
#include "Interface.hxx"
|
||||
#include "DetachedSong.hxx"
|
||||
#include "storage/StorageInterface.hxx"
|
||||
|
||||
#include <functional>
|
||||
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include "SongFilter.hxx"
|
||||
#include "SongPrint.hxx"
|
||||
#include "TimePrint.hxx"
|
||||
#include "client/Client.hxx"
|
||||
#include "client/Response.hxx"
|
||||
#include "Partition.hxx"
|
||||
#include "tag/Tag.hxx"
|
||||
|
@ -21,12 +21,10 @@
|
||||
#define MPD_DB_PRINT_H
|
||||
|
||||
#include "tag/Mask.hxx"
|
||||
#include "Compiler.h"
|
||||
|
||||
class SongFilter;
|
||||
struct DatabaseSelection;
|
||||
struct Partition;
|
||||
class Client;
|
||||
class Response;
|
||||
class Error;
|
||||
|
||||
|
@ -43,7 +43,6 @@ static constexpr unsigned DEVICE_INARCHIVE = -1;
|
||||
*/
|
||||
static constexpr unsigned DEVICE_CONTAINER = -2;
|
||||
|
||||
struct db_visitor;
|
||||
class SongFilter;
|
||||
class Error;
|
||||
class Database;
|
||||
|
@ -31,7 +31,6 @@
|
||||
#include "util/Error.hxx"
|
||||
#include "util/Domain.hxx"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
|
||||
#define DIRECTORY_DIR "directory: "
|
||||
|
@ -22,10 +22,8 @@
|
||||
#include "PrefixedLightSong.hxx"
|
||||
#include "db/Selection.hxx"
|
||||
#include "db/LightDirectory.hxx"
|
||||
#include "db/LightSong.hxx"
|
||||
#include "db/Interface.hxx"
|
||||
#include "fs/Traits.hxx"
|
||||
#include "util/Error.hxx"
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -27,7 +27,6 @@
|
||||
#include "db/LightDirectory.hxx"
|
||||
#include "Directory.hxx"
|
||||
#include "Song.hxx"
|
||||
#include "SongFilter.hxx"
|
||||
#include "DatabaseSave.hxx"
|
||||
#include "db/DatabaseLock.hxx"
|
||||
#include "db/DatabaseError.hxx"
|
||||
|
@ -27,7 +27,6 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
inline Song::Song(const char *_uri, size_t uri_length, Directory &_parent)
|
||||
:parent(&_parent), mtime(0),
|
||||
|
@ -29,7 +29,6 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <assert.h>
|
||||
#include <time.h>
|
||||
|
||||
struct LightSong;
|
||||
|
@ -22,8 +22,6 @@
|
||||
|
||||
#include "Song.hxx"
|
||||
|
||||
struct list_head;
|
||||
|
||||
void
|
||||
song_list_sort(SongList &songs);
|
||||
|
||||
|
@ -19,7 +19,6 @@
|
||||
|
||||
#include "config.h"
|
||||
#include "lib/upnp/ContentDirectoryService.hxx"
|
||||
#include "lib/upnp/Domain.hxx"
|
||||
#include "lib/upnp/ixmlwrap.hxx"
|
||||
#include "lib/upnp/UniqueIxml.hxx"
|
||||
#include "lib/upnp/Action.hxx"
|
||||
|
@ -21,7 +21,6 @@
|
||||
#include "UpnpDatabasePlugin.hxx"
|
||||
#include "Directory.hxx"
|
||||
#include "Tags.hxx"
|
||||
#include "lib/upnp/Domain.hxx"
|
||||
#include "lib/upnp/ClientInit.hxx"
|
||||
#include "lib/upnp/Discovery.hxx"
|
||||
#include "lib/upnp/ContentDirectoryService.hxx"
|
||||
|
@ -36,7 +36,6 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <sys/stat.h>
|
||||
#include <string.h>
|
||||
|
||||
static Directory *
|
||||
|
@ -32,8 +32,6 @@
|
||||
#include "tag/TagBuilder.hxx"
|
||||
#include "Log.hxx"
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
Directory *
|
||||
UpdateWalk::MakeDirectoryIfModified(Directory &parent, const char *name,
|
||||
const StorageFileInfo &info)
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include "db/plugins/simple/Song.hxx"
|
||||
|
||||
#include <assert.h>
|
||||
#include <stddef.h>
|
||||
|
||||
void
|
||||
DatabaseEditor::DeleteSong(Directory &dir, Song *del)
|
||||
|
@ -26,7 +26,6 @@
|
||||
|
||||
struct Directory;
|
||||
struct Song;
|
||||
class UpdateRemoveService;
|
||||
|
||||
class DatabaseEditor final {
|
||||
UpdateRemoveService remove;
|
||||
|
@ -32,7 +32,6 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
bool
|
||||
ExcludeList::LoadFile(Path path_fs)
|
||||
|
@ -25,8 +25,6 @@
|
||||
#include "system/FatalError.hxx"
|
||||
#include "Log.hxx"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include <sys/inotify.h>
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
|
@ -34,7 +34,6 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <sys/inotify.h>
|
||||
#include <sys/stat.h>
|
||||
#include <string.h>
|
||||
#include <dirent.h>
|
||||
|
||||
|
@ -29,9 +29,7 @@
|
||||
#include "Idle.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "Log.hxx"
|
||||
#include "Instance.hxx"
|
||||
#include "system/FatalError.hxx"
|
||||
#include "thread/Id.hxx"
|
||||
#include "thread/Thread.hxx"
|
||||
#include "thread/Util.hxx"
|
||||
|
||||
|
@ -19,7 +19,6 @@
|
||||
|
||||
#include "config.h" /* must be first for large file support */
|
||||
#include "UpdateIO.hxx"
|
||||
#include "UpdateDomain.hxx"
|
||||
#include "db/plugins/simple/Directory.hxx"
|
||||
#include "storage/FileInfo.hxx"
|
||||
#include "storage/StorageInterface.hxx"
|
||||
@ -30,7 +29,6 @@
|
||||
#include "Log.hxx"
|
||||
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
|
||||
bool
|
||||
GetInfo(Storage &storage, const char *uri_utf8, StorageFileInfo &info)
|
||||
|
@ -44,7 +44,6 @@
|
||||
#include "Log.hxx"
|
||||
|
||||
#include <assert.h>
|
||||
#include <sys/stat.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
|
@ -24,9 +24,6 @@
|
||||
#include "Editor.hxx"
|
||||
#include "Compiler.h"
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
struct stat;
|
||||
struct StorageFileInfo;
|
||||
struct Directory;
|
||||
struct ArchivePlugin;
|
||||
@ -141,7 +138,7 @@ private:
|
||||
|
||||
/**
|
||||
* Create the specified directory object if it does not exist
|
||||
* already or if the #stat object indicates that it has been
|
||||
* already or if the #StorageFileInfo object indicates that it has been
|
||||
* modified since the last update. Returns nullptr when it
|
||||
* exists already and is unmodified.
|
||||
*
|
||||
|
@ -21,8 +21,6 @@
|
||||
#include "DecoderBuffer.hxx"
|
||||
#include "DecoderAPI.hxx"
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
bool
|
||||
DecoderBuffer::Fill()
|
||||
{
|
||||
|
@ -29,6 +29,8 @@
|
||||
#include "Chrono.hxx"
|
||||
#include "util/Error.hxx"
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include "input/InputStream.hxx"
|
||||
#include "CheckAudioFormat.hxx"
|
||||
#include "tag/TagHandler.hxx"
|
||||
#include "fs/Path.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "util/Domain.hxx"
|
||||
#include "Log.hxx"
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include "input/InputStream.hxx"
|
||||
#include "tag/TagId3.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "util/Alloc.hxx"
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -24,7 +24,6 @@
|
||||
#include "input/Offset.hxx"
|
||||
#include "Compiler.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
struct Decoder;
|
||||
|
@ -33,7 +33,6 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
static const unsigned adts_sample_rates[] =
|
||||
{ 96000, 88200, 64000, 48000, 44100, 32000, 24000, 22050,
|
||||
|
@ -40,7 +40,6 @@
|
||||
#include "CheckAudioFormat.hxx"
|
||||
#include "util/ConstBuffer.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "util/Domain.hxx"
|
||||
#include "LogV.hxx"
|
||||
|
||||
extern "C" {
|
||||
@ -48,7 +47,6 @@ extern "C" {
|
||||
#include <libavformat/avformat.h>
|
||||
#include <libavformat/avio.h>
|
||||
#include <libavutil/avutil.h>
|
||||
#include <libavutil/log.h>
|
||||
|
||||
#if LIBAVUTIL_VERSION_MAJOR >= 53
|
||||
#include <libavutil/frame.h>
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include "tag/ReplayGain.hxx"
|
||||
#include "tag/MixRamp.hxx"
|
||||
#include "ReplayGainInfo.hxx"
|
||||
#include "util/ASCII.hxx"
|
||||
#include "util/DivideString.hxx"
|
||||
|
||||
bool
|
||||
|
@ -25,8 +25,6 @@
|
||||
|
||||
#include <FLAC/metadata.h>
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
struct TagHandler;
|
||||
class MixRampInfo;
|
||||
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include "tag/TagHandler.hxx"
|
||||
#include "fs/Path.hxx"
|
||||
#include "fs/AllocatedPath.hxx"
|
||||
#include "util/Alloc.hxx"
|
||||
#include "util/FormatString.hxx"
|
||||
#include "util/UriUtil.hxx"
|
||||
#include "util/Error.hxx"
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include "tag/MixRamp.hxx"
|
||||
#include "CheckAudioFormat.hxx"
|
||||
#include "util/StringCompare.hxx"
|
||||
#include "util/ASCII.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "util/Domain.hxx"
|
||||
#include "Log.hxx"
|
||||
|
@ -36,7 +36,6 @@
|
||||
#include <ogg/ogg.h>
|
||||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
static constexpr opus_int32 opus_sample_rate = 48000;
|
||||
|
||||
|
@ -26,12 +26,8 @@
|
||||
#include "tag/VorbisComment.hxx"
|
||||
#include "tag/ReplayGain.hxx"
|
||||
#include "ReplayGainInfo.hxx"
|
||||
#include "util/ASCII.hxx"
|
||||
#include "util/DivideString.hxx"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
bool
|
||||
vorbis_comments_to_replay_gain(ReplayGainInfo &rgi, char **comments)
|
||||
{
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include "AudioFormat.hxx"
|
||||
#include "config/ConfigError.hxx"
|
||||
#include "util/Manual.hxx"
|
||||
#include "util/NumberParser.hxx"
|
||||
#include "util/DynamicFifoBuffer.hxx"
|
||||
#include "util/Error.hxx"
|
||||
|
||||
|
@ -22,7 +22,6 @@
|
||||
#include "OggStream.hxx"
|
||||
#include "OggSerial.hxx"
|
||||
#include "../EncoderAPI.hxx"
|
||||
#include "tag/Tag.hxx"
|
||||
#include "AudioFormat.hxx"
|
||||
#include "config/ConfigError.hxx"
|
||||
#include "util/StringUtil.hxx"
|
||||
|
@ -25,14 +25,8 @@
|
||||
#include "Compiler.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifndef WIN32
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#endif
|
||||
|
||||
FullyBufferedSocket::ssize_t
|
||||
FullyBufferedSocket::DirectWrite(const void *data, size_t length)
|
||||
{
|
||||
|
@ -35,7 +35,6 @@
|
||||
class TimeoutMonitor;
|
||||
class IdleMonitor;
|
||||
class DeferredMonitor;
|
||||
class SocketMonitor;
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
|
@ -30,7 +30,6 @@
|
||||
#include "system/fd_util.h"
|
||||
#include "fs/AllocatedPath.hxx"
|
||||
#include "fs/FileSystem.hxx"
|
||||
#include "util/Alloc.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "util/Domain.hxx"
|
||||
#include "Log.hxx"
|
||||
@ -38,12 +37,9 @@
|
||||
#include <string>
|
||||
#include <algorithm>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
|
||||
#ifdef WIN32
|
||||
@ -52,7 +48,6 @@
|
||||
#else
|
||||
#include <netinet/in.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/un.h>
|
||||
#include <netdb.h>
|
||||
#endif
|
||||
|
||||
|
@ -22,8 +22,6 @@
|
||||
|
||||
#include <list>
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
class SocketAddress;
|
||||
class AllocatedSocketAddress;
|
||||
class EventLoop;
|
||||
|
@ -22,7 +22,6 @@
|
||||
|
||||
#ifndef WIN32
|
||||
|
||||
#include "WakeFD.hxx"
|
||||
#include "SocketMonitor.hxx"
|
||||
#include "util/Manual.hxx"
|
||||
#include "system/FatalError.hxx"
|
||||
|
@ -21,7 +21,6 @@
|
||||
#include "SocketMonitor.hxx"
|
||||
#include "Loop.hxx"
|
||||
#include "system/fd_util.h"
|
||||
#include "Compiler.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
|
@ -27,14 +27,12 @@
|
||||
#include "ReplayGainConfig.hxx"
|
||||
#include "mixer/MixerControl.hxx"
|
||||
#include "pcm/Volume.hxx"
|
||||
#include "pcm/PcmBuffer.hxx"
|
||||
#include "util/ConstBuffer.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "util/Domain.hxx"
|
||||
#include "Log.hxx"
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
|
||||
static constexpr Domain replay_gain_domain("replay_gain");
|
||||
|
||||
|
@ -53,7 +53,6 @@
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -25,10 +25,6 @@
|
||||
#include "pcm/Volume.hxx"
|
||||
#include "AudioFormat.hxx"
|
||||
#include "util/ConstBuffer.hxx"
|
||||
#include "util/Error.hxx"
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
|
||||
class VolumeFilter final : public Filter {
|
||||
PcmVolume pv;
|
||||
|
@ -20,10 +20,8 @@
|
||||
#include "config.h"
|
||||
#include "Charset.hxx"
|
||||
#include "Domain.hxx"
|
||||
#include "Limits.hxx"
|
||||
#include "Log.hxx"
|
||||
#include "lib/icu/Converter.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "util/AllocatedString.hxx"
|
||||
|
||||
#ifdef WIN32
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include "system/Error.hxx"
|
||||
|
||||
#include <errno.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
void
|
||||
CheckDirectoryReadable(Path path_fs)
|
||||
|
@ -20,8 +20,6 @@
|
||||
#include "config.h"
|
||||
#include "Path.hxx"
|
||||
#include "Charset.hxx"
|
||||
#include "util/UriUtil.hxx"
|
||||
#include "util/StringUtil.hxx"
|
||||
|
||||
std::string
|
||||
Path::ToUTF8() const
|
||||
|
@ -34,7 +34,6 @@
|
||||
#include <shlobj.h>
|
||||
#else
|
||||
#include <stdlib.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
#include <pwd.h>
|
||||
#endif
|
||||
|
@ -24,8 +24,6 @@
|
||||
#include "PeekReader.hxx"
|
||||
#include "Compiler.h"
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
class GunzipReader;
|
||||
|
||||
/**
|
||||
|
@ -29,8 +29,6 @@
|
||||
#include "system/FileDescriptor.hxx"
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
#ifdef WIN32
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
@ -19,7 +19,6 @@
|
||||
|
||||
#include "config.h"
|
||||
#include "GunzipReader.hxx"
|
||||
#include "lib/zlib/Domain.hxx"
|
||||
|
||||
GunzipReader::GunzipReader(Reader &_next) throw(ZlibError)
|
||||
:next(_next), eof(false)
|
||||
|
@ -19,7 +19,6 @@
|
||||
|
||||
#include "config.h"
|
||||
#include "GzipOutputStream.hxx"
|
||||
#include "lib/zlib/Domain.hxx"
|
||||
#include "lib/zlib/Error.hxx"
|
||||
|
||||
GzipOutputStream::GzipOutputStream(OutputStream &_next) throw(ZlibError)
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include "lib/zlib/Error.hxx"
|
||||
#include "Compiler.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <zlib.h>
|
||||
|
||||
/**
|
||||
|
@ -26,8 +26,6 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
class AutoGunzipReader;
|
||||
|
||||
/**
|
||||
* A filter that allows the caller to peek the first few bytes without
|
||||
* consuming them. The first call must be Peek(), and the following
|
||||
|
@ -21,7 +21,6 @@
|
||||
#include "AsyncInputStream.hxx"
|
||||
#include "Domain.hxx"
|
||||
#include "tag/Tag.hxx"
|
||||
#include "event/Call.hxx"
|
||||
#include "thread/Cond.hxx"
|
||||
#include "IOThread.hxx"
|
||||
#include "util/HugeAllocator.hxx"
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include "Log.hxx"
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
|
||||
bool
|
||||
input_stream_global_init(Error &error)
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include <string>
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdint.h>
|
||||
|
||||
class Cond;
|
||||
class Error;
|
||||
|
@ -25,10 +25,8 @@
|
||||
#include "Domain.hxx"
|
||||
#include "plugins/RewindInputPlugin.hxx"
|
||||
#include "fs/Traits.hxx"
|
||||
#include "fs/Path.hxx"
|
||||
#include "fs/AllocatedPath.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "util/Domain.hxx"
|
||||
|
||||
InputStreamPtr
|
||||
InputStream::Open(const char *url,
|
||||
|
@ -19,9 +19,6 @@
|
||||
|
||||
#include "config.h"
|
||||
#include "ProxyInputStream.hxx"
|
||||
#include "tag/Tag.hxx"
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
ProxyInputStream::ProxyInputStream(InputStream *_input)
|
||||
:InputStream(_input->GetURI(), _input->mutex, _input->cond),
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user