*: include cleanup (using iwyu)

This commit is contained in:
Max Kellermann
2016-03-01 22:08:13 +01:00
parent fb547260d1
commit 1aee89f5ea
181 changed files with 18 additions and 390 deletions

View File

@@ -21,7 +21,6 @@
#include "PlaylistMapper.hxx"
#include "PlaylistFile.hxx"
#include "PlaylistStream.hxx"
#include "PlaylistRegistry.hxx"
#include "Mapper.hxx"
#include "fs/AllocatedPath.hxx"
#include "storage/StorageInterface.hxx"

View File

@@ -21,13 +21,13 @@
#include "PlaylistQueue.hxx"
#include "PlaylistAny.hxx"
#include "PlaylistSong.hxx"
#include "PlaylistError.hxx"
#include "queue/Playlist.hxx"
#include "SongEnumerator.hxx"
#include "DetachedSong.hxx"
#include "thread/Mutex.hxx"
#include "thread/Cond.hxx"
#include "fs/Traits.hxx"
#include "util/Error.hxx"
#ifdef ENABLE_DATABASE
#include "SongLoader.hxx"

View File

@@ -24,8 +24,6 @@
#ifndef MPD_PLAYLIST_QUEUE_HXX
#define MPD_PLAYLIST_QUEUE_HXX
#include "PlaylistError.hxx"
class Error;
class SongLoader;
class SongEnumerator;

View File

@@ -37,7 +37,6 @@
#include "util/Macros.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/Block.hxx"
#include "Log.hxx"
#include <assert.h>
#include <string.h>

View File

@@ -27,7 +27,6 @@
#include "util/Error.hxx"
#include "DetachedSong.hxx"
#include <assert.h>
#include <string.h>
static void

View File

@@ -24,7 +24,6 @@
#include "SongEnumerator.hxx"
#include "SongPrint.hxx"
#include "DetachedSong.hxx"
#include "SongLoader.hxx"
#include "fs/Traits.hxx"
#include "thread/Mutex.hxx"
#include "thread/Cond.hxx"

View File

@@ -28,9 +28,6 @@
#include <string>
#include <memory>
class DetachedSong;
struct Tag;
class CueParser {
enum {
/**

View File

@@ -24,8 +24,6 @@
#include "../cue/CueParser.hxx"
#include "input/TextInputStream.hxx"
#include <string>
class CuePlaylist final : public SongEnumerator {
TextInputStream tis;
CueParser parser;

View File

@@ -34,8 +34,6 @@
#include <FLAC/metadata.h>
#include <string.h>
class FlacPlaylist final : public SongEnumerator {
const char *const uri;

View File

@@ -28,7 +28,6 @@
#include "util/ASCII.hxx"
#include "util/StringUtil.hxx"
#include "util/DivideString.hxx"
#include "util/Error.hxx"
#include <string>