Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : apps/e

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


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/dropshadow/e_mod_main.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- e_mod_main.c        11 Apr 2005 21:50:35 -0000      1.13
+++ e_mod_main.c        12 Apr 2005 03:34:28 -0000      1.14
@@ -68,7 +68,7 @@
     
 /* public module routines. all modules must have these */
 void *
-init(E_Module *m)
+e_modapi_init(E_Module *m)
 {
    Dropshadow *ds;
    
@@ -89,7 +89,7 @@
 }
 
 int
-shutdown(E_Module *m)
+e_modapi_shutdown(E_Module *m)
 {
    Dropshadow *ds;
    
@@ -108,7 +108,7 @@
 }
 
 int
-save(E_Module *m)
+e_modapi_save(E_Module *m)
 {
    Dropshadow *ds;
    
@@ -118,7 +118,7 @@
 }
 
 int
-info(E_Module *m)
+e_modapi_info(E_Module *m)
 {
    char buf[4096];
    
@@ -129,7 +129,7 @@
 }
 
 int
-about(E_Module *m)
+e_modapi_about(E_Module *m)
 {
    e_error_dialog_show(_("Enlightenment Dropshadow Module"),
                       _("This is the dropshadow module that allows dropshadows 
to be cast\n"
===================================================================
RCS file: 
/cvsroot/enlightenment/e17/apps/e/src/modules/dropshadow/e_mod_main.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- e_mod_main.h        28 Mar 2005 04:59:55 -0000      1.5
+++ e_mod_main.h        12 Apr 2005 03:34:28 -0000      1.6
@@ -61,10 +61,10 @@
    unsigned char use_shared : 1;
 };
 
-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




-------------------------------------------------------
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