Database*: move to db/
This commit is contained in:
@@ -23,8 +23,8 @@
|
||||
#include "LogInit.hxx"
|
||||
#include "Log.hxx"
|
||||
#include "config/ConfigGlobal.hxx"
|
||||
#include "DatabaseRegistry.hxx"
|
||||
#include "DatabasePlugin.hxx"
|
||||
#include "db/Registry.hxx"
|
||||
#include "db/DatabasePlugin.hxx"
|
||||
#include "decoder/DecoderList.hxx"
|
||||
#include "decoder/DecoderPlugin.hxx"
|
||||
#include "output/OutputList.hxx"
|
||||
@@ -99,7 +99,7 @@ static void version(void)
|
||||
"This is free software; see the source for copying conditions. There is NO\n"
|
||||
"warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
|
||||
"\n"
|
||||
"Database plugins:");
|
||||
"db/Database plugins:");
|
||||
|
||||
for (auto i = database_plugins; *i != nullptr; ++i)
|
||||
printf(" %s", (*i)->name);
|
||||
|
@@ -19,7 +19,7 @@
|
||||
|
||||
#include "config.h"
|
||||
#include "DetachedSong.hxx"
|
||||
#include "LightSong.hxx"
|
||||
#include "db/LightSong.hxx"
|
||||
#include "util/UriUtil.hxx"
|
||||
#include "fs/Traits.hxx"
|
||||
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#define MPD_INSTANCE_HXX
|
||||
|
||||
#include "check.h"
|
||||
#include "DatabaseListener.hxx"
|
||||
#include "db/DatabaseListener.hxx"
|
||||
#include "Compiler.h"
|
||||
|
||||
class ClientList;
|
||||
|
@@ -23,13 +23,13 @@
|
||||
#include "CommandLine.hxx"
|
||||
#include "PlaylistFile.hxx"
|
||||
#include "PlaylistGlobal.hxx"
|
||||
#include "update/UpdateGlue.hxx"
|
||||
#include "db/update/UpdateGlue.hxx"
|
||||
#include "MusicChunk.hxx"
|
||||
#include "StateFile.hxx"
|
||||
#include "PlayerThread.hxx"
|
||||
#include "Mapper.hxx"
|
||||
#include "DatabaseGlue.hxx"
|
||||
#include "DatabaseSimple.hxx"
|
||||
#include "db/DatabaseGlue.hxx"
|
||||
#include "db/DatabaseSimple.hxx"
|
||||
#include "Permission.hxx"
|
||||
#include "Listen.hxx"
|
||||
#include "client/Client.hxx"
|
||||
@@ -68,7 +68,7 @@
|
||||
#include "Stats.hxx"
|
||||
|
||||
#ifdef ENABLE_INOTIFY
|
||||
#include "update/InotifyUpdate.hxx"
|
||||
#include "db/update/InotifyUpdate.hxx"
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_SQLITE
|
||||
|
@@ -23,10 +23,10 @@
|
||||
|
||||
#include "config.h"
|
||||
#include "Mapper.hxx"
|
||||
#include "Directory.hxx"
|
||||
#include "Song.hxx"
|
||||
#include "DetachedSong.hxx"
|
||||
#include "LightSong.hxx"
|
||||
#include "db/Directory.hxx"
|
||||
#include "db/Song.hxx"
|
||||
#include "db/LightSong.hxx"
|
||||
#include "fs/AllocatedPath.hxx"
|
||||
#include "fs/Traits.hxx"
|
||||
#include "fs/Charset.hxx"
|
||||
|
@@ -32,7 +32,7 @@
|
||||
#include "DetachedSong.hxx"
|
||||
#include "Mapper.hxx"
|
||||
#include "Idle.hxx"
|
||||
#include "DatabaseSong.hxx"
|
||||
#include "db/DatabaseSong.hxx"
|
||||
#include "Log.hxx"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
@@ -22,7 +22,7 @@
|
||||
#include "PlaylistSave.hxx"
|
||||
#include "PlaylistInfo.hxx"
|
||||
#include "PlaylistVector.hxx"
|
||||
#include "DatabaseSong.hxx"
|
||||
#include "db/DatabaseSong.hxx"
|
||||
#include "DetachedSong.hxx"
|
||||
#include "Mapper.hxx"
|
||||
#include "fs/TextFile.hxx"
|
||||
|
@@ -23,8 +23,8 @@
|
||||
#include "Playlist.hxx"
|
||||
#include "queue/QueuePrint.hxx"
|
||||
#include "SongPrint.hxx"
|
||||
#include "DatabaseGlue.hxx"
|
||||
#include "DatabasePlugin.hxx"
|
||||
#include "db/DatabaseGlue.hxx"
|
||||
#include "db/DatabasePlugin.hxx"
|
||||
#include "client/Client.hxx"
|
||||
#include "input/InputStream.hxx"
|
||||
#include "DetachedSong.hxx"
|
||||
|
@@ -19,9 +19,9 @@
|
||||
|
||||
#include "config.h"
|
||||
#include "Playlist.hxx"
|
||||
#include "DatabaseGlue.hxx"
|
||||
#include "DatabasePlugin.hxx"
|
||||
#include "LightSong.hxx"
|
||||
#include "db/DatabaseGlue.hxx"
|
||||
#include "db/DatabasePlugin.hxx"
|
||||
#include "db/LightSong.hxx"
|
||||
#include "DetachedSong.hxx"
|
||||
#include "tag/Tag.hxx"
|
||||
#include "Idle.hxx"
|
||||
|
@@ -19,7 +19,7 @@
|
||||
|
||||
#include "config.h"
|
||||
#include "PlaylistVector.hxx"
|
||||
#include "DatabaseLock.hxx"
|
||||
#include "db/DatabaseLock.hxx"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
|
@@ -19,8 +19,8 @@
|
||||
|
||||
#include "config.h"
|
||||
#include "SongFilter.hxx"
|
||||
#include "Song.hxx"
|
||||
#include "LightSong.hxx"
|
||||
#include "db/Song.hxx"
|
||||
#include "db/LightSong.hxx"
|
||||
#include "DetachedSong.hxx"
|
||||
#include "tag/Tag.hxx"
|
||||
#include "util/ASCII.hxx"
|
||||
|
@@ -19,7 +19,7 @@
|
||||
|
||||
#include "config.h"
|
||||
#include "SongPrint.hxx"
|
||||
#include "LightSong.hxx"
|
||||
#include "db/LightSong.hxx"
|
||||
#include "DetachedSong.hxx"
|
||||
#include "TimePrint.hxx"
|
||||
#include "TagPrint.hxx"
|
||||
|
@@ -19,7 +19,7 @@
|
||||
|
||||
#include "config.h"
|
||||
#include "SongSave.hxx"
|
||||
#include "Song.hxx"
|
||||
#include "db/Song.hxx"
|
||||
#include "DetachedSong.hxx"
|
||||
#include "TagSave.hxx"
|
||||
#include "fs/TextFile.hxx"
|
||||
|
@@ -18,10 +18,10 @@
|
||||
*/
|
||||
|
||||
#include "config.h" /* must be first for large file support */
|
||||
#include "Song.hxx"
|
||||
#include "DetachedSong.hxx"
|
||||
#include "db/Song.hxx"
|
||||
#include "db/Directory.hxx"
|
||||
#include "util/UriUtil.hxx"
|
||||
#include "Directory.hxx"
|
||||
#include "Mapper.hxx"
|
||||
#include "fs/AllocatedPath.hxx"
|
||||
#include "fs/Traits.hxx"
|
||||
|
@@ -21,10 +21,10 @@
|
||||
#include "Stats.hxx"
|
||||
#include "PlayerControl.hxx"
|
||||
#include "client/Client.hxx"
|
||||
#include "DatabaseSelection.hxx"
|
||||
#include "DatabaseGlue.hxx"
|
||||
#include "DatabasePlugin.hxx"
|
||||
#include "DatabaseSimple.hxx"
|
||||
#include "db/Selection.hxx"
|
||||
#include "db/DatabaseGlue.hxx"
|
||||
#include "db/DatabasePlugin.hxx"
|
||||
#include "db/DatabaseSimple.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "system/Clock.hxx"
|
||||
#include "Log.hxx"
|
||||
|
@@ -19,7 +19,7 @@
|
||||
|
||||
#include "config.h"
|
||||
#include "CommandError.hxx"
|
||||
#include "DatabaseError.hxx"
|
||||
#include "db/DatabaseError.hxx"
|
||||
#include "protocol/Result.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "Log.hxx"
|
||||
|
@@ -19,10 +19,10 @@
|
||||
|
||||
#include "config.h"
|
||||
#include "DatabaseCommands.hxx"
|
||||
#include "DatabaseQueue.hxx"
|
||||
#include "DatabasePlaylist.hxx"
|
||||
#include "DatabasePrint.hxx"
|
||||
#include "DatabaseSelection.hxx"
|
||||
#include "db/DatabaseQueue.hxx"
|
||||
#include "db/DatabasePlaylist.hxx"
|
||||
#include "db/DatabasePrint.hxx"
|
||||
#include "db/Selection.hxx"
|
||||
#include "CommandError.hxx"
|
||||
#include "client/Client.hxx"
|
||||
#include "tag/Tag.hxx"
|
||||
|
@@ -20,9 +20,9 @@
|
||||
#include "config.h"
|
||||
#include "OtherCommands.hxx"
|
||||
#include "DatabaseCommands.hxx"
|
||||
#include "db/update/UpdateGlue.hxx"
|
||||
#include "CommandError.hxx"
|
||||
#include "update/UpdateGlue.hxx"
|
||||
#include "Directory.hxx"
|
||||
#include "db/Directory.hxx"
|
||||
#include "DetachedSong.hxx"
|
||||
#include "SongPrint.hxx"
|
||||
#include "TagPrint.hxx"
|
||||
|
@@ -22,7 +22,7 @@
|
||||
#include "CommandError.hxx"
|
||||
#include "Playlist.hxx"
|
||||
#include "PlaylistPrint.hxx"
|
||||
#include "update/UpdateGlue.hxx"
|
||||
#include "db/update/UpdateGlue.hxx"
|
||||
#include "client/Client.hxx"
|
||||
#include "Volume.hxx"
|
||||
#include "output/OutputAll.hxx"
|
||||
|
@@ -19,7 +19,7 @@
|
||||
|
||||
#include "config.h"
|
||||
#include "PlaylistCommands.hxx"
|
||||
#include "DatabasePlaylist.hxx"
|
||||
#include "db/DatabasePlaylist.hxx"
|
||||
#include "CommandError.hxx"
|
||||
#include "PlaylistPrint.hxx"
|
||||
#include "PlaylistSave.hxx"
|
||||
|
@@ -20,9 +20,9 @@
|
||||
#include "config.h"
|
||||
#include "QueueCommands.hxx"
|
||||
#include "CommandError.hxx"
|
||||
#include "DatabaseQueue.hxx"
|
||||
#include "db/DatabaseQueue.hxx"
|
||||
#include "SongFilter.hxx"
|
||||
#include "DatabaseSelection.hxx"
|
||||
#include "db/Selection.hxx"
|
||||
#include "Playlist.hxx"
|
||||
#include "PlaylistPrint.hxx"
|
||||
#include "client/ClientFile.hxx"
|
||||
|
@@ -20,10 +20,10 @@
|
||||
#include "config.h"
|
||||
#include "StickerCommands.hxx"
|
||||
#include "SongPrint.hxx"
|
||||
#include "DatabaseLock.hxx"
|
||||
#include "DatabasePlugin.hxx"
|
||||
#include "DatabaseGlue.hxx"
|
||||
#include "DatabaseSimple.hxx"
|
||||
#include "db/DatabaseLock.hxx"
|
||||
#include "db/DatabasePlugin.hxx"
|
||||
#include "db/DatabaseGlue.hxx"
|
||||
#include "db/DatabaseSimple.hxx"
|
||||
#include "sticker/SongSticker.hxx"
|
||||
#include "sticker/StickerPrint.hxx"
|
||||
#include "sticker/StickerDatabase.hxx"
|
||||
|
@@ -20,14 +20,14 @@
|
||||
#include "config.h"
|
||||
#include "DatabaseGlue.hxx"
|
||||
#include "DatabaseSimple.hxx"
|
||||
#include "DatabaseRegistry.hxx"
|
||||
#include "Registry.hxx"
|
||||
#include "DatabaseError.hxx"
|
||||
#include "Directory.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "config/ConfigData.hxx"
|
||||
#include "Stats.hxx"
|
||||
#include "DatabasePlugin.hxx"
|
||||
#include "db/SimpleDatabasePlugin.hxx"
|
||||
#include "plugins/SimpleDatabasePlugin.hxx"
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
@@ -19,7 +19,7 @@
|
||||
|
||||
#include "config.h"
|
||||
#include "DatabasePlaylist.hxx"
|
||||
#include "DatabaseSelection.hxx"
|
||||
#include "Selection.hxx"
|
||||
#include "PlaylistFile.hxx"
|
||||
#include "DatabaseGlue.hxx"
|
||||
#include "DatabasePlugin.hxx"
|
@@ -26,7 +26,7 @@
|
||||
#ifndef MPD_DATABASE_PLUGIN_HXX
|
||||
#define MPD_DATABASE_PLUGIN_HXX
|
||||
|
||||
#include "DatabaseVisitor.hxx"
|
||||
#include "Visitor.hxx"
|
||||
#include "tag/TagType.h"
|
||||
#include "Compiler.h"
|
||||
|
@@ -19,7 +19,7 @@
|
||||
|
||||
#include "config.h"
|
||||
#include "DatabasePrint.hxx"
|
||||
#include "DatabaseSelection.hxx"
|
||||
#include "Selection.hxx"
|
||||
#include "SongFilter.hxx"
|
||||
#include "SongPrint.hxx"
|
||||
#include "TimePrint.hxx"
|
@@ -22,7 +22,7 @@
|
||||
#include "LightDirectory.hxx"
|
||||
#include "SongFilter.hxx"
|
||||
#include "PlaylistVector.hxx"
|
||||
#include "DatabaseLock.hxx"
|
||||
#include "db/DatabaseLock.hxx"
|
||||
#include "SongSort.hxx"
|
||||
#include "Song.hxx"
|
||||
#include "LightSong.hxx"
|
@@ -23,7 +23,7 @@
|
||||
#include "check.h"
|
||||
#include "util/list.h"
|
||||
#include "Compiler.h"
|
||||
#include "DatabaseVisitor.hxx"
|
||||
#include "db/Visitor.hxx"
|
||||
#include "PlaylistVector.hxx"
|
||||
|
||||
#include <string>
|
@@ -17,7 +17,7 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "DatabaseHelpers.hxx"
|
||||
#include "Helpers.hxx"
|
||||
#include "DatabasePlugin.hxx"
|
||||
#include "LightSong.hxx"
|
||||
#include "tag/Tag.hxx"
|
@@ -20,7 +20,7 @@
|
||||
#ifndef MPD_MEMORY_DATABASE_PLUGIN_HXX
|
||||
#define MPD_MEMORY_DATABASE_PLUGIN_HXX
|
||||
|
||||
#include "DatabaseVisitor.hxx"
|
||||
#include "Visitor.hxx"
|
||||
#include "tag/TagType.h"
|
||||
|
||||
class Error;
|
@@ -18,10 +18,10 @@
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "DatabaseRegistry.hxx"
|
||||
#include "db/SimpleDatabasePlugin.hxx"
|
||||
#include "db/ProxyDatabasePlugin.hxx"
|
||||
#include "db/UpnpDatabasePlugin.hxx"
|
||||
#include "Registry.hxx"
|
||||
#include "plugins/SimpleDatabasePlugin.hxx"
|
||||
#include "plugins/ProxyDatabasePlugin.hxx"
|
||||
#include "plugins/UpnpDatabasePlugin.hxx"
|
||||
|
||||
#include <string.h>
|
||||
|
@@ -17,7 +17,7 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "DatabaseSelection.hxx"
|
||||
#include "Selection.hxx"
|
||||
#include "SongFilter.hxx"
|
||||
|
||||
DatabaseSelection::DatabaseSelection(const char *_uri, bool _recursive,
|
@@ -20,7 +20,7 @@
|
||||
#ifndef MPD_LAZY_DATABASE_PLUGIN_HXX
|
||||
#define MPD_LAZY_DATABASE_PLUGIN_HXX
|
||||
|
||||
#include "DatabasePlugin.hxx"
|
||||
#include "db/DatabasePlugin.hxx"
|
||||
|
||||
/**
|
||||
* A wrapper for a #Database object that gets opened on the first
|
@@ -19,13 +19,13 @@
|
||||
|
||||
#include "config.h"
|
||||
#include "ProxyDatabasePlugin.hxx"
|
||||
#include "DatabasePlugin.hxx"
|
||||
#include "DatabaseListener.hxx"
|
||||
#include "DatabaseSelection.hxx"
|
||||
#include "DatabaseError.hxx"
|
||||
#include "db/DatabasePlugin.hxx"
|
||||
#include "db/DatabaseListener.hxx"
|
||||
#include "db/Selection.hxx"
|
||||
#include "db/DatabaseError.hxx"
|
||||
#include "PlaylistInfo.hxx"
|
||||
#include "LightDirectory.hxx"
|
||||
#include "LightSong.hxx"
|
||||
#include "db/LightDirectory.hxx"
|
||||
#include "db/LightSong.hxx"
|
||||
#include "SongFilter.hxx"
|
||||
#include "Compiler.h"
|
||||
#include "config/ConfigData.hxx"
|
@@ -19,15 +19,15 @@
|
||||
|
||||
#include "config.h"
|
||||
#include "SimpleDatabasePlugin.hxx"
|
||||
#include "DatabaseSelection.hxx"
|
||||
#include "DatabaseHelpers.hxx"
|
||||
#include "LightDirectory.hxx"
|
||||
#include "Directory.hxx"
|
||||
#include "Song.hxx"
|
||||
#include "db/Selection.hxx"
|
||||
#include "db/Helpers.hxx"
|
||||
#include "db/LightDirectory.hxx"
|
||||
#include "db/Directory.hxx"
|
||||
#include "db/Song.hxx"
|
||||
#include "SongFilter.hxx"
|
||||
#include "DatabaseSave.hxx"
|
||||
#include "DatabaseLock.hxx"
|
||||
#include "DatabaseError.hxx"
|
||||
#include "db/DatabaseSave.hxx"
|
||||
#include "db/DatabaseLock.hxx"
|
||||
#include "db/DatabaseError.hxx"
|
||||
#include "fs/TextFile.hxx"
|
||||
#include "config/ConfigData.hxx"
|
||||
#include "fs/FileSystem.hxx"
|
@@ -20,9 +20,9 @@
|
||||
#ifndef MPD_SIMPLE_DATABASE_PLUGIN_HXX
|
||||
#define MPD_SIMPLE_DATABASE_PLUGIN_HXX
|
||||
|
||||
#include "DatabasePlugin.hxx"
|
||||
#include "db/DatabasePlugin.hxx"
|
||||
#include "fs/AllocatedPath.hxx"
|
||||
#include "LightSong.hxx"
|
||||
#include "db/LightSong.hxx"
|
||||
#include "Compiler.h"
|
||||
|
||||
#include <cassert>
|
@@ -26,11 +26,11 @@
|
||||
#include "upnp/Directory.hxx"
|
||||
#include "upnp/Tags.hxx"
|
||||
#include "upnp/Util.hxx"
|
||||
#include "DatabasePlugin.hxx"
|
||||
#include "DatabaseSelection.hxx"
|
||||
#include "DatabaseError.hxx"
|
||||
#include "LightDirectory.hxx"
|
||||
#include "LightSong.hxx"
|
||||
#include "db/DatabasePlugin.hxx"
|
||||
#include "db/Selection.hxx"
|
||||
#include "db/DatabaseError.hxx"
|
||||
#include "db/LightDirectory.hxx"
|
||||
#include "db/LightSong.hxx"
|
||||
#include "config/ConfigData.hxx"
|
||||
#include "tag/TagBuilder.hxx"
|
||||
#include "tag/TagTable.hxx"
|
@@ -21,9 +21,9 @@
|
||||
#include "UpdateArchive.hxx"
|
||||
#include "UpdateInternal.hxx"
|
||||
#include "UpdateDomain.hxx"
|
||||
#include "DatabaseLock.hxx"
|
||||
#include "Directory.hxx"
|
||||
#include "Song.hxx"
|
||||
#include "db/DatabaseLock.hxx"
|
||||
#include "db/Directory.hxx"
|
||||
#include "db/Song.hxx"
|
||||
#include "Mapper.hxx"
|
||||
#include "fs/AllocatedPath.hxx"
|
||||
#include "archive/ArchiveList.hxx"
|
@@ -22,9 +22,9 @@
|
||||
#include "UpdateInternal.hxx"
|
||||
#include "UpdateDatabase.hxx"
|
||||
#include "UpdateDomain.hxx"
|
||||
#include "DatabaseLock.hxx"
|
||||
#include "Directory.hxx"
|
||||
#include "Song.hxx"
|
||||
#include "db/DatabaseLock.hxx"
|
||||
#include "db/Directory.hxx"
|
||||
#include "db/Song.hxx"
|
||||
#include "decoder/DecoderPlugin.hxx"
|
||||
#include "decoder/DecoderList.hxx"
|
||||
#include "Mapper.hxx"
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user