aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-09 22:23:37 +0100
committerMax Kellermann <max@duempel.org>2013-01-09 22:23:37 +0100
commitb5e1bd5705842fe73bbb12e5ff771e42e10cb004 (patch)
tree729897f673c716e5b251b7308b8cfc81f94a2037 /src
parent4bef0a1e62602a79764d9867b7fcf11dd940edbe (diff)
downloadmpd-b5e1bd5705842fe73bbb12e5ff771e42e10cb004.tar.gz
mpd-b5e1bd5705842fe73bbb12e5ff771e42e10cb004.tar.xz
mpd-b5e1bd5705842fe73bbb12e5ff771e42e10cb004.zip
Playlist.hxx: move prototype to PlaylistGlobal.hxx
Diffstat (limited to 'src')
-rw-r--r--src/Main.cxx1
-rw-r--r--src/Playlist.hxx3
-rw-r--r--src/PlaylistGlobal.cxx1
-rw-r--r--src/PlaylistGlobal.hxx26
4 files changed, 28 insertions, 3 deletions
diff --git a/src/Main.cxx b/src/Main.cxx
index cd6392d58..d05a95947 100644
--- a/src/Main.cxx
+++ b/src/Main.cxx
@@ -21,6 +21,7 @@
#include "Main.hxx"
#include "CommandLine.hxx"
#include "PlaylistFile.hxx"
+#include "PlaylistGlobal.hxx"
#include "UpdateGlue.hxx"
#include "MusicChunk.hxx"
#include "StateFile.hxx"
diff --git a/src/Playlist.hxx b/src/Playlist.hxx
index 5e64a8e81..0bb2d2e7a 100644
--- a/src/Playlist.hxx
+++ b/src/Playlist.hxx
@@ -253,7 +253,4 @@ public:
void SetConsume(bool new_value);
};
-void
-playlist_global_init();
-
#endif
diff --git a/src/PlaylistGlobal.cxx b/src/PlaylistGlobal.cxx
index 8490392ea..1a5f11410 100644
--- a/src/PlaylistGlobal.cxx
+++ b/src/PlaylistGlobal.cxx
@@ -23,6 +23,7 @@
*/
#include "config.h"
+#include "PlaylistGlobal.hxx"
#include "Playlist.hxx"
#include "Main.hxx"
#include "Partition.hxx"
diff --git a/src/PlaylistGlobal.hxx b/src/PlaylistGlobal.hxx
new file mode 100644
index 000000000..4397292db
--- /dev/null
+++ b/src/PlaylistGlobal.hxx
@@ -0,0 +1,26 @@
+/*
+ * 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
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef MPD_PLAYLIST_GLOBAL_HXX
+#define MPD_PLAYLIST_GLOBAL_HXX
+
+void
+playlist_global_init();
+
+#endif