2011-01-17 12:44:25 +03:00
|
|
|
#ifndef MC__EVENT_TYPES_H
|
|
|
|
#define MC__EVENT_TYPES_H
|
|
|
|
|
2011-02-15 17:41:22 +03:00
|
|
|
#include <stdarg.h>
|
|
|
|
|
2011-01-17 12:44:25 +03:00
|
|
|
/*** typedefs(not structures) and defined constants **********************************************/
|
|
|
|
|
|
|
|
/* Event groups for main modules */
|
|
|
|
#define MCEVENT_GROUP_CORE "Core"
|
|
|
|
#define MCEVENT_GROUP_DIFFVIEWER "DiffViewer"
|
|
|
|
#define MCEVENT_GROUP_EDITOR "Editor"
|
|
|
|
#define MCEVENT_GROUP_FILEMANAGER "FileManager"
|
|
|
|
#define MCEVENT_GROUP_VIEWER "Viewer"
|
|
|
|
|
|
|
|
/*** enums ***************************************************************************************/
|
|
|
|
|
|
|
|
/*** structures declarations (and typedefs of structures)*****************************************/
|
|
|
|
|
2011-02-15 17:41:22 +03:00
|
|
|
|
|
|
|
/* MCEVENT_GROUP_CORE:vfs_timestamp */
|
|
|
|
struct vfs_class;
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
struct vfs_class *vclass;
|
|
|
|
gpointer id;
|
|
|
|
gboolean ret;
|
|
|
|
} ev_vfs_stamp_create_t;
|
|
|
|
|
2011-01-17 12:44:25 +03:00
|
|
|
/*** global variables defined in .c file *********************************************************/
|
|
|
|
|
|
|
|
/*** declarations of public functions ************************************************************/
|
|
|
|
|
|
|
|
/*** inline functions ****************************************************************************/
|
|
|
|
|
|
|
|
#endif /* MC__EVENT_TYPES_H */
|