Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/modules/pager


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/pager/e_mod_main.c,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -3 -r1.78 -r1.79
--- e_mod_main.c        11 Apr 2005 21:50:35 -0000      1.78
+++ e_mod_main.c        12 Apr 2005 03:34:28 -0000      1.79
@@ -69,7 +69,7 @@
 
 /* public module routines. all modules must have these */
 void *
-init(E_Module *module)
+e_modapi_init(E_Module *module)
 {
    Pager *pager = NULL;
 
@@ -93,7 +93,7 @@
 }
 
 int
-shutdown(E_Module *module)
+e_modapi_shutdown(E_Module *module)
 {
    Pager *pager;
 
@@ -108,7 +108,7 @@
 }
 
 int
-save(E_Module *module)
+e_modapi_save(E_Module *module)
 {
    Pager *pager;
 
@@ -119,7 +119,7 @@
 }
 
 int
-info(E_Module *module)
+e_modapi_info(E_Module *module)
 {
    char buf[4096];
 
@@ -130,7 +130,7 @@
 }
 
 int
-about(E_Module *module)
+e_modapi_about(E_Module *module)
 {
    e_error_dialog_show(_("Enlightenment Pager Module"),
                       _("A pager module to navigate virtual desktops."));
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/pager/e_mod_main.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- e_mod_main.h        5 Apr 2005 14:47:48 -0000       1.20
+++ e_mod_main.h        12 Apr 2005 03:34:28 -0000      1.21
@@ -99,10 +99,10 @@
    Evas_Object *icon_object;
 };
 
-EAPI void *init     (E_Module *module);
-EAPI int   shutdown (E_Module *module);
-EAPI int   save     (E_Module *module);
-EAPI int   info     (E_Module *module);
-EAPI int   about    (E_Module *module);
+EAPI void *e_modapi_init     (E_Module *module);
+EAPI int   e_modapi_shutdown (E_Module *module);
+EAPI int   e_modapi_save     (E_Module *module);
+EAPI int   e_modapi_info     (E_Module *module);
+EAPI int   e_modapi_about    (E_Module *module);
 
 #endif




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to