aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputPlugins
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-26 08:27:06 +0200
committerMax Kellermann <max@duempel.org>2008-08-26 08:27:06 +0200
commit08bdb43bef5173f045a868289b05a4a698ab811e (patch)
tree1617e8a043be98b1ab4a8336f90b1350526593fc /src/inputPlugins
parent4a87f1e8159c5d26cba08b895b8c4eb5251cf4ba (diff)
downloadmpd-08bdb43bef5173f045a868289b05a4a698ab811e.tar.gz
mpd-08bdb43bef5173f045a868289b05a4a698ab811e.tar.xz
mpd-08bdb43bef5173f045a868289b05a4a698ab811e.zip
moved InputPlugin to decoder_api.h
InputPlugin is the API which is implemented by a decoder plugin. This belongs to the public API/ABI, so move it to decoder_api.h. It will later be renamed to something like "decoder_plugin".
Diffstat (limited to '')
-rw-r--r--src/inputPlugins/_flac_common.c2
-rw-r--r--src/inputPlugins/_ogg_common.c2
-rw-r--r--src/inputPlugins/_ogg_common.h2
-rw-r--r--src/inputPlugins/flac_plugin.c1
4 files changed, 3 insertions, 4 deletions
diff --git a/src/inputPlugins/_flac_common.c b/src/inputPlugins/_flac_common.c
index e658d77ea..1cf094651 100644
--- a/src/inputPlugins/_flac_common.c
+++ b/src/inputPlugins/_flac_common.c
@@ -19,7 +19,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "../inputPlugin.h"
+#include "../decoder_api.h"
#if defined(HAVE_FLAC) || defined(HAVE_OGGFLAC)
diff --git a/src/inputPlugins/_ogg_common.c b/src/inputPlugins/_ogg_common.c
index a7525c2de..73facdded 100644
--- a/src/inputPlugins/_ogg_common.c
+++ b/src/inputPlugins/_ogg_common.c
@@ -19,8 +19,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "../inputPlugin.h"
-
#include "_flac_common.h"
#include "_ogg_common.h"
diff --git a/src/inputPlugins/_ogg_common.h b/src/inputPlugins/_ogg_common.h
index 3e997e95b..3382e2860 100644
--- a/src/inputPlugins/_ogg_common.h
+++ b/src/inputPlugins/_ogg_common.h
@@ -22,7 +22,7 @@
#ifndef _OGG_COMMON_H
#define _OGG_COMMON_H
-#include "../inputPlugin.h"
+#include "../decoder_api.h"
#if defined(HAVE_OGGFLAC) || defined(HAVE_OGGVORBIS) || \
(defined(FLAC_API_VERSION_CURRENT) && FLAC_API_VERSION_CURRENT > 7)
diff --git a/src/inputPlugins/flac_plugin.c b/src/inputPlugins/flac_plugin.c
index f94e39d88..890c78fa3 100644
--- a/src/inputPlugins/flac_plugin.c
+++ b/src/inputPlugins/flac_plugin.c
@@ -22,6 +22,7 @@
#include "../utils.h"
#include "../log.h"
+#include "../inputPlugin.h"
/* this code was based on flac123, from flac-tools */