summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2011-09-28 13:18:04 +0200
committerportix <portix@gmx.net>2011-09-28 13:18:04 +0200
commite980e9a99ae47af46994cc4446541c3f4cda40de (patch)
treed88811182c26d13227bf420b2e71e63f51a7c90c /src/commands.h
parent2da6568e718cc6b9218a802a56ba636afb3aabc3 (diff)
downloaddwb-e980e9a99ae47af46994cc4446541c3f4cda40de.zip
Refactor: Return STATUS_OK/ERROR instead of false/true
Diffstat (limited to 'src/commands.h')
-rw-r--r--src/commands.h110
1 files changed, 55 insertions, 55 deletions
diff --git a/src/commands.h b/src/commands.h
index 393d3769..f4d0017b 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -29,63 +29,63 @@
#include "html.h"
void commands_simple_command(KeyMap *km);
-gboolean commands_add_search_field(KeyMap *, Arg *);
void commands_add_view(KeyMap *, Arg *);
-gboolean commands_allow_cookie(KeyMap *, Arg *);
-gboolean commands_bookmark(KeyMap *, Arg *);
-gboolean commands_bookmarks(KeyMap *, Arg *);
-gboolean commands_entry_delete_letter(KeyMap *, Arg *);
-gboolean commands_entry_delete_line(KeyMap *, Arg *);
-gboolean commands_entry_delete_word(KeyMap *, Arg *);
-gboolean commands_entry_history_back(KeyMap *, Arg *);
-gboolean commands_entry_history_forward(KeyMap *, Arg *);
-gboolean commands_entry_word_back(KeyMap *, Arg *);
-gboolean commands_entry_word_forward(KeyMap *, Arg *);
-gboolean commands_execute_userscript(KeyMap *, Arg *);
-gboolean commands_find(KeyMap *, Arg *);
-gboolean commands_focus_input(KeyMap *, Arg *);
-gboolean commands_focus(KeyMap *, Arg *);
-gboolean commands_focus_nth_view(KeyMap *, Arg *);
-gboolean commands_complete_type(KeyMap *, Arg *);
-gboolean commands_history_back(KeyMap *, Arg *);
-gboolean commands_history_forward(KeyMap *, Arg *);
-gboolean commands_new_window_or_view(KeyMap *, Arg *);
-gboolean commands_open(KeyMap *, Arg *);
-gboolean commands_open_startpage(KeyMap *, Arg *);
-gboolean commands_paste(KeyMap *, Arg *);
-gboolean commands_print(KeyMap *, Arg *);
-gboolean commands_push_master(KeyMap *, Arg *);
-gboolean commands_quickmark(KeyMap *, Arg *);
-gboolean commands_reload(KeyMap *, Arg *);
-gboolean commands_reload_bypass_cache(KeyMap *, Arg *);
-gboolean commands_resize_master(KeyMap *, Arg *);
-gboolean commands_save_files(KeyMap *, Arg *);
-gboolean commands_save_session(KeyMap *, Arg *);
-gboolean commands_scroll(KeyMap *, Arg *);
-gboolean commands_set_key(KeyMap *, Arg *);
-gboolean commands_set_orientation(KeyMap *, Arg *);
-gboolean commands_set_setting(KeyMap *, Arg *);
-gboolean commands_show_hints(KeyMap *, Arg *);
-gboolean commands_show_keys(KeyMap *, Arg *);
-gboolean commands_show_settings(KeyMap *, Arg *);
-gboolean commands_toggle_scripts(KeyMap *, Arg *a);
-gboolean commands_toggle_plugin_blocker(KeyMap *, Arg *a);
-gboolean commands_toggle_property(KeyMap *, Arg *);
-gboolean commands_toggle_proxy(KeyMap *, Arg *);
-gboolean commands_undo(KeyMap *, Arg *);
-gboolean commands_view_source(KeyMap *, Arg *);
-gboolean commands_yank(KeyMap *, Arg *);
-gboolean commands_zoom_in(KeyMap *, Arg *);
-gboolean commands_zoom_out(KeyMap *, Arg *);
-gboolean dwb_create_hints(Arg *);
+DwbStatus commands_add_search_field(KeyMap *, Arg *);
+DwbStatus commands_allow_cookie(KeyMap *, Arg *);
+DwbStatus commands_bookmark(KeyMap *, Arg *);
+DwbStatus commands_bookmarks(KeyMap *, Arg *);
+DwbStatus commands_entry_delete_letter(KeyMap *, Arg *);
+DwbStatus commands_entry_delete_line(KeyMap *, Arg *);
+DwbStatus commands_entry_delete_word(KeyMap *, Arg *);
+DwbStatus commands_entry_history_back(KeyMap *, Arg *);
+DwbStatus commands_entry_history_forward(KeyMap *, Arg *);
+DwbStatus commands_entry_word_back(KeyMap *, Arg *);
+DwbStatus commands_entry_word_forward(KeyMap *, Arg *);
+DwbStatus commands_execute_userscript(KeyMap *, Arg *);
+DwbStatus commands_find(KeyMap *, Arg *);
+DwbStatus commands_focus_input(KeyMap *, Arg *);
+DwbStatus commands_focus(KeyMap *, Arg *);
+DwbStatus commands_focus_nth_view(KeyMap *, Arg *);
+DwbStatus commands_complete_type(KeyMap *, Arg *);
+DwbStatus commands_history_back(KeyMap *, Arg *);
+DwbStatus commands_history_forward(KeyMap *, Arg *);
+DwbStatus commands_new_window_or_view(KeyMap *, Arg *);
+DwbStatus commands_open(KeyMap *, Arg *);
+DwbStatus commands_open_startpage(KeyMap *, Arg *);
+DwbStatus commands_paste(KeyMap *, Arg *);
+DwbStatus commands_print(KeyMap *, Arg *);
+DwbStatus commands_push_master(KeyMap *, Arg *);
+DwbStatus commands_quickmark(KeyMap *, Arg *);
+DwbStatus commands_reload(KeyMap *, Arg *);
+DwbStatus commands_reload_bypass_cache(KeyMap *, Arg *);
+DwbStatus commands_resize_master(KeyMap *, Arg *);
+DwbStatus commands_save_files(KeyMap *, Arg *);
+DwbStatus commands_save_session(KeyMap *, Arg *);
+DwbStatus commands_scroll(KeyMap *, Arg *);
+DwbStatus commands_set_key(KeyMap *, Arg *);
+DwbStatus commands_set_orientation(KeyMap *, Arg *);
+DwbStatus commands_set_setting(KeyMap *, Arg *);
+DwbStatus commands_show_hints(KeyMap *, Arg *);
+DwbStatus commands_show_keys(KeyMap *, Arg *);
+DwbStatus commands_show_settings(KeyMap *, Arg *);
+DwbStatus commands_toggle_scripts(KeyMap *, Arg *a);
+DwbStatus commands_toggle_plugin_blocker(KeyMap *, Arg *a);
+DwbStatus commands_toggle_property(KeyMap *, Arg *);
+DwbStatus commands_toggle_proxy(KeyMap *, Arg *);
+DwbStatus commands_undo(KeyMap *, Arg *);
+DwbStatus commands_view_source(KeyMap *, Arg *);
+DwbStatus commands_yank(KeyMap *, Arg *);
+DwbStatus commands_zoom_in(KeyMap *, Arg *);
+DwbStatus commands_zoom_out(KeyMap *, Arg *);
+DwbStatus dwb_create_hints(Arg *);
void commands_remove_view(KeyMap *, Arg *);
void commands_set_zoom_level(KeyMap *, Arg *);
void commands_toggle_maximized(KeyMap *, Arg *);
-gboolean commands_toggle_hidden_files(KeyMap *, Arg *);
-gboolean commands_web_inspector(KeyMap *, Arg *);
-gboolean commands_quit(KeyMap *, Arg *);
-gboolean commands_reload_scripts(KeyMap *, Arg *);
-gboolean commands_fullscreen(KeyMap *, Arg *);
-gboolean commands_pass_through(KeyMap *, Arg *);
-gboolean commands_open_editor(KeyMap *, Arg *);
+DwbStatus commands_toggle_hidden_files(KeyMap *, Arg *);
+DwbStatus commands_web_inspector(KeyMap *, Arg *);
+DwbStatus commands_quit(KeyMap *, Arg *);
+DwbStatus commands_reload_scripts(KeyMap *, Arg *);
+DwbStatus commands_fullscreen(KeyMap *, Arg *);
+DwbStatus commands_pass_through(KeyMap *, Arg *);
+DwbStatus commands_open_editor(KeyMap *, Arg *);
#endif