Commit 89f9561d authored by Max Kellermann's avatar Max Kellermann

storage/Interface: include cleanup

parent 8af3f91e
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include "TimePrint.hxx" #include "TimePrint.hxx"
#include "TagPrint.hxx" #include "TagPrint.hxx"
#include "client/Client.hxx" #include "client/Client.hxx"
#include "fs/Traits.hxx"
#include "util/UriUtil.hxx" #include "util/UriUtil.hxx"
#define SONG_FILE "file: " #define SONG_FILE "file: "
......
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
#include "storage/StorageInterface.hxx" #include "storage/StorageInterface.hxx"
#include "fs/AllocatedPath.hxx" #include "fs/AllocatedPath.hxx"
#include "fs/FileSystem.hxx" #include "fs/FileSystem.hxx"
#include "fs/DirectoryReader.hxx"
#include "TimePrint.hxx" #include "TimePrint.hxx"
#include "ls.hxx" #include "ls.hxx"
......
...@@ -24,6 +24,8 @@ ...@@ -24,6 +24,8 @@
#include "DetachedSong.hxx" #include "DetachedSong.hxx"
#include "storage/StorageInterface.hxx" #include "storage/StorageInterface.hxx"
#include <assert.h>
DetachedSong DetachedSong
DatabaseDetachSong(const Storage &storage, const LightSong &song) DatabaseDetachSong(const Storage &storage, const LightSong &song)
{ {
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include "storage/StorageInterface.hxx" #include "storage/StorageInterface.hxx"
#include "fs/Traits.hxx" #include "fs/Traits.hxx"
#include "fs/FileSystem.hxx" #include "fs/FileSystem.hxx"
#include "fs/AllocatedPath.hxx"
#include "util/Error.hxx" #include "util/Error.hxx"
#include "Log.hxx" #include "Log.hxx"
......
...@@ -20,11 +20,14 @@ ...@@ -20,11 +20,14 @@
#include "config.h" #include "config.h"
#include "CompositeStorage.hxx" #include "CompositeStorage.hxx"
#include "FileInfo.hxx" #include "FileInfo.hxx"
#include "fs/AllocatedPath.hxx"
#include "util/Error.hxx" #include "util/Error.hxx"
#include "util/Domain.hxx" #include "util/Domain.hxx"
#include <set> #include <set>
#include <string.h>
static constexpr Domain composite_domain("composite"); static constexpr Domain composite_domain("composite");
/** /**
......
...@@ -21,13 +21,13 @@ ...@@ -21,13 +21,13 @@
#define MPD_STORAGE_INTERFACE_HXX #define MPD_STORAGE_INTERFACE_HXX
#include "check.h" #include "check.h"
#include "fs/AllocatedPath.hxx" #include "Compiler.h"
#include "fs/DirectoryReader.hxx"
#include <string> #include <string>
struct FileInfo; struct FileInfo;
class AllocatedPath; class AllocatedPath;
class Error;
class StorageDirectoryReader { class StorageDirectoryReader {
public: public:
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include "storage/FileInfo.hxx" #include "storage/FileInfo.hxx"
#include "lib/smbclient/Init.hxx" #include "lib/smbclient/Init.hxx"
#include "lib/smbclient/Mutex.hxx" #include "lib/smbclient/Mutex.hxx"
#include "fs/Traits.hxx"
#include "util/Error.hxx" #include "util/Error.hxx"
#include "thread/Mutex.hxx" #include "thread/Mutex.hxx"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment