diff options
author | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-30 08:56:45 +0300 |
---|---|---|
committer | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-30 13:24:56 +0300 |
commit | 7b085d4514d091945492cb00fa5a98bbd1bc7cf8 (patch) | |
tree | a81e0f5b201899a71645e87e69a1a9408373b2ee /input/input.h | |
parent | 9e9932d4d79fee2cd03ea8b88ee7281a7858837f (diff) | |
download | mpv-7b085d4514d091945492cb00fa5a98bbd1bc7cf8.tar.bz2 mpv-7b085d4514d091945492cb00fa5a98bbd1bc7cf8.tar.xz |
input: Move command bind variables to context struct
Diffstat (limited to 'input/input.h')
-rw-r--r-- | input/input.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/input/input.h b/input/input.h index 118f85ad4c..19bef56273 100644 --- a/input/input.h +++ b/input/input.h @@ -280,12 +280,10 @@ mp_cmd_t* mp_cmd_clone(mp_cmd_t* cmd); // Set current input section -void -mp_input_set_section(char *name); +void mp_input_set_section(struct input_ctx *ictx, char *name); // Get current input section -char* -mp_input_get_section(void); +char *mp_input_get_section(struct input_ctx *ictx); // When you create a new driver you should add it in these 2 functions. struct input_ctx *mp_input_init(int use_gui); |