diff options
author | Olliver Schinagl <o.schinagl@ultimaker.com> | 2015-05-11 13:55:13 (GMT) |
---|---|---|
committer | Olliver Schinagl <o.schinagl@ultimaker.com> | 2015-05-11 13:55:13 (GMT) |
commit | 0237f6c79f927941ea7139af95e9457fff0e0eaf (patch) | |
tree | c0eb61c94edc0cbdb0607d3a24d93bdc56fa5e91 | |
parent | 7b6d9fe9b6e9ef8505ee89330dd5daf06d15ec7c (diff) | |
download | eulogium-0237f6c79f927941ea7139af95e9457fff0e0eaf.zip eulogium-0237f6c79f927941ea7139af95e9457fff0e0eaf.tar.gz eulogium-0237f6c79f927941ea7139af95e9457fff0e0eaf.tar.bz2 |
Add initial eeze support
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | src/eulogium.c | 8 |
2 files changed, 8 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index f651dad..cc967d4 100644 --- a/configure.ac +++ b/configure.ac @@ -35,6 +35,7 @@ PKG_CHECK_MODULES([EFL], eina >= 1.8.0 elementary >= 1.8.0 evas >= 1.8.0 + eeze >= 1.8.0 ]) # Check for tests and coverage diff --git a/src/eulogium.c b/src/eulogium.c index 1fa272f..67be469 100644 --- a/src/eulogium.c +++ b/src/eulogium.c @@ -3,7 +3,8 @@ #endif #include <Ecore_Getopt.h> -#include <Eina.h> +#include <Eeze.h> +#include <Eeze_Disk.h> #include <Elementary.h> #include <Evas.h> #include <stdlib.h> @@ -1417,6 +1418,10 @@ EAPI_MAIN int elm_main(int argc, char **argv) // Evas_Object *splash_window; // Eina_List *engines, *l; + eeze_init(); + eeze_disk_function(); + if (!(eeze_disk_can_mount() && eeze_disk_can_unmount())) + EINA_LOG_ERR("No disk (u)mount support available"); elm_need_eldbus(); args = ecore_getopt_parse(&optdesc, values, argc, argv); @@ -1509,6 +1514,7 @@ EAPI_MAIN int elm_main(int argc, char **argv) free(eulogium.printer.file_handlers); /* TODO: Cleanup function? */ elm_shutdown(); + eeze_shutdown(); return EXIT_SUCCESS; } |