Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_ipc_handlers.h e_ipc_handlers_list.h 


Log Message:


mac mcgarry's ipc action patch :)

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_ipc_handlers.h,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -3 -r1.50 -r1.51
--- e_ipc_handlers.h    8 Jul 2005 08:43:26 -0000       1.50
+++ e_ipc_handlers.h    9 Jul 2005 01:00:44 -0000       1.51
@@ -4019,6 +4019,41 @@
 #endif
 #undef HDL
  
+/****************************************************************************/
+#define HDL E_IPC_OP_EXEC_ACTION
+#if (TYPE == E_REMOTE_OPTIONS)
+       OP("-exec-action", 2, "Executes an action given the name (OPT1) and a 
string of parameters (OPT2).", 0, HDL)
+#elif (TYPE == E_REMOTE_OUT)
+       REQ_2STRING(params[0], params[1], HDL);
+#elif (TYPE == E_WM_IN)
+       STRING2(actionName, paramList, e_2str, HDL);
+       {
+               Evas_List *m;
+               E_Manager *man;
+               E_Action
+                       *act
+               ;
+
+               man = NULL;
+
+               m = e_manager_list();
+               if (m) {
+                       man = m->data;
+
+                       if (man) {
+                               act = e_action_find(actionName);
+
+                               if (act && act->func.go) {
+                                       act->func.go(E_OBJECT(man), paramList);
+                               }
+                       }
+               }
+       }
+       END_STRING2(e_2str)
+#elif (TYPE == E_REMOTE_IN)
+#endif
+#undef HDL
+
 #if 0
 }
 #endif
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_ipc_handlers_list.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- e_ipc_handlers_list.h       3 Jul 2005 03:12:30 -0000       1.9
+++ e_ipc_handlers_list.h       9 Jul 2005 01:00:44 -0000       1.10
@@ -196,3 +196,4 @@
 #define E_IPC_OP_FOCUS_SETTING_SET 196
 #define E_IPC_OP_FOCUS_SETTING_GET 197
 #define E_IPC_OP_FOCUS_SETTING_GET_REPLY 198
+#define E_IPC_OP_EXEC_ACTION 199




-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to