aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_evas/ecore_evas_extn.c
blob: 141bd7836358a05b6b09a7eb642e1ea02440f36c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#include <Ecore.h>
#include "Ecore_Evas.h"

EAPI int ECORE_EVAS_EXTN_CLIENT_ADD = 0;
EAPI int ECORE_EVAS_EXTN_CLIENT_DEL = 0;

void
_ecore_evas_extn_init(void)
{
   if (ECORE_EVAS_EXTN_CLIENT_ADD != 0) return ;
   ECORE_EVAS_EXTN_CLIENT_ADD = ecore_event_type_new();
   ECORE_EVAS_EXTN_CLIENT_DEL = ecore_event_type_new();
}

void
_ecore_evas_extn_shutdown(void)
{
   ecore_event_type_flush(ECORE_EVAS_EXTN_CLIENT_ADD,
                          ECORE_EVAS_EXTN_CLIENT_DEL);
}