include cleanups (powered by iwyu)
This commit is contained in:
@@ -18,8 +18,6 @@
|
||||
*/
|
||||
|
||||
#include "BufferedInputStream.hxx"
|
||||
#include "thread/Cond.hxx"
|
||||
#include "thread/Name.hxx"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#include "BufferingInputStream.hxx"
|
||||
#include "thread/Cond.hxx"
|
||||
#include "InputStream.hxx"
|
||||
#include "thread/Name.hxx"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
@@ -20,10 +20,10 @@
|
||||
#ifndef MPD_BUFFERING_INPUT_STREAM_BUFFER_HXX
|
||||
#define MPD_BUFFERING_INPUT_STREAM_BUFFER_HXX
|
||||
|
||||
#include "InputStream.hxx"
|
||||
#include "Ptr.hxx"
|
||||
#include "Handler.hxx"
|
||||
#include "thread/Thread.hxx"
|
||||
#include "thread/Mutex.hxx"
|
||||
#include "thread/Cond.hxx"
|
||||
#include "util/SparseBuffer.hxx"
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "ProxyInputStream.hxx"
|
||||
#include "tag/Tag.hxx"
|
||||
|
||||
#include <stdexcept>
|
||||
#include <utility>
|
||||
|
||||
ProxyInputStream::ProxyInputStream(InputStreamPtr _input) noexcept
|
||||
:InputStream(_input->GetURI(), _input->mutex),
|
||||
|
||||
@@ -21,9 +21,7 @@
|
||||
#define MPD_INPUT_READER_HXX
|
||||
|
||||
#include "fs/io/Reader.hxx"
|
||||
#include "util/Compiler.h"
|
||||
|
||||
struct Decoder;
|
||||
class InputStream;
|
||||
|
||||
/**
|
||||
|
||||
@@ -20,9 +20,6 @@
|
||||
#include "TextInputStream.hxx"
|
||||
#include "InputStream.hxx"
|
||||
#include "util/TextFile.hxx"
|
||||
#include "Log.hxx"
|
||||
|
||||
#include <stdexcept>
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
|
||||
1
src/input/cache/Item.cxx
vendored
1
src/input/cache/Item.cxx
vendored
@@ -19,6 +19,7 @@
|
||||
|
||||
#include "Item.hxx"
|
||||
#include "Lease.hxx"
|
||||
#include "input/InputStream.hxx"
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
|
||||
2
src/input/cache/Item.hxx
vendored
2
src/input/cache/Item.hxx
vendored
@@ -22,12 +22,10 @@
|
||||
|
||||
#include "input/BufferingInputStream.hxx"
|
||||
#include "thread/Mutex.hxx"
|
||||
#include "util/SparseBuffer.hxx"
|
||||
|
||||
#include <boost/intrusive/list.hpp>
|
||||
#include <boost/intrusive/set_hook.hpp>
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
class InputCacheLease;
|
||||
|
||||
1
src/input/cache/Manager.hxx
vendored
1
src/input/cache/Manager.hxx
vendored
@@ -20,7 +20,6 @@
|
||||
#ifndef MPD_INPUT_CACHE_MANAGER_HXX
|
||||
#define MPD_INPUT_CACHE_MANAGER_HXX
|
||||
|
||||
#include "input/Offset.hxx"
|
||||
#include "thread/Mutex.hxx"
|
||||
#include "util/Compiler.h"
|
||||
|
||||
|
||||
@@ -30,11 +30,9 @@
|
||||
#include "../InputPlugin.hxx"
|
||||
#include "../AsyncInputStream.hxx"
|
||||
#include "event/Call.hxx"
|
||||
#include "thread/Cond.hxx"
|
||||
#include "config/Block.hxx"
|
||||
#include "util/Domain.hxx"
|
||||
#include "util/RuntimeError.hxx"
|
||||
#include "util/StringCompare.hxx"
|
||||
#include "util/ASCII.hxx"
|
||||
#include "util/DivideString.hxx"
|
||||
#include "AudioParser.hxx"
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
* CD-Audio handling (requires libcdio_paranoia)
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "CdioParanoiaInputPlugin.hxx"
|
||||
#include "lib/cdio/Paranoia.hxx"
|
||||
#include "../InputStream.hxx"
|
||||
@@ -34,7 +33,6 @@
|
||||
#include "fs/AllocatedPath.hxx"
|
||||
#include "Log.hxx"
|
||||
#include "config/Block.hxx"
|
||||
#include "config/Domain.hxx"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
|
||||
#include "CurlInputPlugin.hxx"
|
||||
#include "lib/curl/Error.hxx"
|
||||
#include "lib/curl/Easy.hxx"
|
||||
#include "lib/curl/Global.hxx"
|
||||
#include "lib/curl/Init.hxx"
|
||||
#include "lib/curl/Request.hxx"
|
||||
@@ -36,10 +35,8 @@
|
||||
#include "event/Call.hxx"
|
||||
#include "event/Loop.hxx"
|
||||
#include "util/ASCII.hxx"
|
||||
#include "util/StringUtil.hxx"
|
||||
#include "util/StringFormat.hxx"
|
||||
#include "util/NumberParser.hxx"
|
||||
#include "util/RuntimeError.hxx"
|
||||
#include "util/Domain.hxx"
|
||||
#include "Log.hxx"
|
||||
#include "PluginUnavailable.hxx"
|
||||
|
||||
@@ -23,15 +23,9 @@
|
||||
#include "FfmpegInputPlugin.hxx"
|
||||
#include "lib/ffmpeg/IOContext.hxx"
|
||||
#include "lib/ffmpeg/Init.hxx"
|
||||
#include "lib/ffmpeg/Error.hxx"
|
||||
#include "../InputStream.hxx"
|
||||
#include "PluginUnavailable.hxx"
|
||||
#include "util/StringAPI.hxx"
|
||||
#include "../InputPlugin.hxx"
|
||||
#include <iostream>
|
||||
#include <exception>
|
||||
#include <typeinfo>
|
||||
#include <stdexcept>
|
||||
|
||||
class FfmpegInputStream final : public InputStream {
|
||||
Ffmpeg::IOContext io;
|
||||
@@ -90,7 +84,7 @@ input_ffmpeg_protocols() {
|
||||
protocols.emplace(schema);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return protocols;
|
||||
}
|
||||
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
|
||||
#include "FileInputPlugin.hxx"
|
||||
#include "../InputStream.hxx"
|
||||
#include "../InputPlugin.hxx"
|
||||
#include "fs/Path.hxx"
|
||||
#include "fs/FileInfo.hxx"
|
||||
#include "fs/io/FileReader.hxx"
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#include "input/ThreadInputStream.hxx"
|
||||
#include "input/InputPlugin.hxx"
|
||||
#include "system/Error.hxx"
|
||||
#include "util/ASCII.hxx"
|
||||
|
||||
#include <libmms/mmsx.h>
|
||||
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
#include "../InputPlugin.hxx"
|
||||
#include "lib/nfs/Glue.hxx"
|
||||
#include "lib/nfs/FileReader.hxx"
|
||||
#include "util/ASCII.hxx"
|
||||
|
||||
/**
|
||||
* Do not buffer more than this number of bytes. It should be a
|
||||
|
||||
@@ -31,11 +31,8 @@
|
||||
#include "thread/Mutex.hxx"
|
||||
#include "util/StringCompare.hxx"
|
||||
|
||||
#include <stdexcept>
|
||||
#include <memory>
|
||||
|
||||
#include <time.h>
|
||||
|
||||
static QobuzClient *qobuz_client;
|
||||
|
||||
class QobuzInputStream final
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
#include "QobuzSession.hxx"
|
||||
#include "lib/curl/Form.hxx"
|
||||
#include "lib/yajl/Callbacks.hxx"
|
||||
#include "util/RuntimeError.hxx"
|
||||
|
||||
using Wrapper = Yajl::CallbacksWrapper<QobuzLoginRequest::ResponseParser>;
|
||||
static constexpr yajl_callbacks parse_callbacks = {
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#include "QobuzErrorParser.hxx"
|
||||
#include "QobuzClient.hxx"
|
||||
#include "lib/yajl/Callbacks.hxx"
|
||||
#include "util/RuntimeError.hxx"
|
||||
|
||||
using Wrapper = Yajl::CallbacksWrapper<QobuzTrackRequest::ResponseParser>;
|
||||
static constexpr yajl_callbacks parse_callbacks = {
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#include "../MaybeBufferedInputStream.hxx"
|
||||
#include "PluginUnavailable.hxx"
|
||||
#include "system/Error.hxx"
|
||||
#include "util/ASCII.hxx"
|
||||
|
||||
#include <libsmbclient.h>
|
||||
|
||||
|
||||
@@ -34,7 +34,6 @@
|
||||
#include "util/StringCompare.hxx"
|
||||
#include "Log.hxx"
|
||||
|
||||
#include <stdexcept>
|
||||
#include <memory>
|
||||
|
||||
static constexpr Domain tidal_domain("tidal");
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
*/
|
||||
|
||||
#include "TidalSessionManager.hxx"
|
||||
#include "lib/curl/Global.hxx"
|
||||
#include "util/Domain.hxx"
|
||||
|
||||
#include "Log.hxx"
|
||||
|
||||
@@ -30,9 +30,6 @@
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
class CurlRequest;
|
||||
class TidalLoginRequest;
|
||||
|
||||
/**
|
||||
* Callback class for #TidalSessionManager.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user