diff options
author | Max Kellermann <max@duempel.org> | 2012-09-28 00:40:00 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-09-28 00:40:00 +0200 |
commit | d0c3fa015039e005af658619fd7b4289c9abcd6f (patch) | |
tree | 2391eabdabd522fdd32cc75518821ced1b59983b /src/PlaylistFile.hxx | |
parent | 609f6ce66de4d100388531db5a420f155b7bf64d (diff) | |
download | mpd-d0c3fa015039e005af658619fd7b4289c9abcd6f.tar.gz mpd-d0c3fa015039e005af658619fd7b4289c9abcd6f.tar.xz mpd-d0c3fa015039e005af658619fd7b4289c9abcd6f.zip |
main: use C++ compiler
Diffstat (limited to '')
-rw-r--r-- | src/PlaylistFile.hxx (renamed from src/PlaylistFile.h) | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/PlaylistFile.h b/src/PlaylistFile.hxx index ddd2a47ec..b20f0d762 100644 --- a/src/PlaylistFile.h +++ b/src/PlaylistFile.hxx @@ -17,14 +17,12 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef MPD_STORED_PLAYLIST_H -#define MPD_STORED_PLAYLIST_H +#ifndef MPD_PLAYLIST_FILE_HXX +#define MPD_PLAYLIST_FILE_HXX -#ifdef __cplusplus #include <list> #include <vector> #include <string> -#endif #include <glib.h> #include <stdbool.h> @@ -32,8 +30,6 @@ struct song; -#ifdef __cplusplus - struct PlaylistFileInfo { std::string name; @@ -44,20 +40,14 @@ typedef std::list<PlaylistFileInfo> PlaylistFileList; typedef std::vector<std::string> PlaylistFileContents; -#endif - extern bool playlist_saveAbsolutePaths; -G_BEGIN_DECLS - /** * Perform some global initialization, e.g. load configuration values. */ void spl_global_init(void); -G_END_DECLS - #ifdef __cplusplus /** |