include cleanups (powered by iwyu)
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
#include "DatabaseGlue.hxx"
|
||||
#include "Interface.hxx"
|
||||
#include "Registry.hxx"
|
||||
#include "DatabaseError.hxx"
|
||||
#include "util/RuntimeError.hxx"
|
||||
#include "config/Block.hxx"
|
||||
#include "DatabasePlugin.hxx"
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
|
||||
#include "DatabasePlaylist.hxx"
|
||||
#include "DatabaseSong.hxx"
|
||||
#include "Selection.hxx"
|
||||
#include "PlaylistFile.hxx"
|
||||
#include "Interface.hxx"
|
||||
#include "song/DetachedSong.hxx"
|
||||
|
||||
@@ -21,15 +21,10 @@
|
||||
#include "Selection.hxx"
|
||||
#include "SongPrint.hxx"
|
||||
#include "TimePrint.hxx"
|
||||
#include "TagPrint.hxx"
|
||||
#include "client/Response.hxx"
|
||||
#include "protocol/RangeArg.hxx"
|
||||
#include "Partition.hxx"
|
||||
#include "song/DetachedSong.hxx"
|
||||
#include "song/Filter.hxx"
|
||||
#include "song/LightSong.hxx"
|
||||
#include "tag/Tag.hxx"
|
||||
#include "tag/Mask.hxx"
|
||||
#include "LightDirectory.hxx"
|
||||
#include "PlaylistInfo.hxx"
|
||||
#include "Interface.hxx"
|
||||
|
||||
@@ -24,10 +24,8 @@
|
||||
|
||||
template<typename T> struct ConstBuffer;
|
||||
enum TagType : uint8_t;
|
||||
class TagMask;
|
||||
class SongFilter;
|
||||
struct DatabaseSelection;
|
||||
struct RangeArg;
|
||||
struct Partition;
|
||||
class Response;
|
||||
|
||||
|
||||
@@ -20,8 +20,6 @@
|
||||
#ifndef MPD_DATABASE_SONG_HXX
|
||||
#define MPD_DATABASE_SONG_HXX
|
||||
|
||||
#include "util/Compiler.h"
|
||||
|
||||
struct LightSong;
|
||||
class Database;
|
||||
class Storage;
|
||||
|
||||
@@ -22,11 +22,8 @@
|
||||
|
||||
#include "tag/Type.h"
|
||||
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <string>
|
||||
|
||||
class TagMask;
|
||||
class Database;
|
||||
struct DatabaseSelection;
|
||||
template<typename Key> class RecursiveMap;
|
||||
|
||||
@@ -18,9 +18,12 @@
|
||||
*/
|
||||
|
||||
#include "VHelper.hxx"
|
||||
#include "song/DetachedSong.hxx"
|
||||
#include "song/LightSong.hxx"
|
||||
#include "song/Filter.hxx"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
|
||||
#include "Visitor.hxx"
|
||||
#include "Selection.hxx"
|
||||
#include "song/DetachedSong.hxx"
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
#include "config/Block.hxx"
|
||||
#include "tag/Builder.hxx"
|
||||
#include "tag/Tag.hxx"
|
||||
#include "tag/Mask.hxx"
|
||||
#include "tag/ParseName.hxx"
|
||||
#include "util/ConstBuffer.hxx"
|
||||
#include "util/RecursiveMap.hxx"
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
|
||||
#include "DatabaseSave.hxx"
|
||||
#include "db/DatabaseLock.hxx"
|
||||
#include "Directory.hxx"
|
||||
#include "DirectorySave.hxx"
|
||||
#include "fs/io/BufferedOutputStream.hxx"
|
||||
#include "fs/io/TextFile.hxx"
|
||||
|
||||
@@ -33,7 +33,6 @@
|
||||
#include "DatabaseSave.hxx"
|
||||
#include "db/DatabaseLock.hxx"
|
||||
#include "db/DatabaseError.hxx"
|
||||
#include "tag/Mask.hxx"
|
||||
#include "fs/io/TextFile.hxx"
|
||||
#include "fs/io/BufferedOutputStream.hxx"
|
||||
#include "fs/io/FileOutputStream.hxx"
|
||||
|
||||
@@ -23,13 +23,10 @@
|
||||
#include "lib/upnp/Action.hxx"
|
||||
#include "Directory.hxx"
|
||||
#include "util/NumberParser.hxx"
|
||||
#include "util/UriUtil.hxx"
|
||||
#include "util/RuntimeError.hxx"
|
||||
#include "util/ScopeExit.hxx"
|
||||
#include "util/StringFormat.hxx"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
static void
|
||||
ReadResultTag(UPnPDirContent &dirbuf, IXML_Document *response)
|
||||
{
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
*/
|
||||
|
||||
#include "Directory.hxx"
|
||||
#include "lib/upnp/Util.hxx"
|
||||
#include "lib/expat/ExpatParser.hxx"
|
||||
#include "Tags.hxx"
|
||||
#include "tag/Builder.hxx"
|
||||
|
||||
@@ -34,12 +34,8 @@
|
||||
#include "song/Filter.hxx"
|
||||
#include "song/TagSongFilter.hxx"
|
||||
#include "db/Stats.hxx"
|
||||
#include "config/Block.hxx"
|
||||
#include "tag/Builder.hxx"
|
||||
#include "tag/Table.hxx"
|
||||
#include "tag/Mask.hxx"
|
||||
#include "fs/Traits.hxx"
|
||||
#include "Log.hxx"
|
||||
#include "util/ConstBuffer.hxx"
|
||||
#include "util/RecursiveMap.hxx"
|
||||
#include "util/SplitString.hxx"
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#define MPD_UPDATE_DATABASE_HXX
|
||||
|
||||
#include "Remove.hxx"
|
||||
#include "util/Compiler.h"
|
||||
|
||||
struct Directory;
|
||||
struct Song;
|
||||
|
||||
@@ -27,13 +27,9 @@
|
||||
#include "fs/NarrowPath.hxx"
|
||||
#include "input/TextInputStream.hxx"
|
||||
#include "util/StringStrip.hxx"
|
||||
#include "Log.hxx"
|
||||
#include "config.h"
|
||||
|
||||
#include <exception>
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef HAVE_CLASS_GLOB
|
||||
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#include "Log.hxx"
|
||||
|
||||
#include <sys/inotify.h>
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
#include <limits.h>
|
||||
|
||||
@@ -21,9 +21,6 @@
|
||||
#define MPD_INOTIFY_SOURCE_HXX
|
||||
|
||||
#include "event/SocketMonitor.hxx"
|
||||
#include "util/Compiler.h"
|
||||
|
||||
class FileDescriptor;
|
||||
|
||||
typedef void (*mpd_inotify_callback_t)(int wd, unsigned mask,
|
||||
const char *name, void *ctx);
|
||||
|
||||
@@ -20,8 +20,6 @@
|
||||
#ifndef MPD_INOTIFY_UPDATE_HXX
|
||||
#define MPD_INOTIFY_UPDATE_HXX
|
||||
|
||||
#include "util/Compiler.h"
|
||||
|
||||
class EventLoop;
|
||||
class Storage;
|
||||
class UpdateService;
|
||||
|
||||
@@ -22,12 +22,10 @@
|
||||
|
||||
#include "event/DeferEvent.hxx"
|
||||
#include "thread/Mutex.hxx"
|
||||
#include "util/Compiler.h"
|
||||
|
||||
#include <forward_list>
|
||||
#include <string>
|
||||
|
||||
struct Song;
|
||||
class DatabaseListener;
|
||||
|
||||
/**
|
||||
|
||||
@@ -26,8 +26,6 @@
|
||||
#include "fs/AllocatedPath.hxx"
|
||||
#include "Log.hxx"
|
||||
|
||||
#include <stdexcept>
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
bool
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#include "util/UriUtil.hxx"
|
||||
#include "Log.hxx"
|
||||
|
||||
#include <stdexcept>
|
||||
#include <exception>
|
||||
#include <memory>
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
Reference in New Issue
Block a user