summaryrefslogtreecommitdiffstats
path: root/input/cmd_list.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-02-17 02:33:47 +0100
committerwm4 <wm4@nowhere>2014-02-17 02:52:58 +0100
commit75d3267b43093161f94db5199bd36f14c06b7457 (patch)
tree868d2b2c23da83921c6c1546b9d66de71e3d3a35 /input/cmd_list.h
parentfe586dbbdb129e00be6c2b5e6739341dc019ab1c (diff)
downloadmpv-75d3267b43093161f94db5199bd36f14c06b7457.tar.bz2
mpv-75d3267b43093161f94db5199bd36f14c06b7457.tar.xz
client API: add a client message event
This comes with a "script_message" input command, which sends these messages. Used by the following commits.
Diffstat (limited to 'input/cmd_list.h')
-rw-r--r--input/cmd_list.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/input/cmd_list.h b/input/cmd_list.h
index 211df2b0b0..bee981b309 100644
--- a/input/cmd_list.h
+++ b/input/cmd_list.h
@@ -98,6 +98,7 @@ enum mp_command_type {
/// Internal for Lua scripts
MP_CMD_SCRIPT_DISPATCH,
+ MP_CMD_SCRIPT_MESSAGE,
MP_CMD_OVERLAY_ADD,
MP_CMD_OVERLAY_REMOVE,