Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : apps/evfs

Dir     : e17/apps/evfs/src/include


Modified Files:
        evfs.h evfs_io.h 
Added Files:
        evfs_event_helper.h 


Log Message:
* Stage one of the event engine.  Demo app now receives and displays events 

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/include/evfs.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- evfs.h      16 Aug 2005 05:44:21 -0000      1.3
+++ evfs.h      16 Aug 2005 07:31:40 -0000      1.4
@@ -106,12 +106,15 @@
 
 typedef enum evfs_eventpart {
        EVFS_EV_PART_TYPE = 1,
-       EVFS_EV_PART_DATA = 2
+       EVFS_EV_PART_SUB_TYPE = 2,
+       EVFS_EV_PART_DATA = 3,
+       EVFS_EV_PART_END = 1000
 } evfs_eventpart;
 
 typedef struct evfs_event evfs_event;
 struct evfs_event {
        evfs_eventtype type;
+       evfs_eventtype_sub sub_type;
        void* data;
        int data_len;
 };
@@ -127,7 +130,7 @@
 
 void evfs_cleanup_client(evfs_client* client);
 void evfs_disconnect(evfs_connection* connection);
-evfs_connection* evfs_connect();
+evfs_connection* evfs_connect(void (*callback_func)(void*));
 evfs_file_uri_path* evfs_parse_uri(char* uri);
 void evfs_handle_command(evfs_client* client, evfs_command* command);
 void evfs_handle_monitor_start_command(evfs_client* client, evfs_command* 
command);
@@ -140,5 +143,6 @@
 #include <evfs_cleanup.h>
 #include <evfs_io.h>
 #include <evfs_new.h>
+#include <evfs_event_helper.h>
 
 #endif
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/include/evfs_io.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- evfs_io.h   16 Aug 2005 05:44:21 -0000      1.3
+++ evfs_io.h   16 Aug 2005 07:31:40 -0000      1.4
@@ -40,6 +40,8 @@
 
 void evfs_write_ecore_ipc_client_message(Ecore_Ipc_Client* client, 
ecore_ipc_message* msg);
 void evfs_write_ecore_ipc_server_message(Ecore_Ipc_Server* server, 
ecore_ipc_message* msg);
+void evfs_write_event(evfs_client* client, evfs_event* event);
+int evfs_read_event(evfs_event* event, ecore_ipc_message* msg);
 
 
 #endif




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to