decoder/sidplay: add header file

This commit is contained in:
Max Kellermann 2013-10-20 13:05:29 +02:00
parent 17ecc56e83
commit c1e7be3b8e
4 changed files with 29 additions and 3 deletions

View File

@ -618,7 +618,8 @@ endif
if ENABLE_SIDPLAY
libdecoder_plugins_a_SOURCES += \
src/decoder/SidplayDecoderPlugin.cxx
src/decoder/SidplayDecoderPlugin.cxx \
src/decoder/SidplayDecoderPlugin.hxx
endif
if ENABLE_FLUIDSYNTH

View File

@ -42,13 +42,12 @@
#include "decoder/ModplugDecoderPlugin.hxx"
#include "decoder/MpcdecDecoderPlugin.hxx"
#include "decoder/FluidsynthDecoderPlugin.hxx"
#include "decoder/SidplayDecoderPlugin.hxx"
#include "system/FatalError.hxx"
#include "util/Macros.hxx"
#include <string.h>
extern const struct decoder_plugin sidplay_decoder_plugin;
const struct decoder_plugin *const decoder_plugins[] = {
#ifdef HAVE_MAD
&mad_decoder_plugin,

View File

@ -18,6 +18,7 @@
*/
#include "config.h"
#include "SidplayDecoderPlugin.hxx"
#include "../DecoderAPI.hxx"
#include "tag/TagHandler.hxx"
#include "util/Domain.hxx"

View File

@ -0,0 +1,25 @@
/*
* 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
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_DECODER_SIDPLAY_HXX
#define MPD_DECODER_SIDPLAY_HXX
extern const struct decoder_plugin sidplay_decoder_plugin;
#endif