decoder_print: convert to C++

This commit is contained in:
Max Kellermann 2013-01-03 11:14:36 +01:00
parent e30a2dd2d7
commit 94b2ee627c
4 changed files with 10 additions and 8 deletions

View File

@ -86,7 +86,6 @@ mpd_headers = \
src/glib_compat.h \ src/glib_compat.h \
src/gcc.h \ src/gcc.h \
src/decoder_list.h \ src/decoder_list.h \
src/decoder_print.h \
src/decoder/pcm_decoder_plugin.h \ src/decoder/pcm_decoder_plugin.h \
src/input_init.h \ src/input_init.h \
src/input_plugin.h \ src/input_plugin.h \
@ -214,7 +213,7 @@ src_mpd_SOURCES = \
src/decoder_control.c \ src/decoder_control.c \
src/decoder_api.c \ src/decoder_api.c \
src/decoder_internal.c \ src/decoder_internal.c \
src/decoder_print.c \ src/DecoderPrint.cxx src/DecoderPrint.hxx \
src/Directory.cxx src/Directory.hxx \ src/Directory.cxx src/Directory.hxx \
src/DirectorySave.cxx src/DirectorySave.hxx \ src/DirectorySave.cxx src/DirectorySave.hxx \
src/DatabaseSimple.hxx \ src/DatabaseSimple.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
@ -18,10 +18,13 @@
*/ */
#include "config.h" #include "config.h"
#include "decoder_print.h" #include "DecoderPrint.hxx"
#include "decoder_list.h" #include "decoder_list.h"
#include "decoder_plugin.h" #include "decoder_plugin.h"
extern "C" {
#include "client.h" #include "client.h"
}
#include <assert.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 * 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
@ -17,8 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef MPD_DECODER_PRINT_H #ifndef MPD_DECODER_PRINT_HXX
#define MPD_DECODER_PRINT_H #define MPD_DECODER_PRINT_HXX
struct client; struct client;

View File

@ -28,13 +28,13 @@
#include "TagPrint.hxx" #include "TagPrint.hxx"
#include "TimePrint.hxx" #include "TimePrint.hxx"
#include "Mapper.hxx" #include "Mapper.hxx"
#include "DecoderPrint.hxx"
extern "C" { extern "C" {
#include "protocol/argparser.h" #include "protocol/argparser.h"
#include "protocol/result.h" #include "protocol/result.h"
#include "ls.h" #include "ls.h"
#include "uri.h" #include "uri.h"
#include "decoder_print.h"
#include "volume.h" #include "volume.h"
#include "stats.h" #include "stats.h"
} }