playlist_edit: convert to C++

This commit is contained in:
Max Kellermann 2013-01-03 00:35:05 +01:00
parent 0eb05b827f
commit fa3d1156a6
2 changed files with 4 additions and 2 deletions

View File

@ -289,7 +289,7 @@ src_mpd_SOURCES = \
src/playlist.c \ src/playlist.c \
src/playlist_global.c \ src/playlist_global.c \
src/playlist_control.c \ src/playlist_control.c \
src/playlist_edit.c \ src/PlaylistEdit.cxx \
src/PlaylistPrint.cxx src/PlaylistPrint.hxx \ src/PlaylistPrint.cxx src/PlaylistPrint.hxx \
src/PlaylistSave.cxx src/PlaylistSave.hxx \ src/PlaylistSave.cxx src/PlaylistSave.hxx \
src/PlaylistMapper.cxx src/PlaylistMapper.hxx \ src/PlaylistMapper.cxx src/PlaylistMapper.hxx \

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 * http://www.musicpd.org
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
@ -24,12 +24,14 @@
*/ */
#include "config.h" #include "config.h"
extern "C" {
#include "playlist_internal.h" #include "playlist_internal.h"
#include "player_control.h" #include "player_control.h"
#include "database.h" #include "database.h"
#include "uri.h" #include "uri.h"
#include "song.h" #include "song.h"
#include "idle.h" #include "idle.h"
}
#include <stdlib.h> #include <stdlib.h>