Playlist.hxx: move prototype to PlaylistGlobal.hxx
This commit is contained in:
@@ -261,7 +261,7 @@ src_mpd_SOURCES = \
|
|||||||
src/PlayerThread.cxx src/PlayerThread.hxx \
|
src/PlayerThread.cxx src/PlayerThread.hxx \
|
||||||
src/PlayerControl.cxx src/PlayerControl.hxx \
|
src/PlayerControl.cxx src/PlayerControl.hxx \
|
||||||
src/Playlist.cxx \
|
src/Playlist.cxx \
|
||||||
src/PlaylistGlobal.cxx \
|
src/PlaylistGlobal.cxx src/PlaylistGlobal.hxx \
|
||||||
src/PlaylistControl.cxx \
|
src/PlaylistControl.cxx \
|
||||||
src/PlaylistEdit.cxx \
|
src/PlaylistEdit.cxx \
|
||||||
src/PlaylistPrint.cxx src/PlaylistPrint.hxx \
|
src/PlaylistPrint.cxx src/PlaylistPrint.hxx \
|
||||||
|
@@ -21,6 +21,7 @@
|
|||||||
#include "Main.hxx"
|
#include "Main.hxx"
|
||||||
#include "CommandLine.hxx"
|
#include "CommandLine.hxx"
|
||||||
#include "PlaylistFile.hxx"
|
#include "PlaylistFile.hxx"
|
||||||
|
#include "PlaylistGlobal.hxx"
|
||||||
#include "UpdateGlue.hxx"
|
#include "UpdateGlue.hxx"
|
||||||
#include "MusicChunk.hxx"
|
#include "MusicChunk.hxx"
|
||||||
#include "StateFile.hxx"
|
#include "StateFile.hxx"
|
||||||
|
@@ -253,7 +253,4 @@ public:
|
|||||||
void SetConsume(bool new_value);
|
void SetConsume(bool new_value);
|
||||||
};
|
};
|
||||||
|
|
||||||
void
|
|
||||||
playlist_global_init();
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -23,6 +23,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
#include "PlaylistGlobal.hxx"
|
||||||
#include "Playlist.hxx"
|
#include "Playlist.hxx"
|
||||||
#include "Main.hxx"
|
#include "Main.hxx"
|
||||||
#include "Partition.hxx"
|
#include "Partition.hxx"
|
||||||
|
26
src/PlaylistGlobal.hxx
Normal file
26
src/PlaylistGlobal.hxx
Normal file
@@ -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
|
Reference in New Issue
Block a user