diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-04-29 18:27:43 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-04-29 18:27:43 +0200 |
commit | 760e216c5b3cc7945bfb17f94e39900d20c185e7 (patch) | |
tree | 8e320f9d1388dc895ff3cb6671bd010c28be9cfe /src/gui/gui-keyboard.h | |
parent | 0470d6b8acc99d19618e9093b3d87111e1322587 (diff) | |
download | weechat-760e216c5b3cc7945bfb17f94e39900d20c185e7.zip |
Removed key functions (replaced by /input command)
Diffstat (limited to 'src/gui/gui-keyboard.h')
-rw-r--r-- | src/gui/gui-keyboard.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/gui/gui-keyboard.h b/src/gui/gui-keyboard.h index 515b755c1..5e88f97e6 100644 --- a/src/gui/gui-keyboard.h +++ b/src/gui/gui-keyboard.h @@ -24,30 +24,18 @@ /* keyboard structures */ -typedef void (t_gui_key_func)(char *args); - struct t_gui_key { char *key; /* key combo (ex: a, ^W, ^W^C, meta-a) */ char *command; /* associated command (may be NULL) */ - t_gui_key_func *function; /* associated function (if cmd is NULL) */ - char *args; /* args for function (if cmd is NULL) */ struct t_gui_key *prev_key; /* link to previous key */ struct t_gui_key *next_key; /* link to next key */ }; -struct t_gui_key_function -{ - char *function_name; /* name of function */ - t_gui_key_func *function; /* associated function */ - char *description; /* description of function */ -}; - /* keyboard variables */ extern struct t_gui_key *gui_keys; extern struct t_gui_key *last_gui_key; -extern struct t_gui_key_function gui_key_functions[]; extern char gui_key_combo_buffer[]; extern int gui_key_grab; extern int gui_key_grab_count; @@ -65,8 +53,6 @@ extern char *gui_keyboard_get_internal_code (char *key); extern char *gui_keyboard_get_expanded_name (char *key); extern struct t_gui_key *gui_keyboard_search (struct t_gui_buffer *buffer, char *key); -extern t_gui_key_func *gui_keyboard_function_search_by_name (char *name); -extern char *gui_keyboard_function_search_by_ptr (t_gui_key_func *function); extern struct t_gui_key *gui_keyboard_bind (struct t_gui_buffer *buffer, char *key, char *command); extern int gui_keyboard_unbind (struct t_gui_buffer *buffer, char *key); |