summaryrefslogtreecommitdiff
path: root/src/lib/vog_private.h
blob: 58b50fc327c0c286534d55422474cfc669123ee0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#include <Vog.h>

struct _Vog
{
   Eina_Hash *games;

   struct
   {
      const char *desktop;
   } dir;

   struct
   {
      Eio_Monitor *desktopdir;
      Ecore_Event_Handler *efc,
                          *efd,
                          *efm;
   } ev;

};

extern int _vog_log_dom_global;

#define ERR(...) EINA_LOG_DOM_ERR(_vog_log_dom_global, __VA_ARGS__)
#define DBG(...) EINA_LOG_DOM_DBG(_vog_log_dom_global, __VA_ARGS__)
#define NFO(...) EINA_LOG_DOM_INFO(_vog_log_dom_global, __VA_ARGS__)
#define WRN(...) EINA_LOG_DOM_WARN(_vog_log_dom_global, __VA_ARGS__)
#define CRI(...) EINA_LOG_DOM_CRIT(_vog_log_dom_global, __VA_ARGS__)

Eina_Bool vog_event_filter_cb(void *data, Eio_File *handler, const Eina_File_Direct_Info *info);
void vog_event_main_cb(void *data, Eio_File *handler, const Eina_File_Direct_Info *info);
void vog_event_done_cb(void *data, Eio_File *handler);
void vog_event_error_cb(void *data, Eio_File *handler, int error);
Eina_Bool vog_event_action(void *data, int type, void *event);