Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/lib/include Modified Files: evas_private.h Log Message: 1. new engine inheritance scheme - its recursive if u want it to be, and so far buffer, software_x11 and fb engines use it. need to make allother software enignes use it next then the gl, cairo, xrender engines, then dfb. it cuts out a LOT of duplicate code. makes writign a new engine or engine variant much simpler =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/include/evas_private.h,v retrieving revision 1.65 retrieving revision 1.66 diff -u -3 -r1.65 -r1.66 --- evas_private.h 1 Mar 2006 03:48:02 -0000 1.65 +++ evas_private.h 2 Mar 2006 08:06:09 -0000 1.66 @@ -730,8 +730,11 @@ int evas_module_load(Evas_Module *em); void evas_module_unload(Evas_Module *em); void evas_module_shutdown(void); - +int _evas_module_engine_inherit(Evas_Func *funcs, char *name); + +#define EVAS_API_OVERRIDE(func, api, prefix) \ + (api)->func = prefix##func #ifdef __cplusplus } #endif -#endif +#endif \ No newline at end of file ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs