Following prototypes of functions was changed in VFS-module API:
[midnight-commander.git] / src / keybind-defaults.h
blob038b910c88a9429c7622ffeab66485dc5a704ca6
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 */
6 #include "lib/mcconfig.h" /* mc_config_t */
8 /*** typedefs(not structures) and defined constants **********************************************/
10 /*** enums ***************************************************************************************/
12 /*** structures declarations (and typedefs of structures)*****************************************/
14 /*** global variables defined in .c file *********************************************************/
16 extern GArray *main_keymap;
17 extern GArray *main_x_keymap;
18 extern GArray *panel_keymap;
19 extern GArray *dialog_keymap;
20 extern GArray *input_keymap;
21 extern GArray *listbox_keymap;
22 extern GArray *tree_keymap;
23 extern GArray *help_keymap;
24 #ifdef USE_INTERNAL_EDIT
25 extern GArray *editor_keymap;
26 extern GArray *editor_x_keymap;
27 #endif
28 extern GArray *viewer_keymap;
29 extern GArray *viewer_hex_keymap;
30 #ifdef USE_DIFF_VIEW
31 extern GArray *diff_keymap;
32 #endif
35 extern const global_keymap_t *main_map;
36 extern const global_keymap_t *main_x_map;
37 extern const global_keymap_t *panel_map;
38 extern const global_keymap_t *dialog_map;
39 extern const global_keymap_t *input_map;
40 extern const global_keymap_t *listbox_map;
41 extern const global_keymap_t *tree_map;
42 extern const global_keymap_t *help_map;
44 #ifdef USE_INTERNAL_EDIT
45 extern const global_keymap_t *editor_map;
46 extern const global_keymap_t *editor_x_map;
47 #endif
48 extern const global_keymap_t *viewer_map;
49 extern const global_keymap_t *viewer_hex_map;
50 #ifdef USE_DIFF_VIEW
51 extern const global_keymap_t *diff_map;
52 #endif
54 /*** declarations of public functions ************************************************************/
56 mc_config_t *create_default_keymap (void);
58 /*** inline functions ****************************************************************************/
60 #endif /* MC__KEYBIND_DEFAULTS_H */