2010-11-18 12:39:09 +03:00
|
|
|
#ifndef MC__KEYBIND_DEFAULTS_H
|
|
|
|
#define MC__KEYBIND_DEFAULTS_H
|
2009-07-05 19:04:42 +04:00
|
|
|
|
2010-01-20 18:11:52 +03:00
|
|
|
#include "lib/global.h"
|
2010-11-18 12:39:09 +03:00
|
|
|
#include "lib/keybind.h" /* global_keymap_t */
|
2009-07-05 19:04:42 +04:00
|
|
|
|
2010-11-10 14:09:42 +03:00
|
|
|
/*** typedefs(not structures) and defined constants **********************************************/
|
|
|
|
|
|
|
|
/*** enums ***************************************************************************************/
|
|
|
|
|
|
|
|
/*** structures declarations (and typedefs of structures)*****************************************/
|
|
|
|
|
|
|
|
/*** global variables defined in .c file *********************************************************/
|
2009-09-17 14:47:56 +04:00
|
|
|
|
2010-05-06 23:19:02 +04:00
|
|
|
#ifdef USE_INTERNAL_EDIT
|
|
|
|
extern GArray *editor_keymap;
|
|
|
|
extern GArray *editor_x_keymap;
|
|
|
|
|
|
|
|
extern const global_keymap_t *editor_map;
|
|
|
|
extern const global_keymap_t *editor_x_map;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern GArray *viewer_keymap;
|
|
|
|
extern GArray *viewer_hex_keymap;
|
|
|
|
extern GArray *main_keymap;
|
|
|
|
extern GArray *main_x_keymap;
|
|
|
|
extern GArray *panel_keymap;
|
|
|
|
extern GArray *input_keymap;
|
2010-08-12 13:17:58 +04:00
|
|
|
extern GArray *listbox_keymap;
|
2010-05-06 23:19:02 +04:00
|
|
|
extern GArray *tree_keymap;
|
|
|
|
extern GArray *help_keymap;
|
|
|
|
extern GArray *dialog_keymap;
|
|
|
|
#ifdef USE_DIFF_VIEW
|
|
|
|
extern GArray *diff_keymap;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern const global_keymap_t *main_map;
|
|
|
|
extern const global_keymap_t *main_x_map;
|
|
|
|
extern const global_keymap_t *panel_map;
|
|
|
|
extern const global_keymap_t *input_map;
|
2010-08-12 13:17:58 +04:00
|
|
|
extern const global_keymap_t *listbox_map;
|
2010-05-06 23:19:02 +04:00
|
|
|
extern const global_keymap_t *tree_map;
|
|
|
|
extern const global_keymap_t *help_map;
|
|
|
|
extern const global_keymap_t *dialog_map;
|
|
|
|
#ifdef USE_DIFF_VIEW
|
|
|
|
extern const global_keymap_t *diff_map;
|
|
|
|
#endif
|
|
|
|
|
2009-09-17 14:47:56 +04:00
|
|
|
/* viewer/actions_cmd.c */
|
2009-10-23 10:27:28 +04:00
|
|
|
extern const global_keymap_t default_viewer_keymap[];
|
|
|
|
extern const global_keymap_t default_viewer_hex_keymap[];
|
2009-09-17 14:47:56 +04:00
|
|
|
|
2009-10-23 10:27:28 +04:00
|
|
|
#ifdef USE_INTERNAL_EDIT
|
2009-09-20 23:43:56 +04:00
|
|
|
/* ../edit/editkey.c */
|
2009-10-23 10:27:28 +04:00
|
|
|
extern const global_keymap_t default_editor_keymap[];
|
|
|
|
extern const global_keymap_t default_editor_x_keymap[];
|
|
|
|
#endif
|
2009-09-20 23:43:56 +04:00
|
|
|
|
2009-09-17 14:47:56 +04:00
|
|
|
/* screen.c */
|
2009-10-23 10:27:28 +04:00
|
|
|
extern const global_keymap_t default_panel_keymap[];
|
2009-09-17 14:47:56 +04:00
|
|
|
|
|
|
|
/* widget.c */
|
2009-10-23 10:27:28 +04:00
|
|
|
extern const global_keymap_t default_input_keymap[];
|
2010-08-12 13:17:58 +04:00
|
|
|
extern const global_keymap_t default_listbox_keymap[];
|
2009-09-17 14:47:56 +04:00
|
|
|
|
|
|
|
/* main.c */
|
2009-10-23 10:27:28 +04:00
|
|
|
extern const global_keymap_t default_main_map[];
|
|
|
|
extern const global_keymap_t default_main_x_map[];
|
2009-09-20 23:43:56 +04:00
|
|
|
|
2009-11-06 14:41:54 +03:00
|
|
|
/* tree.c */
|
|
|
|
extern const global_keymap_t default_tree_keymap[];
|
|
|
|
|
2009-11-07 18:36:44 +03:00
|
|
|
/* help.c */
|
|
|
|
extern const global_keymap_t default_help_keymap[];
|
|
|
|
|
2010-05-06 23:19:02 +04:00
|
|
|
/* dialog.c */
|
|
|
|
extern const global_keymap_t default_dialog_keymap[];
|
|
|
|
|
2010-03-03 16:09:15 +03:00
|
|
|
#ifdef USE_DIFF_VIEW
|
2010-05-06 23:19:02 +04:00
|
|
|
/* ydiff.c */
|
2010-03-03 16:09:15 +03:00
|
|
|
extern const global_keymap_t default_diff_keymap[];
|
|
|
|
#endif
|
|
|
|
|
2010-11-10 14:09:42 +03:00
|
|
|
/*** declarations of public functions ************************************************************/
|
|
|
|
|
|
|
|
/*** inline functions ****************************************************************************/
|
2010-11-18 12:39:09 +03:00
|
|
|
|
|
|
|
#endif /* MC__KEYBIND_DEFAULTS_H */
|