Enlightenment CVS committal Author : handyande Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_ipc_handlers.h Log Message: Add some more IPC stuff, think I am getting the hang of this now Make libe use the ipc_handlers backend (womeone might need to correct my autofoo) what should we do for the (pretty custom) libe RESPONSEs? should they go into the handlers too? =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_ipc_handlers.h,v retrieving revision 1.10 retrieving revision 1.11 diff -u -3 -r1.10 -r1.11 --- e_ipc_handlers.h 1 Jun 2005 14:27:18 -0000 1.10 +++ e_ipc_handlers.h 2 Jun 2005 14:15:18 -0000 1.11 @@ -379,10 +379,41 @@ #undef HDL - - - - + + + +/****************************************************************************/ +#define HDL E_IPC_OP_RESTART +#if (TYPE == E_REMOTE_OPTIONS) + OP("-restart", 0, "Restart Enlightenment", 0, HDL) +#elif (TYPE == E_REMOTE_OUT) + REQ_NULL(HDL); +#elif (TYPE == E_WM_IN) + GENERIC(HDL); + restart = 1; + ecore_main_loop_quit(); + END_GENERIC(); +#elif (TYPE == E_REMOTE_IN) +#endif +#undef HDL +/****************************************************************************/ +#define HDL E_IPC_OP_SHUTDOWN +#if (TYPE == E_REMOTE_OPTIONS) + OP("-shutdown", 0, "Shutdown (exit) Enlightenment", 1, HDL) +#elif (TYPE == E_REMOTE_OUT) + REQ_NULL(HDL); +#elif (TYPE == E_WM_IN) + GENERIC(HDL); + ecore_main_loop_quit(); + END_GENERIC(); +#elif (TYPE == E_REMOTE_IN) +#endif +#undef HDL + + + + + #if 0 } #endif ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs