summaryrefslogtreecommitdiff
path: root/src/db
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-26 09:17:41 +0100
committerMax Kellermann <max@duempel.org>2014-02-26 09:17:41 +0100
commit4d73e4d605a8abecff28b7e8c015d252b25954a9 (patch)
tree3b563de109eef41acf1cd3c2bd84cdee9b465f8b /src/db
parentd86cc5bf42bc22e1903f0d1fada5282e7ec9ac89 (diff)
db/simple: create dedicated directory
Diffstat (limited to 'src/db')
-rw-r--r--src/db/PlaylistVector.hxx2
-rw-r--r--src/db/Registry.cxx2
-rw-r--r--src/db/plugins/simple/DatabaseSave.cxx (renamed from src/db/DatabaseSave.cxx)4
-rw-r--r--src/db/plugins/simple/DatabaseSave.hxx (renamed from src/db/DatabaseSave.hxx)0
-rw-r--r--src/db/plugins/simple/Directory.cxx (renamed from src/db/Directory.cxx)11
-rw-r--r--src/db/plugins/simple/Directory.hxx (renamed from src/db/Directory.hxx)2
-rw-r--r--src/db/plugins/simple/DirectorySave.cxx (renamed from src/db/DirectorySave.cxx)0
-rw-r--r--src/db/plugins/simple/DirectorySave.hxx (renamed from src/db/DirectorySave.hxx)0
-rw-r--r--src/db/plugins/simple/SimpleDatabasePlugin.cxx (renamed from src/db/plugins/SimpleDatabasePlugin.cxx)6
-rw-r--r--src/db/plugins/simple/SimpleDatabasePlugin.hxx (renamed from src/db/plugins/SimpleDatabasePlugin.hxx)0
-rw-r--r--src/db/plugins/simple/Song.cxx (renamed from src/db/Song.cxx)2
-rw-r--r--src/db/plugins/simple/Song.hxx (renamed from src/db/Song.hxx)0
-rw-r--r--src/db/plugins/simple/SongSort.cxx (renamed from src/db/SongSort.cxx)0
-rw-r--r--src/db/plugins/simple/SongSort.hxx (renamed from src/db/SongSort.hxx)0
-rw-r--r--src/db/update/Archive.cxx4
-rw-r--r--src/db/update/Container.cxx4
-rw-r--r--src/db/update/Editor.cxx4
-rw-r--r--src/db/update/Remove.cxx2
-rw-r--r--src/db/update/UpdateGlue.cxx2
-rw-r--r--src/db/update/UpdateIO.cxx2
-rw-r--r--src/db/update/UpdateSong.cxx4
-rw-r--r--src/db/update/Walk.cxx4
22 files changed, 27 insertions, 28 deletions
diff --git a/src/db/PlaylistVector.hxx b/src/db/PlaylistVector.hxx
index 8820ead5c..accd4fd42 100644
--- a/src/db/PlaylistVector.hxx
+++ b/src/db/PlaylistVector.hxx
@@ -20,7 +20,7 @@
#ifndef MPD_PLAYLIST_VECTOR_HXX
#define MPD_PLAYLIST_VECTOR_HXX
-#include "PlaylistInfo.hxx"
+#include "db/PlaylistInfo.hxx"
#include "Compiler.h"
#include <list>
diff --git a/src/db/Registry.cxx b/src/db/Registry.cxx
index 6b6df9cf7..5681a9b82 100644
--- a/src/db/Registry.cxx
+++ b/src/db/Registry.cxx
@@ -20,7 +20,7 @@
#include "config.h"
#include "Registry.hxx"
#include "DatabasePlugin.hxx"
-#include "plugins/SimpleDatabasePlugin.hxx"
+#include "plugins/simple/SimpleDatabasePlugin.hxx"
#include "plugins/ProxyDatabasePlugin.hxx"
#include "plugins/upnp/UpnpDatabasePlugin.hxx"
diff --git a/src/db/DatabaseSave.cxx b/src/db/plugins/simple/DatabaseSave.cxx
index 7ae5dc334..62034a0b8 100644
--- a/src/db/DatabaseSave.cxx
+++ b/src/db/plugins/simple/DatabaseSave.cxx
@@ -19,8 +19,8 @@
#include "config.h"
#include "DatabaseSave.hxx"
-#include "DatabaseLock.hxx"
-#include "DatabaseError.hxx"
+#include "db/DatabaseLock.hxx"
+#include "db/DatabaseError.hxx"
#include "Directory.hxx"
#include "DirectorySave.hxx"
#include "fs/TextFile.hxx"
diff --git a/src/db/DatabaseSave.hxx b/src/db/plugins/simple/DatabaseSave.hxx
index 3bd3377ae..3bd3377ae 100644
--- a/src/db/DatabaseSave.hxx
+++ b/src/db/plugins/simple/DatabaseSave.hxx
diff --git a/src/db/Directory.cxx b/src/db/plugins/simple/Directory.cxx
index 1da19be98..98262bc52 100644
--- a/src/db/Directory.cxx
+++ b/src/db/plugins/simple/Directory.cxx
@@ -19,14 +19,13 @@
#include "config.h"
#include "Directory.hxx"
-#include "LightDirectory.hxx"
-#include "Uri.hxx"
-#include "SongFilter.hxx"
-#include "PlaylistVector.hxx"
-#include "db/DatabaseLock.hxx"
#include "SongSort.hxx"
#include "Song.hxx"
-#include "LightSong.hxx"
+#include "db/LightDirectory.hxx"
+#include "db/LightSong.hxx"
+#include "db/Uri.hxx"
+#include "db/DatabaseLock.hxx"
+#include "SongFilter.hxx"
#include "lib/icu/Collate.hxx"
#include "fs/Traits.hxx"
#include "util/Alloc.hxx"
diff --git a/src/db/Directory.hxx b/src/db/plugins/simple/Directory.hxx
index 391ca2db4..6c60b7ebf 100644
--- a/src/db/Directory.hxx
+++ b/src/db/plugins/simple/Directory.hxx
@@ -24,7 +24,7 @@
#include "util/list.h"
#include "Compiler.h"
#include "db/Visitor.hxx"
-#include "PlaylistVector.hxx"
+#include "db/PlaylistVector.hxx"
#include <string>
diff --git a/src/db/DirectorySave.cxx b/src/db/plugins/simple/DirectorySave.cxx
index 6cc5df6cb..6cc5df6cb 100644
--- a/src/db/DirectorySave.cxx
+++ b/src/db/plugins/simple/DirectorySave.cxx
diff --git a/src/db/DirectorySave.hxx b/src/db/plugins/simple/DirectorySave.hxx
index 07e9e158b..07e9e158b 100644
--- a/src/db/DirectorySave.hxx
+++ b/src/db/plugins/simple/DirectorySave.hxx
diff --git a/src/db/plugins/SimpleDatabasePlugin.cxx b/src/db/plugins/simple/SimpleDatabasePlugin.cxx
index ceb191818..9911caa66 100644
--- a/src/db/plugins/SimpleDatabasePlugin.cxx
+++ b/src/db/plugins/simple/SimpleDatabasePlugin.cxx
@@ -23,10 +23,10 @@
#include "db/Selection.hxx"
#include "db/Helpers.hxx"
#include "db/LightDirectory.hxx"
-#include "db/Directory.hxx"
-#include "db/Song.hxx"
+#include "Directory.hxx"
+#include "Song.hxx"
#include "SongFilter.hxx"
-#include "db/DatabaseSave.hxx"
+#include "DatabaseSave.hxx"
#include "db/DatabaseLock.hxx"
#include "db/DatabaseError.hxx"
#include "fs/TextFile.hxx"
diff --git a/src/db/plugins/SimpleDatabasePlugin.hxx b/src/db/plugins/simple/SimpleDatabasePlugin.hxx
index 40d870460..40d870460 100644
--- a/src/db/plugins/SimpleDatabasePlugin.hxx
+++ b/src/db/plugins/simple/SimpleDatabasePlugin.hxx
diff --git a/src/db/Song.cxx b/src/db/plugins/simple/Song.cxx
index 1c3fa0b64..3bd3d8316 100644
--- a/src/db/Song.cxx
+++ b/src/db/plugins/simple/Song.cxx
@@ -23,7 +23,7 @@
#include "tag/Tag.hxx"
#include "util/VarSize.hxx"
#include "DetachedSong.hxx"
-#include "LightSong.hxx"
+#include "db/LightSong.hxx"
#include <assert.h>
#include <string.h>
diff --git a/src/db/Song.hxx b/src/db/plugins/simple/Song.hxx
index 75fce20e9..75fce20e9 100644
--- a/src/db/Song.hxx
+++ b/src/db/plugins/simple/Song.hxx
diff --git a/src/db/SongSort.cxx b/src/db/plugins/simple/SongSort.cxx
index c5752f568..c5752f568 100644
--- a/src/db/SongSort.cxx
+++ b/src/db/plugins/simple/SongSort.cxx
diff --git a/src/db/SongSort.hxx b/src/db/plugins/simple/SongSort.hxx
index 28b903532..28b903532 100644
--- a/src/db/SongSort.hxx
+++ b/src/db/plugins/simple/SongSort.hxx
diff --git a/src/db/update/Archive.cxx b/src/db/update/Archive.cxx
index 54f27a30e..fc8f1fcbf 100644
--- a/src/db/update/Archive.cxx
+++ b/src/db/update/Archive.cxx
@@ -21,8 +21,8 @@
#include "Walk.hxx"
#include "UpdateDomain.hxx"
#include "db/DatabaseLock.hxx"
-#include "db/Directory.hxx"
-#include "db/Song.hxx"
+#include "db/plugins/simple/Directory.hxx"
+#include "db/plugins/simple/Song.hxx"
#include "storage/StorageInterface.hxx"
#include "fs/AllocatedPath.hxx"
#include "storage/FileInfo.hxx"
diff --git a/src/db/update/Container.cxx b/src/db/update/Container.cxx
index aedcf42ac..9f8d84839 100644
--- a/src/db/update/Container.cxx
+++ b/src/db/update/Container.cxx
@@ -21,8 +21,8 @@
#include "Walk.hxx"
#include "UpdateDomain.hxx"
#include "db/DatabaseLock.hxx"
-#include "db/Directory.hxx"
-#include "db/Song.hxx"
+#include "db/plugins/simple/Directory.hxx"
+#include "db/plugins/simple/Song.hxx"
#include "storage/StorageInterface.hxx"
#include "decoder/DecoderPlugin.hxx"
#include "decoder/DecoderList.hxx"
diff --git a/src/db/update/Editor.cxx b/src/db/update/Editor.cxx
index c8f58931f..c3c1a23d6 100644
--- a/src/db/update/Editor.cxx
+++ b/src/db/update/Editor.cxx
@@ -21,9 +21,9 @@
#include "Editor.hxx"
#include "Remove.hxx"
#include "db/PlaylistVector.hxx"
-#include "db/Directory.hxx"
-#include "db/Song.hxx"
#include "db/DatabaseLock.hxx"
+#include "db/plugins/simple/Directory.hxx"
+#include "db/plugins/simple/Song.hxx"
#include <assert.h>
#include <stddef.h>
diff --git a/src/db/update/Remove.cxx b/src/db/update/Remove.cxx
index 102347905..dfada05b2 100644
--- a/src/db/update/Remove.cxx
+++ b/src/db/update/Remove.cxx
@@ -20,7 +20,7 @@
#include "config.h" /* must be first for large file support */
#include "Remove.hxx"
#include "UpdateDomain.hxx"
-#include "db/Song.hxx"
+#include "db/plugins/simple/Song.hxx"
#include "db/LightSong.hxx"
#include "db/DatabaseListener.hxx"
#include "Log.hxx"
diff --git a/src/db/update/UpdateGlue.cxx b/src/db/update/UpdateGlue.cxx
index c1d563ffd..df0e87144 100644
--- a/src/db/update/UpdateGlue.cxx
+++ b/src/db/update/UpdateGlue.cxx
@@ -21,7 +21,7 @@
#include "Service.hxx"
#include "UpdateDomain.hxx"
#include "db/DatabaseListener.hxx"
-#include "db/plugins/SimpleDatabasePlugin.hxx"
+#include "db/plugins/simple/SimpleDatabasePlugin.hxx"
#include "Idle.hxx"
#include "util/Error.hxx"
#include "Log.hxx"
diff --git a/src/db/update/UpdateIO.cxx b/src/db/update/UpdateIO.cxx
index 73295cb02..fa19a8b5a 100644
--- a/src/db/update/UpdateIO.cxx
+++ b/src/db/update/UpdateIO.cxx
@@ -20,7 +20,7 @@
#include "config.h" /* must be first for large file support */
#include "UpdateIO.hxx"
#include "UpdateDomain.hxx"
-#include "db/Directory.hxx"
+#include "db/plugins/simple/Directory.hxx"
#include "storage/FileInfo.hxx"
#include "storage/StorageInterface.hxx"
#include "fs/Traits.hxx"
diff --git a/src/db/update/UpdateSong.cxx b/src/db/update/UpdateSong.cxx
index 804aea952..6b24276fd 100644
--- a/src/db/update/UpdateSong.cxx
+++ b/src/db/update/UpdateSong.cxx
@@ -22,8 +22,8 @@
#include "UpdateIO.hxx"
#include "UpdateDomain.hxx"
#include "db/DatabaseLock.hxx"
-#include "db/Directory.hxx"
-#include "db/Song.hxx"
+#include "db/plugins/simple/Directory.hxx"
+#include "db/plugins/simple/Song.hxx"
#include "decoder/DecoderList.hxx"
#include "storage/FileInfo.hxx"
#include "Log.hxx"
diff --git a/src/db/update/Walk.cxx b/src/db/update/Walk.cxx
index 2cb360bf6..c65480873 100644
--- a/src/db/update/Walk.cxx
+++ b/src/db/update/Walk.cxx
@@ -23,10 +23,10 @@
#include "Editor.hxx"
#include "UpdateDomain.hxx"
#include "db/DatabaseLock.hxx"
-#include "db/Directory.hxx"
-#include "db/Song.hxx"
#include "db/PlaylistVector.hxx"
#include "db/Uri.hxx"
+#include "db/plugins/simple/Directory.hxx"
+#include "db/plugins/simple/Song.hxx"
#include "storage/StorageInterface.hxx"
#include "playlist/PlaylistRegistry.hxx"
#include "ExcludeList.hxx"