DatabasePlugin: split header

This commit is contained in:
Max Kellermann
2014-02-19 22:54:52 +01:00
parent 8d6fedf817
commit ae594ad92c
22 changed files with 192 additions and 126 deletions

View File

@@ -19,6 +19,7 @@
#include "config.h"
#include "LazyDatabase.hxx"
#include "db/Interface.hxx"
#include <assert.h>

View File

@@ -20,7 +20,8 @@
#ifndef MPD_LAZY_DATABASE_PLUGIN_HXX
#define MPD_LAZY_DATABASE_PLUGIN_HXX
#include "db/DatabasePlugin.hxx"
#include "db/Interface.hxx"
#include "Compiler.h"
/**
* A wrapper for a #Database object that gets opened on the first

View File

@@ -19,6 +19,7 @@
#include "config.h"
#include "ProxyDatabasePlugin.hxx"
#include "db/Interface.hxx"
#include "db/DatabasePlugin.hxx"
#include "db/DatabaseListener.hxx"
#include "db/Selection.hxx"
@@ -26,6 +27,7 @@
#include "db/PlaylistInfo.hxx"
#include "db/LightDirectory.hxx"
#include "db/LightSong.hxx"
#include "db/Stats.hxx"
#include "SongFilter.hxx"
#include "Compiler.h"
#include "config/ConfigData.hxx"

View File

@@ -19,6 +19,7 @@
#include "config.h"
#include "SimpleDatabasePlugin.hxx"
#include "db/DatabasePlugin.hxx"
#include "db/Selection.hxx"
#include "db/Helpers.hxx"
#include "db/LightDirectory.hxx"

View File

@@ -20,14 +20,18 @@
#ifndef MPD_SIMPLE_DATABASE_PLUGIN_HXX
#define MPD_SIMPLE_DATABASE_PLUGIN_HXX
#include "db/DatabasePlugin.hxx"
#include "db/Interface.hxx"
#include "fs/AllocatedPath.hxx"
#include "db/LightSong.hxx"
#include "Compiler.h"
#include <cassert>
struct config_param;
struct Directory;
struct DatabasePlugin;
class EventLoop;
class DatabaseListener;
class SimpleDatabase : public Database {
AllocatedPath path;

View File

@@ -26,11 +26,13 @@
#include "lib/upnp/Util.hxx"
#include "upnp/Directory.hxx"
#include "upnp/Tags.hxx"
#include "db/Interface.hxx"
#include "db/DatabasePlugin.hxx"
#include "db/Selection.hxx"
#include "db/DatabaseError.hxx"
#include "db/LightDirectory.hxx"
#include "db/LightSong.hxx"
#include "db/Stats.hxx"
#include "config/ConfigData.hxx"
#include "tag/TagBuilder.hxx"
#include "tag/TagTable.hxx"