aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-03 00:25:15 +0100
committerMax Kellermann <max@duempel.org>2013-01-03 01:06:11 +0100
commit440ac51cf0250904813dfc9398ca8c9e6467328f (patch)
tree750ec9c28c92bc15161a25f8edb2cec73becf493
parentd3293b889d20433adede6a248582ce778e1c87b8 (diff)
database.h: rename to DatabaseSimple.hxx
-rw-r--r--Makefile.am2
-rw-r--r--src/DatabaseGlue.cxx2
-rw-r--r--src/DatabaseSimple.hxx (renamed from src/database.h)6
-rw-r--r--src/Main.cxx2
-rw-r--r--src/Stats.cxx2
-rw-r--r--src/StickerCommands.cxx2
-rw-r--r--src/UpdateGlue.cxx2
-rw-r--r--src/UpdateWalk.cxx2
8 files changed, 10 insertions, 10 deletions
diff --git a/Makefile.am b/Makefile.am
index 3d4d9db8..e7a9ffb2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -79,7 +79,6 @@ mpd_headers = \
src/decoder_api.h \
src/decoder_plugin.h \
src/decoder_internal.h \
- src/database.h \
src/encoder_plugin.h \
src/encoder_list.h \
src/encoder_api.h \
@@ -224,6 +223,7 @@ src_mpd_SOURCES = \
src/decoder_print.c \
src/Directory.cxx src/Directory.hxx \
src/DirectorySave.cxx src/DirectorySave.hxx \
+ src/DatabaseSimple.hxx \
src/DatabaseGlue.cxx src/DatabaseGlue.hxx \
src/DatabasePrint.cxx src/DatabasePrint.hxx \
src/DatabaseQueue.cxx src/DatabaseQueue.hxx \
diff --git a/src/DatabaseGlue.cxx b/src/DatabaseGlue.cxx
index 86810c2b..3325c5ec 100644
--- a/src/DatabaseGlue.cxx
+++ b/src/DatabaseGlue.cxx
@@ -19,12 +19,12 @@
#include "config.h"
#include "DatabaseGlue.hxx"
+#include "DatabaseSimple.hxx"
#include "DatabaseRegistry.hxx"
#include "DatabaseSave.hxx"
#include "Directory.hxx"
extern "C" {
-#include "database.h"
#include "db_error.h"
#include "stats.h"
#include "conf.h"
diff --git a/src/database.h b/src/DatabaseSimple.hxx
index ee2e609a..20f03802 100644
--- a/src/database.h
+++ b/src/DatabaseSimple.hxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2011 The Music Player Daemon Project
+ * Copyright (C) 2003-2013 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -17,8 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef MPD_DATABASE_H
-#define MPD_DATABASE_H
+#ifndef MPD_DATABASE_SIMPLE_HXX
+#define MPD_DATABASE_SIMPLE_HXX
#include "gcc.h"
diff --git a/src/Main.cxx b/src/Main.cxx
index 5e63f5f6..24da70bc 100644
--- a/src/Main.cxx
+++ b/src/Main.cxx
@@ -26,6 +26,7 @@
#include "PlayerThread.hxx"
#include "Mapper.hxx"
#include "DatabaseGlue.hxx"
+#include "DatabaseSimple.hxx"
extern "C" {
#include "daemon.h"
@@ -35,7 +36,6 @@ extern "C" {
#include "idle.h"
#include "AllCommands.h"
#include "playlist.h"
-#include "database.h"
#include "listen.h"
#include "cmdline.h"
#include "conf.h"
diff --git a/src/Stats.cxx b/src/Stats.cxx
index d08074a8..81d083d8 100644
--- a/src/Stats.cxx
+++ b/src/Stats.cxx
@@ -21,7 +21,6 @@
extern "C" {
#include "stats.h"
-#include "database.h"
#include "client.h"
#include "player_control.h"
#include "client_internal.h"
@@ -30,6 +29,7 @@ extern "C" {
#include "DatabaseSelection.hxx"
#include "DatabaseGlue.hxx"
#include "DatabasePlugin.hxx"
+#include "DatabaseSimple.hxx"
struct stats stats;
diff --git a/src/StickerCommands.cxx b/src/StickerCommands.cxx
index a4f83a58..dfb92df3 100644
--- a/src/StickerCommands.cxx
+++ b/src/StickerCommands.cxx
@@ -23,6 +23,7 @@
#include "DatabaseLock.hxx"
#include "DatabasePlugin.hxx"
#include "DatabaseGlue.hxx"
+#include "DatabaseSimple.hxx"
#include "SongSticker.hxx"
#include "StickerPrint.hxx"
#include "StickerDatabase.hxx"
@@ -30,7 +31,6 @@
extern "C" {
#include "protocol/result.h"
-#include "database.h"
}
#include <string.h>
diff --git a/src/UpdateGlue.cxx b/src/UpdateGlue.cxx
index 9cf27588..f5664893 100644
--- a/src/UpdateGlue.cxx
+++ b/src/UpdateGlue.cxx
@@ -23,9 +23,9 @@
#include "UpdateWalk.hxx"
#include "UpdateRemove.hxx"
#include "Mapper.hxx"
+#include "DatabaseSimple.hxx"
extern "C" {
-#include "database.h"
#include "playlist.h"
#include "event_pipe.h"
#include "idle.h"
diff --git a/src/UpdateWalk.cxx b/src/UpdateWalk.cxx
index a38b06c3..b848f124 100644
--- a/src/UpdateWalk.cxx
+++ b/src/UpdateWalk.cxx
@@ -24,6 +24,7 @@
#include "UpdateSong.hxx"
#include "UpdateArchive.hxx"
#include "DatabaseLock.hxx"
+#include "DatabaseSimple.hxx"
#include "Directory.hxx"
#include "song.h"
#include "PlaylistVector.hxx"
@@ -31,7 +32,6 @@
extern "C" {
#include "exclude.h"
-#include "database.h"
#include "uri.h"
#include "path.h"
#include "playlist_list.h"