diff options
author | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
commit | dd7595a3475407a7fa96a97393bae8c5220e8762 (patch) | |
tree | e341e911d7eb911a51684a7412ef7f7c7605d28e /libraries/evas/src/modules/savers/edb/evas_image_save_edb.c | |
parent | Add the skeleton. (diff) | |
download | SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.zip SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.gz SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.bz2 SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.xz |
Add the base Enlightenment Foundation Libraries - eina, eet, evas, ecore, embryo, and edje.
Note that embryo wont be used, but I'm not sure yet if you can build edje without it.
Diffstat (limited to 'libraries/evas/src/modules/savers/edb/evas_image_save_edb.c')
-rw-r--r-- | libraries/evas/src/modules/savers/edb/evas_image_save_edb.c | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/libraries/evas/src/modules/savers/edb/evas_image_save_edb.c b/libraries/evas/src/modules/savers/edb/evas_image_save_edb.c new file mode 100644 index 0000000..8279226 --- /dev/null +++ b/libraries/evas/src/modules/savers/edb/evas_image_save_edb.c | |||
@@ -0,0 +1,48 @@ | |||
1 | #include "evas_common.h" | ||
2 | #include "evas_private.h" | ||
3 | |||
4 | #include <Edb.h> | ||
5 | #include <zlib.h> | ||
6 | |||
7 | static int evas_image_save_file_edb(RGBA_Image *im, const char *file, const char *key, int quality, int compress); | ||
8 | |||
9 | static Evas_Image_Save_Func evas_image_save_edb_func = | ||
10 | { | ||
11 | evas_image_save_file_edb | ||
12 | }; | ||
13 | |||
14 | static int | ||
15 | evas_image_save_file_edb(RGBA_Image *im, const char *file, const char *key, int quality, int compress) | ||
16 | { | ||
17 | return 0; | ||
18 | } | ||
19 | |||
20 | static int | ||
21 | module_open(Evas_Module *em) | ||
22 | { | ||
23 | if (!em) return 0; | ||
24 | em->functions = (void *)(&evas_image_save_edb_func); | ||
25 | return 1; | ||
26 | } | ||
27 | |||
28 | static void | ||
29 | module_close(Evas_Module *em) | ||
30 | { | ||
31 | } | ||
32 | |||
33 | static Evas_Module_Api evas_modapi = | ||
34 | { | ||
35 | EVAS_MODULE_API_VERSION, | ||
36 | "edb", | ||
37 | "none", | ||
38 | { | ||
39 | module_open, | ||
40 | module_close | ||
41 | } | ||
42 | }; | ||
43 | |||
44 | EVAS_MODULE_DEFINE(EVAS_MODULE_TYPE_IMAGE_SAVER, image_saver, edb); | ||
45 | |||
46 | #ifndef EVAS_STATIC_BUILD_EDB | ||
47 | EVAS_EINA_MODULE_DEFINE(image_saver, edb); | ||
48 | #endif | ||