aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_internal.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-16 00:43:12 +0100
committerMax Kellermann <max@duempel.org>2009-02-16 00:43:12 +0100
commita5c0394007c2cd25bed707d2d5858bd05af7a11b (patch)
tree1d8b07c5aa532de183fdb1af5531728811e95fd1 /src/output_internal.h
parent3a82283b1959b6a7d5a2d5d8df6f96bff2618a3e (diff)
downloadmpd-a5c0394007c2cd25bed707d2d5858bd05af7a11b.tar.gz
mpd-a5c0394007c2cd25bed707d2d5858bd05af7a11b.tar.xz
mpd-a5c0394007c2cd25bed707d2d5858bd05af7a11b.zip
output_api: moved "enum output_command" to output_internal.h
Now that the output_command enum isn't exposed to output plugins anymore, we can hide its definition within output_internal.h.
Diffstat (limited to 'src/output_internal.h')
-rw-r--r--src/output_internal.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/output_internal.h b/src/output_internal.h
index d2b6e41b2..9f842159f 100644
--- a/src/output_internal.h
+++ b/src/output_internal.h
@@ -26,6 +26,17 @@
#include <time.h>
+enum audio_output_command {
+ AO_COMMAND_NONE = 0,
+ AO_COMMAND_OPEN,
+ AO_COMMAND_CLOSE,
+ AO_COMMAND_PLAY,
+ AO_COMMAND_PAUSE,
+ AO_COMMAND_CANCEL,
+ AO_COMMAND_SEND_TAG,
+ AO_COMMAND_KILL
+};
+
struct audio_output {
/**
* The device's configured display name.