Enlightenment CVS committal
Author : handyande
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_ipc_handlers.h
Log Message:
Is this a good macro for sending a list? SEND_DIR_LIST(path_modules,
E_IPC_OP_MODULES_LIST_REPLY) ...
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_ipc_handlers.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- e_ipc_handlers.h 2 Jun 2005 17:15:00 -0000 1.13
+++ e_ipc_handlers.h 2 Jun 2005 17:43:24 -0000 1.14
@@ -126,9 +126,17 @@
#define DECODE(__dec) \
if (__dec(e->data, e->size, &dat))
-#endif
+#define SEND_DIR_LIST(__pathtype, __replytype) \
+ GENERIC(HDL); \
+ Evas_List *dir_list; \
+ dir_list = e_path_dir_list_get(__pathtype); \
+ ENCODE(dir_list, e_ipc_codec_str_list_enc); \
+ SEND_DATA(__replytype); \
+ END_GENERIC();
+#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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs