diff options
author | Max Kellermann <max@duempel.org> | 2013-07-28 13:18:48 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-07-28 13:18:48 +0200 |
commit | 43f613d9be9aa2953dcfc0aacfbdfb56d5d1a708 (patch) | |
tree | 70cd76be89e7aa8c7e92690eeabb331d31abf346 /src/DecoderAPI.hxx | |
parent | 2277d143fa4e407bffa9cb169820c9612ebae7a0 (diff) | |
download | mpd-43f613d9be9aa2953dcfc0aacfbdfb56d5d1a708.tar.gz mpd-43f613d9be9aa2953dcfc0aacfbdfb56d5d1a708.tar.xz mpd-43f613d9be9aa2953dcfc0aacfbdfb56d5d1a708.zip |
decoder_api: convert to C++
Diffstat (limited to '')
-rw-r--r-- | src/DecoderAPI.hxx (renamed from src/decoder_api.h) | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/src/decoder_api.h b/src/DecoderAPI.hxx index 3f84ca8bc..79d733649 100644 --- a/src/decoder_api.h +++ b/src/DecoderAPI.hxx @@ -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 @@ -24,24 +24,18 @@ * communicate with the mpd core. */ -#ifndef MPD_DECODER_API_H -#define MPD_DECODER_API_H +#ifndef MPD_DECODER_API_HXX +#define MPD_DECODER_API_HXX #include "check.h" -#include "decoder_command.h" -#include "decoder_plugin.h" +#include "DecoderCommand.hxx" +#include "DecoderPlugin.hxx" #include "input_stream.h" #include "replay_gain_info.h" #include "tag.h" #include "audio_format.h" #include "conf.h" -#include <stdbool.h> - -#ifdef __cplusplus -extern "C" { -#endif - /** * Notify the player thread that it has finished initialization and * that it has read the song's meta data. @@ -172,8 +166,4 @@ void decoder_mixramp(struct decoder *decoder, char *mixramp_start, char *mixramp_end); -#ifdef __cplusplus -} -#endif - #endif |