From: <enl...@li...> - 2005-04-12 03:35:22
|
Enlightenment CVS committal Author : dj2 Project : e17 Module : apps/e Dir : e17/apps/e/src/modules/temperature Modified Files: e_mod_main.c e_mod_main.h Log Message: - change the names of the module entry points. This will break other modules. init -> e_modapi_init shutdown -> e_modapi_shutdown about -> e_modapi_about info -> e_modapi_info save -> e_modapi_save =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/temperature/e_mod_main.c,v retrieving revision 1.20 retrieving revision 1.21 diff -u -3 -r1.20 -r1.21 --- e_mod_main.c 11 Apr 2005 22:01:51 -0000 1.20 +++ e_mod_main.c 12 Apr 2005 03:34:28 -0000 1.21 @@ -33,7 +33,7 @@ /* public module routines. all modules must have these */ void * -init(E_Module *m) +e_modapi_init(E_Module *m) { Temperature *e; @@ -56,7 +56,7 @@ } int -shutdown(E_Module *m) +e_modapi_shutdown(E_Module *m) { Temperature *e; @@ -70,7 +70,7 @@ } int -save(E_Module *m) +e_modapi_save(E_Module *m) { Temperature *e; @@ -80,7 +80,7 @@ } int -info(E_Module *m) +e_modapi_info(E_Module *m) { char buf[4096]; @@ -91,7 +91,7 @@ } int -about(E_Module *m) +e_modapi_about(E_Module *m) { e_error_dialog_show(_("Enlightenment Temperature Module"), _("A module to measure the ACPI Thermal sensor on Linux.\n" =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/temperature/e_mod_main.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- e_mod_main.h 10 Feb 2005 16:48:37 -0000 1.5 +++ e_mod_main.h 12 Apr 2005 03:34:28 -0000 1.6 @@ -47,10 +47,10 @@ E_Gadman_Client *gmc; }; -EAPI void *init (E_Module *m); -EAPI int shutdown (E_Module *m); -EAPI int save (E_Module *m); -EAPI int info (E_Module *m); -EAPI int about (E_Module *m); +EAPI void *e_modapi_init (E_Module *m); +EAPI int e_modapi_shutdown (E_Module *m); +EAPI int e_modapi_save (E_Module *m); +EAPI int e_modapi_info (E_Module *m); +EAPI int e_modapi_about (E_Module *m); #endif |