1 #ifndef MC__KEYBIND_DEFAULTS_H
2 #define MC__KEYBIND_DEFAULTS_H
4 #include "lib/global.h"
5 #include "lib/keybind.h" /* global_keymap_t */
7 /*** typedefs(not structures) and defined constants **********************************************/
9 /*** enums ***************************************************************************************/
11 /*** structures declarations (and typedefs of structures)*****************************************/
13 /*** global variables defined in .c file *********************************************************/
15 #ifdef USE_INTERNAL_EDIT
16 extern GArray
*editor_keymap
;
17 extern GArray
*editor_x_keymap
;
19 extern const global_keymap_t
*editor_map
;
20 extern const global_keymap_t
*editor_x_map
;
23 extern GArray
*viewer_keymap
;
24 extern GArray
*viewer_hex_keymap
;
25 extern GArray
*main_keymap
;
26 extern GArray
*main_x_keymap
;
27 extern GArray
*panel_keymap
;
28 extern GArray
*input_keymap
;
29 extern GArray
*listbox_keymap
;
30 extern GArray
*tree_keymap
;
31 extern GArray
*help_keymap
;
32 extern GArray
*dialog_keymap
;
34 extern GArray
*diff_keymap
;
37 extern const global_keymap_t
*main_map
;
38 extern const global_keymap_t
*main_x_map
;
39 extern const global_keymap_t
*panel_map
;
40 extern const global_keymap_t
*input_map
;
41 extern const global_keymap_t
*listbox_map
;
42 extern const global_keymap_t
*tree_map
;
43 extern const global_keymap_t
*help_map
;
44 extern const global_keymap_t
*dialog_map
;
46 extern const global_keymap_t
*diff_map
;
49 /* viewer/actions_cmd.c */
50 extern const global_keymap_t default_viewer_keymap
[];
51 extern const global_keymap_t default_viewer_hex_keymap
[];
53 #ifdef USE_INTERNAL_EDIT
54 /* ../edit/editkey.c */
55 extern const global_keymap_t default_editor_keymap
[];
56 extern const global_keymap_t default_editor_x_keymap
[];
60 extern const global_keymap_t default_panel_keymap
[];
63 extern const global_keymap_t default_input_keymap
[];
64 extern const global_keymap_t default_listbox_keymap
[];
67 extern const global_keymap_t default_main_map
[];
68 extern const global_keymap_t default_main_x_map
[];
71 extern const global_keymap_t default_tree_keymap
[];
74 extern const global_keymap_t default_help_keymap
[];
77 extern const global_keymap_t default_dialog_keymap
[];
81 extern const global_keymap_t default_diff_keymap
[];
84 /*** declarations of public functions ************************************************************/
86 /*** inline functions ****************************************************************************/
88 #endif /* MC__KEYBIND_DEFAULTS_H */