diff options
author | wm4 <wm4@nowhere> | 2018-05-19 18:44:03 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2018-05-24 19:56:35 +0200 |
commit | b3968ecf05c11cf42c8120be3a1d716c4cc71b5d (patch) | |
tree | 63001fbaf2769ff7435d0794df0ee7f8c718f497 /input/cmd.h | |
parent | dbcd654e612ca32673cf2703758b05700cb87d03 (diff) | |
download | mpv-b3968ecf05c11cf42c8120be3a1d716c4cc71b5d.tar.bz2 mpv-b3968ecf05c11cf42c8120be3a1d716c4cc71b5d.tar.xz |
input: remove now unused "abort command" and cancel infrastructure
The previous commit removed all uses.
Diffstat (limited to 'input/cmd.h')
-rw-r--r-- | input/cmd.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/input/cmd.h b/input/cmd.h index a2cbaae510..2d9c922230 100644 --- a/input/cmd.h +++ b/input/cmd.h @@ -39,8 +39,6 @@ struct mp_cmd_def { bool on_updown; // always emit it on both up and down key events bool vararg; // last argument can be given 0 to multiple times bool scalable; - bool is_abort; - bool is_soft_abort; bool is_ignore; bool default_async; // default to MP_ASYNC flag if none set by user // If you set this, handler() must ensure mp_cmd_ctx_complete() is called @@ -121,11 +119,6 @@ typedef struct mp_cmd { extern const struct mp_cmd_def mp_cmds[]; extern const struct mp_cmd_def mp_cmd_list; -// Executing this command will maybe abort playback (play something else, or quit). -bool mp_input_is_maybe_abort_cmd(struct mp_cmd *cmd); -// This command will definitely abort playback. -bool mp_input_is_abort_cmd(struct mp_cmd *cmd); - bool mp_input_is_repeatable_cmd(struct mp_cmd *cmd); bool mp_input_is_scalable_cmd(struct mp_cmd *cmd); |