Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

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


Modified Files:
        e_mod_main.c e_mod_main.h 


Log Message:
New modapi!

If a module fails to load, don't unload it. Mark it with an error flag,
and ask the user if he wants to unload it.

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/test/e_mod_main.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- e_mod_main.c        23 Sep 2005 17:13:47 -0000      1.8
+++ e_mod_main.c        24 Sep 2005 13:42:05 -0000      1.9
@@ -4,7 +4,7 @@
 #include "e.h"
 #include "e_mod_main.h"
 
-E_Module_Api e_module_api = 
+E_Module_Api e_modapi = 
 {
    E_MODULE_API_VERSION,
    "Test"
@@ -53,7 +53,6 @@
 int
 e_modapi_info(E_Module *m)
 {
-   m->label = strdup(_("Test!!!"));
    return 1;
 }
 
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/test/e_mod_main.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- e_mod_main.h        23 Sep 2005 17:13:47 -0000      1.4
+++ e_mod_main.h        24 Sep 2005 13:42:05 -0000      1.5
@@ -1,7 +1,7 @@
 #ifndef E_MOD_MAIN_H
 #define E_MOD_MAIN_H
 
-extern E_Module_Api e_module_api;
+extern E_Module_Api e_modapi;
 
 EAPI void *e_modapi_init     (E_Module *m);
 EAPI int   e_modapi_shutdown (E_Module *m);




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to