Enlightenment CVS committal Author : doursse Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/lib/file Modified Files: evas_module.c Log Message: and now the savers... =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/file/evas_module.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -3 -r1.10 -r1.11 --- evas_module.c 15 Jan 2006 10:24:37 -0000 1.10 +++ evas_module.c 15 Jan 2006 10:33:26 -0000 1.11 @@ -111,6 +111,7 @@ /* 1. engines */ _evas_module_path_append(EVAS_MODULE_TYPE_ENGINE, paths->data, "engines"); _evas_module_path_append(EVAS_MODULE_TYPE_IMAGE_LOADER, paths->data, "loaders"); + _evas_module_path_append(EVAS_MODULE_TYPE_IMAGE_SAVER, paths->data, "savers"); _evas_module_path_append(EVAS_MODULE_TYPE_OBJECT, paths->data, "objects"); free(paths->data); paths = evas_list_remove_list(paths, paths); @@ -126,7 +127,7 @@ int new_id_engine = 1; int new_id_loader = 1; - /* printf("[init modules]\n"); */ +/* printf("[init modules]\n"); */ evas_module_paths_init(); for (l = evas_module_paths; l; l = l->next) { @@ -137,7 +138,7 @@ mp = l->data; if (!(dir = opendir(mp->path))) break; - /* printf("[evas module] searching modules on %s\n", mp->path); */ +/* printf("[evas module] searching modules on %s\n", mp->path); */ while ((de = readdir(dir))) { char *buf; @@ -173,7 +174,10 @@ else if (em->type == EVAS_MODULE_TYPE_IMAGE_LOADER) { } - /* printf("[evas module] including module path %s/%s of type %d\n",em->path, em->name, em->type); */ + else if (em->type == EVAS_MODULE_TYPE_IMAGE_SAVER) + { + } +/* printf("[evas module] including module path %s/%s of type %d\n",em->path, em->name, em->type); */ evas_modules = evas_list_append(evas_modules, em); } free(buf); @@ -277,6 +281,7 @@ { Evas_Module *em; +/* printf("[shutdown modules]\n"); */ while (evas_modules) { em = (Evas_Module *)evas_modules->data; @@ -290,6 +295,9 @@ else if (em->type == EVAS_MODULE_TYPE_IMAGE_LOADER) { } + else if (em->type == EVAS_MODULE_TYPE_IMAGE_SAVER) + { + } free(evas_modules->data); evas_modules = evas_list_remove_list(evas_modules, evas_modules); } ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs