diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2014-01-04 16:59:22 +0100 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2014-01-04 17:28:55 +0100 |
commit | 082c5c19a1efe3c450f1ad1b0411d335be88e60e (patch) | |
tree | 37f3eb64aee2285295c0c87bfae0e80a79f7d0e8 /input/input.h | |
parent | bb3ea1580ebb9715ad5cc8829fcbe556c87db66e (diff) | |
download | mpv-082c5c19a1efe3c450f1ad1b0411d335be88e60e.tar.bz2 mpv-082c5c19a1efe3c450f1ad1b0411d335be88e60e.tar.xz |
input: move files drag and drop to a new event.c file
event.c will be used to feed the input queue with 'global' events that don't
mesh well with the usual check_events path in mpv.
Diffstat (limited to 'input/input.h')
-rw-r--r-- | input/input.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/input/input.h b/input/input.h index f0e9f8d5e9..de9d143265 100644 --- a/input/input.h +++ b/input/input.h @@ -210,6 +210,10 @@ int mp_input_check_interrupt(struct input_ctx *ictx, int time); // characters. If false, count Right Alt as the modifier Alt key. bool mp_input_use_alt_gr(struct input_ctx *ictx); +// Runs a command parsing the input string array +void mp_input_run_cmd(struct input_ctx *ictx, const char **cmd, + const char *location); + extern int async_quit_request; #endif /* MPLAYER_INPUT_H */ |