playlist_vector: convert to C++

This commit is contained in:
Max Kellermann
2013-01-02 20:25:20 +01:00
parent b715e522cf
commit 0023dffd0b
10 changed files with 13 additions and 18 deletions

View File

@@ -21,6 +21,7 @@
#include "DatabasePrint.hxx"
#include "DatabaseSelection.hxx"
#include "SongFilter.hxx"
#include "PlaylistVector.hxx"
extern "C" {
#include "database.h"
@@ -28,7 +29,6 @@ extern "C" {
#include "song.h"
#include "song_print.h"
#include "time_print.h"
#include "playlist_vector.h"
#include "tag.h"
}

View File

@@ -20,11 +20,11 @@
#include "config.h"
#include "directory.h"
#include "SongFilter.hxx"
#include "PlaylistVector.hxx"
extern "C" {
#include "song.h"
#include "song_sort.h"
#include "playlist_vector.h"
#include "path.h"
#include "util/list_sort.h"
#include "db_lock.h"

View File

@@ -19,9 +19,9 @@
#include "config.h"
#include "PlaylistDatabase.hxx"
#include "PlaylistVector.hxx"
extern "C" {
#include "playlist_vector.h"
#include "text_file.h"
#include "string_util.h"
}

View File

@@ -18,7 +18,7 @@
*/
#include "config.h"
#include "playlist_vector.h"
#include "PlaylistVector.hxx"
#include "db_lock.h"
#include <assert.h>

View File

@@ -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,12 +17,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_PLAYLIST_VECTOR_H
#define MPD_PLAYLIST_VECTOR_H
#ifndef MPD_PLAYLIST_VECTOR_HXX
#define MPD_PLAYLIST_VECTOR_HXX
#include "util/list.h"
#include <stdbool.h>
#include <stddef.h>
#include <sys/time.h>

View File

@@ -20,14 +20,11 @@
#include "config.h" /* must be first for large file support */
#include "UpdateDatabase.hxx"
#include "UpdateRemove.hxx"
#include "PlaylistVector.hxx"
#include "directory.h"
#include "song.h"
#include "db_lock.h"
extern "C" {
#include "playlist_vector.h"
}
#include <glib.h>
#include <assert.h>

View File

@@ -26,11 +26,11 @@
#include "db_lock.h"
#include "directory.h"
#include "song.h"
#include "PlaylistVector.hxx"
extern "C" {
#include "exclude.h"
#include "database.h"
#include "playlist_vector.h"
#include "uri.h"
#include "mapper.h"
#include "path.h"

View File

@@ -21,6 +21,7 @@
#include "ProxyDatabasePlugin.hxx"
#include "DatabasePlugin.hxx"
#include "DatabaseSelection.hxx"
#include "PlaylistVector.hxx"
#include "gcc.h"
extern "C" {
@@ -31,7 +32,6 @@ extern "C" {
}
#include "directory.h"
#include "playlist_vector.h"
#undef MPD_DIRECTORY_H
#undef MPD_SONG_H