tizen 2.4 release
[framework/uifw/e17-mod-tizen-comp.git] / src / e_mod_main.h
1 #ifndef E_MOD_MAIN_H
2 #define E_MOD_MAIN_H
3
4 #ifdef HAVE_GETTEXT
5 #define _(str) gettext(str)
6 #define d_(str, dom) dgettext(PACKAGE dom, str)
7 #else
8 #define _(str) (str)
9 #define d_(str, dom) (str)
10 #endif
11
12 #include "e_mod_comp_cfdata.h"
13
14 typedef struct _Mod    Mod;
15
16 struct _Mod
17 {
18    E_Module        *module;
19
20    E_Config_DD     *conf_edd;
21    E_Config_DD     *conf_match_edd;
22    Config          *conf;
23
24    E_Config_Dialog *config_dialog;
25 };
26
27 extern Mod *_comp_mod;
28
29 EAPI extern E_Module_Api e_modapi;
30
31 EAPI void *e_modapi_init(E_Module *m);
32 EAPI int   e_modapi_shutdown(E_Module *m);
33 EAPI int   e_modapi_save(E_Module *m);
34 EAPI int   e_modapi_info(E_Module *m);
35
36 void       _e_mod_config_new(E_Module *m);
37 void       _e_mod_config_free(E_Module *m);
38
39 #define ENGINE_SW 1
40 #define ENGINE_GL 2
41
42
43 /**
44  * @addtogroup Optional_Look
45  * @{
46  *
47  * @defgroup Module_Comp Comp (Composite Manager)
48  *
49  * Implements the X11 Composite Manager to support alpha blend,
50  * semi-transparent windows and drop shadow. Does support animations
51  * and effects such as coloring unfocused windows.
52  *
53  * @}
54  */
55
56 #endif