Enlightenment CVS committal Author : handyande Project : e17 Module : apps/e
Dir : e17/apps/e/src/lib Modified Files: E.h e_main.c Log Message: export the restart call to libe - just in case =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/lib/E.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- E.h 12 Jan 2005 16:03:09 -0000 1.3 +++ E.h 17 Mar 2005 13:55:20 -0000 1.4 @@ -39,11 +39,19 @@ extern "C" { #endif + /* library startup and shutdown */ EAPI int e_init (const char *display); EAPI int e_shutdown (void); + + /* E startup and shutdown */ + EAPI void e_restart (void); + + /* E module manipulation */ EAPI void e_module_enabled_set (const char *module, int enable); EAPI void e_module_loaded_set (const char *module, int load); EAPI void e_module_list (void); + + /* E desktop manipulation */ EAPI void e_background_set (const char *bgfile); EAPI void e_background_get (void); =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/lib/e_main.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- e_main.c 11 Feb 2005 23:28:36 -0000 1.6 +++ e_main.c 17 Mar 2005 13:55:20 -0000 1.7 @@ -110,6 +110,9 @@ return 1; } +/* + * close our connection to E + */ int e_shutdown(void) { @@ -120,6 +123,18 @@ return 1; } +/* actual IPC calls */ +void +e_restart(void) +{ + E_Ipc_Op type; + + type = E_IPC_OP_RESTART; + ecore_ipc_server_send(_e_ipc_server, E_IPC_DOMAIN_REQUEST, type, 0/*ref*/, + 0/*ref_to*/, 0/*response*/, NULL, 0); + +} + void e_module_enabled_set(const char *module, int enable) { ------------------------------------------------------- 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