summaryrefslogtreecommitdiff
path: root/src/modules/evas/vg_savers
diff options
context:
space:
mode:
authorSubhransu Mohanty <sub.mohanty@samsung.com>2016-10-14 15:52:51 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-10-14 15:52:51 +0900
commit8b7f060946a4268316792902409bda2fea00fd32 (patch)
tree386b311b4c1f1d533fc63ee46fd42af56550008d /src/modules/evas/vg_savers
parent2fc23aa561a86b4a26daaaa71acc0d590cafe62c (diff)
evas/module: add a new module in vg_saver for eet
Reviewers: cedric, jpeg Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4350
Diffstat (limited to 'src/modules/evas/vg_savers')
-rw-r--r--src/modules/evas/vg_savers/eet/evas_vg_save_eet.c60
1 files changed, 60 insertions, 0 deletions
diff --git a/src/modules/evas/vg_savers/eet/evas_vg_save_eet.c b/src/modules/evas/vg_savers/eet/evas_vg_save_eet.c
new file mode 100644
index 0000000000..700c55bb2c
--- /dev/null
+++ b/src/modules/evas/vg_savers/eet/evas_vg_save_eet.c
@@ -0,0 +1,60 @@
1#ifdef HAVE_CONFIG_H
2# include <config.h>
3#endif
4
5#include "evas_common_private.h"
6#include "evas_private.h"
7
8static int _evas_vg_saver_eet_log_dom = -1;
9
10#ifdef ERR
11# undef ERR
12#endif
13#define ERR(...) EINA_LOG_DOM_ERR(_evas_vg_saver_eet_log_dom, __VA_ARGS__)
14
15#ifdef INF
16# undef INF
17#endif
18#define INF(...) EINA_LOG_DOM_INFO(_evas_vg_saver_eet_log_dom, __VA_ARGS__)
19
20int
21evas_vg_save_file_eet(void *vg EINA_UNUSED, const char *file EINA_UNUSED, const char *key EINA_UNUSED, int compress EINA_UNUSED)
22{
23 INF("No Implementation Yet");
24 return 0;
25}
26
27static Evas_Vg_Save_Func evas_vg_save_eet_func =
28{
29 evas_vg_save_file_eet
30};
31
32static int
33module_open(Evas_Module *em)
34{
35 if (!em) return 0;
36 em->functions = (void *)(&evas_vg_save_eet_func);
37 return 1;
38}
39
40static void
41module_close(Evas_Module *em EINA_UNUSED)
42{
43}
44
45static Evas_Module_Api evas_modapi =
46{
47 EVAS_MODULE_API_VERSION,
48 "eet",
49 "none",
50 {
51 module_open,
52 module_close
53 }
54};
55
56EVAS_MODULE_DEFINE(EVAS_MODULE_TYPE_VG_LOADER, vg_saver, eet);
57
58#ifndef EVAS_STATIC_BUILD_VG_EET
59EVAS_EINA_MODULE_DEFINE(vg_saver, eet);
60#endif \ No newline at end of file