1 #ifndef MC__EVENT_TYPES_H
2 #define MC__EVENT_TYPES_H
6 /*** typedefs(not structures) and defined constants **********************************************/
8 /* Event groups for main modules */
9 #define MCEVENT_GROUP_CORE "Core"
10 #define MCEVENT_GROUP_DIALOG "Dialog"
11 #define MCEVENT_GROUP_DIFFVIEWER "DiffViewer"
12 #define MCEVENT_GROUP_EDITOR "Editor"
13 #define MCEVENT_GROUP_FILEMANAGER "FileManager"
14 #define MCEVENT_GROUP_VIEWER "Viewer"
17 #define MCEVENT_HISTORY_LOAD "history_load"
18 #define MCEVENT_HISTORY_SAVE "history_save"
20 /*** enums ***************************************************************************************/
22 /*** structures declarations (and typedefs of structures)*****************************************/
24 /* MCEVENT_GROUP_CORE:vfs_timestamp */
28 struct vfs_class
*vclass
;
31 } ev_vfs_stamp_create_t
;
33 /* MCEVENT_GROUP_CORE:vfs_print_message */
38 } ev_vfs_print_message_t
;
40 /* MCEVENT_GROUP_CORE:clipboard_text_from_file */
45 } ev_clipboard_text_from_file_t
;
47 /* MCEVENT_GROUP_CORE:help */
54 /* MCEVENT_GROUP_CORE:background_parent_call */
55 /* MCEVENT_GROUP_CORE:background_parent_call_string */
67 } ev_background_parent_call_t
;
69 /* MCEVENT_GROUP_DIALOG:history_load */
70 /* MCEVENT_GROUP_DIALOG:history_save */
75 struct mc_config_t
*cfg
;
76 struct Widget
*receiver
; /* NULL means broadcast message */
77 } ev_history_load_save_t
;
79 /*** global variables defined in .c file *********************************************************/
81 /*** declarations of public functions ************************************************************/
83 /*** inline functions ****************************************************************************/
85 #endif /* MC__EVENT_TYPES_H */