root/src/keymap.h

/* [previous][next][first][last][top][bottom][index][help]  */

INCLUDED FROM


   1 #ifndef MC__KEYBIND_DEFAULTS_H
   2 #define MC__KEYBIND_DEFAULTS_H
   3 
   4 #include "lib/global.h"
   5 #include "lib/keybind.h"        /* global_keymap_t */
   6 #include "lib/mcconfig.h"       /* mc_config_t */
   7 
   8 /*** typedefs(not structures) and defined constants **********************************************/
   9 
  10 /*** enums ***************************************************************************************/
  11 
  12 /*** structures declarations (and typedefs of structures)*****************************************/
  13 
  14 /*** global variables defined in .c file *********************************************************/
  15 
  16 extern GArray *filemanager_keymap;
  17 extern GArray *filemanager_x_keymap;
  18 extern GArray *panel_keymap;
  19 extern GArray *dialog_keymap;
  20 extern GArray *menu_keymap;
  21 extern GArray *input_keymap;
  22 extern GArray *listbox_keymap;
  23 extern GArray *radio_keymap;
  24 extern GArray *tree_keymap;
  25 extern GArray *help_keymap;
  26 #ifdef ENABLE_EXT2FS_ATTR
  27 extern GArray *chattr_keymap;
  28 #endif
  29 #ifdef USE_INTERNAL_EDIT
  30 extern GArray *editor_keymap;
  31 extern GArray *editor_x_keymap;
  32 #endif
  33 extern GArray *viewer_keymap;
  34 extern GArray *viewer_hex_keymap;
  35 #ifdef USE_DIFF_VIEW
  36 extern GArray *diff_keymap;
  37 #endif
  38 
  39 extern const global_keymap_t *filemanager_map;
  40 extern const global_keymap_t *filemanager_x_map;
  41 extern const global_keymap_t *panel_map;
  42 extern const global_keymap_t *tree_map;
  43 extern const global_keymap_t *help_map;
  44 #ifdef ENABLE_EXT2FS_ATTR
  45 extern const global_keymap_t *chattr_map;
  46 #endif
  47 #ifdef USE_INTERNAL_EDIT
  48 extern const global_keymap_t *editor_map;
  49 extern const global_keymap_t *editor_x_map;
  50 #endif
  51 extern const global_keymap_t *viewer_map;
  52 extern const global_keymap_t *viewer_hex_map;
  53 #ifdef USE_DIFF_VIEW
  54 extern const global_keymap_t *diff_map;
  55 #endif
  56 
  57 /*** declarations of public functions ************************************************************/
  58 
  59 void keymap_load (gboolean load_from_file);
  60 void keymap_free (void);
  61 
  62 /*** inline functions ****************************************************************************/
  63 
  64 #endif /* MC__KEYBIND_DEFAULTS_H */

/* [previous][next][first][last][top][bottom][index][help]  */