Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/lib Modified Files: Evas.h Log Message: removes some unused struct members (should remove more though) and fixes up modular loaders =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/Evas.h,v retrieving revision 1.79 retrieving revision 1.80 diff -u -3 -r1.79 -r1.80 --- Evas.h 14 Jan 2006 19:58:55 -0000 1.79 +++ Evas.h 15 Jan 2006 06:21:03 -0000 1.80 @@ -27,75 +27,6 @@ * @brief These routines are used for Evas library interaction. */ -/* the evas module api */ -/***********************/ -/* the module api version */ -#define EVAS_MODULE_API_VERSION 1 - -/* the module types */ -typedef enum _Evas_Module_Type -{ - EVAS_MODULE_TYPE_ENGINE, - EVAS_MODULE_TYPE_IMAGE_LOADER, - EVAS_MODULE_TYPE_OBJECT -} Evas_Module_Type; - -/* the module api structure, all modules should define this struct */ -typedef struct _Evas_Module_Api Evas_Module_Api; -struct _Evas_Module_Api -{ - int version; - Evas_Module_Type type; - const char *name; - const char *author; -}; - -/* the module structure */ -typedef struct _Evas_Module Evas_Module; -struct _Evas_Module -{ - Evas_Module_Api *api; - void *handle; /* the dlopen handle */ - char *path; /* the path where this modules is */ - char *name; /* the name of the dir where this module is */ - Evas_Module_Type type; /* the type detected by the path */ - struct - { - int (*open)(Evas_Module *); - void (*close)(Evas_Module *); - } func; - unsigned char loaded : 1; - - void *functions; /* this are the functions exported by the module */ - void *data; /* some internal data for the module i.e the id for engines */ -}; - - -/* the internals of the module api use this struct to reference a path with a module type - * instead of deduce the type from the path. - * */ -typedef struct _Evas_Module_Path Evas_Module_Path; -struct _Evas_Module_Path -{ - Evas_Module_Type type; - const char *path; -}; - -typedef struct _Evas_Module_Engine Evas_Module_Engine; -struct _Evas_Module_Engine -{ - int id; -}; - -typedef struct _Evas_Module_Image_Loader Evas_Module_Image_Loader; -struct _Evas_Module_Image_Loader -{ - int id; -}; - -/* end of evas module api */ -/**************************/ - typedef enum _Evas_Callback_Type { EVAS_CALLBACK_MOUSE_IN, /**< Mouse In Event */ ------------------------------------------------------- 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