summaryrefslogtreecommitdiff
path: root/src/gui/gui.h
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2007-02-12 17:39:34 +0000
committerSebastien Helleu <flashcode@flashtux.org>2007-02-12 17:39:34 +0000
commitaba6e1257d4ef85e8641ee0f35428ea53a217b03 (patch)
treecc1e920d8aead9f1d43d665484d8b442a4fe0993 /src/gui/gui.h
parent6d01968259a92cc1a62cb313742b22b5c1178788 (diff)
downloadweechat-aba6e1257d4ef85e8641ee0f35428ea53a217b03.zip
Added "call" option to /key command, added new key function "insert" to insert text on command line (task #6468)
Diffstat (limited to 'src/gui/gui.h')
-rw-r--r--src/gui/gui.h101
1 files changed, 51 insertions, 50 deletions
diff --git a/src/gui/gui.h b/src/gui/gui.h
index 918464d02..dacc950bd 100644
--- a/src/gui/gui.h
+++ b/src/gui/gui.h
@@ -108,54 +108,55 @@ extern void gui_panel_print_log ();
/* action */
extern void gui_action_clipboard_copy (char *, int);
-extern void gui_action_clipboard_paste (t_gui_window *);
-extern void gui_action_return (t_gui_window *);
-extern void gui_action_tab (t_gui_window *);
-extern void gui_action_tab_previous (t_gui_window *);
-extern void gui_action_backspace (t_gui_window *);
-extern void gui_action_delete (t_gui_window *);
-extern void gui_action_delete_previous_word (t_gui_window *);
-extern void gui_action_delete_next_word (t_gui_window *);
-extern void gui_action_delete_begin_of_line (t_gui_window *);
-extern void gui_action_delete_end_of_line (t_gui_window *);
-extern void gui_action_delete_line (t_gui_window *);
-extern void gui_action_transpose_chars (t_gui_window *);
-extern void gui_action_home (t_gui_window *);
-extern void gui_action_end (t_gui_window *);
-extern void gui_action_left (t_gui_window *);
-extern void gui_action_previous_word (t_gui_window *);
-extern void gui_action_right (t_gui_window *);
-extern void gui_action_next_word (t_gui_window *);
-extern void gui_action_up (t_gui_window *);
-extern void gui_action_up_global (t_gui_window *);
-extern void gui_action_down (t_gui_window *);
-extern void gui_action_down_global (t_gui_window *);
-extern void gui_action_page_up (t_gui_window *);
-extern void gui_action_page_down (t_gui_window *);
-extern void gui_action_scroll_up (t_gui_window *);
-extern void gui_action_scroll_down (t_gui_window *);
-extern void gui_action_scroll_top (t_gui_window *);
-extern void gui_action_scroll_bottom (t_gui_window *);
-extern void gui_action_scroll_topic_left (t_gui_window *);
-extern void gui_action_scroll_topic_right (t_gui_window *);
-extern void gui_action_nick_beginning (t_gui_window *);
-extern void gui_action_nick_end (t_gui_window *);
-extern void gui_action_nick_page_up (t_gui_window *);
-extern void gui_action_nick_page_down (t_gui_window *);
-extern void gui_action_jump_smart (t_gui_window *);
-extern void gui_action_jump_dcc (t_gui_window *);
-extern void gui_action_jump_raw_data (t_gui_window *);
-extern void gui_action_jump_last_buffer (t_gui_window *);
-extern void gui_action_jump_server (t_gui_window *);
-extern void gui_action_jump_next_server (t_gui_window *);
-extern void gui_action_switch_server (t_gui_window *);
-extern void gui_action_scroll_previous_highlight (t_gui_window *);
-extern void gui_action_scroll_next_highlight (t_gui_window *);
-extern void gui_action_scroll_unread (t_gui_window *);
-extern void gui_action_hotlist_clear (t_gui_window *);
-extern void gui_action_infobar_clear (t_gui_window *);
-extern void gui_action_refresh_screen ();
-extern void gui_action_grab_key (t_gui_window *);
+extern void gui_action_clipboard_paste (t_gui_window *, char *);
+extern void gui_action_return (t_gui_window *, char *);
+extern void gui_action_tab (t_gui_window *, char *);
+extern void gui_action_tab_previous (t_gui_window *, char *);
+extern void gui_action_backspace (t_gui_window *, char *);
+extern void gui_action_delete (t_gui_window *, char *);
+extern void gui_action_delete_previous_word (t_gui_window *, char *);
+extern void gui_action_delete_next_word (t_gui_window *, char *);
+extern void gui_action_delete_begin_of_line (t_gui_window *, char *);
+extern void gui_action_delete_end_of_line (t_gui_window *, char *);
+extern void gui_action_delete_line (t_gui_window *, char *);
+extern void gui_action_transpose_chars (t_gui_window *, char *);
+extern void gui_action_home (t_gui_window *, char *);
+extern void gui_action_end (t_gui_window *, char *);
+extern void gui_action_left (t_gui_window *, char *);
+extern void gui_action_previous_word (t_gui_window *, char *);
+extern void gui_action_right (t_gui_window *, char *);
+extern void gui_action_next_word (t_gui_window *, char *);
+extern void gui_action_up (t_gui_window *, char *);
+extern void gui_action_up_global (t_gui_window *, char *);
+extern void gui_action_down (t_gui_window *, char *);
+extern void gui_action_down_global (t_gui_window *, char *);
+extern void gui_action_page_up (t_gui_window *, char *);
+extern void gui_action_page_down (t_gui_window *, char *);
+extern void gui_action_scroll_up (t_gui_window *, char *);
+extern void gui_action_scroll_down (t_gui_window *, char *);
+extern void gui_action_scroll_top (t_gui_window *, char *);
+extern void gui_action_scroll_bottom (t_gui_window *, char *);
+extern void gui_action_scroll_topic_left (t_gui_window *, char *);
+extern void gui_action_scroll_topic_right (t_gui_window *, char *);
+extern void gui_action_nick_beginning (t_gui_window *, char *);
+extern void gui_action_nick_end (t_gui_window *, char *);
+extern void gui_action_nick_page_up (t_gui_window *, char *);
+extern void gui_action_nick_page_down (t_gui_window *, char *);
+extern void gui_action_jump_smart (t_gui_window *, char *);
+extern void gui_action_jump_dcc (t_gui_window *, char *);
+extern void gui_action_jump_raw_data (t_gui_window *, char *);
+extern void gui_action_jump_last_buffer (t_gui_window *, char *);
+extern void gui_action_jump_server (t_gui_window *, char *);
+extern void gui_action_jump_next_server (t_gui_window *, char *);
+extern void gui_action_switch_server (t_gui_window *, char *);
+extern void gui_action_scroll_previous_highlight (t_gui_window *, char *);
+extern void gui_action_scroll_next_highlight (t_gui_window *, char *);
+extern void gui_action_scroll_unread (t_gui_window *, char *);
+extern void gui_action_hotlist_clear (t_gui_window *, char *);
+extern void gui_action_infobar_clear (t_gui_window *, char *);
+extern void gui_action_refresh_screen (t_gui_window *, char *);
+extern void gui_action_grab_key (t_gui_window *, char *);
+extern void gui_action_insert_string (t_gui_window *, char *);
/* key */
extern void gui_keyboard_init ();
@@ -163,8 +164,8 @@ extern void gui_keyboard_init_grab ();
extern char *gui_keyboard_get_internal_code (char *);
extern char *gui_keyboard_get_expanded_name (char *);
extern t_gui_key *gui_keyboard_search (char *);
-extern void *gui_keyboard_function_search_by_name (char *);
-extern char *gui_keyboard_function_search_by_ptr (void *);
+extern t_gui_key_func *gui_keyboard_function_search_by_name (char *);
+extern char *gui_keyboard_function_search_by_ptr (t_gui_key_func *);
extern t_gui_key *gui_keyboard_bind (char *, char *);
extern int gui_keyboard_unbind (char *);
extern int gui_keyboard_pressed (char *);