From 15c9352bb632277fc6e787114ae5af60e6dc8597 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 26 Aug 2008 08:41:05 +0200 Subject: moved enum decoder_command to decoder_api.h The decoder plugins need this type, so export it in the public API. This allows is to remove "decode.h" from "decoder_api.h", uncluttering the API namespace some more. --- src/decoder_api.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/decoder_api.h') diff --git a/src/decoder_api.h b/src/decoder_api.h index 9c998f0a..7428b3aa 100644 --- a/src/decoder_api.h +++ b/src/decoder_api.h @@ -30,7 +30,6 @@ #include "replayGain.h" #include "tag.h" #include "playerData.h" -#include "decode.h" /* valid values for streamTypes in the InputPlugin struct: */ @@ -38,6 +37,14 @@ #define INPUT_PLUGIN_STREAM_URL 0x02 +enum decoder_command { + DECODE_COMMAND_NONE = 0, + DECODE_COMMAND_START, + DECODE_COMMAND_STOP, + DECODE_COMMAND_SEEK +}; + + struct decoder; -- cgit v1.2.3