Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : apps/evfs

Dir     : e17/apps/evfs/src/demo


Modified Files:
        evfs_demo.c 


Log Message:
* patch from Victor Kojouharov to pass a data object back on callback. 

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/demo/evfs_demo.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- evfs_demo.c 9 Nov 2005 23:51:05 -0000       1.21
+++ evfs_demo.c 23 Jan 2006 10:59:33 -0000      1.22
@@ -5,7 +5,7 @@
 evfs_file_uri_path* dir_path;
 evfs_connection* con;
 
-void callback(evfs_event* data) {
+void callback(evfs_event* data, void* obj) {
        if (data->type == EVFS_EV_FILE_MONITOR) {
                                printf("DEMO: Received a file monitor 
notification\n");
                                printf("DEMO: For file: '%s'\n", 
data->file_monitor.filename);
@@ -92,7 +92,7 @@
                snprintf(pathi,1024,"%s", patharg);
        }
 
-       con = evfs_connect(&callback);
+       con = evfs_connect(&callback, NULL);
 
        //path = evfs_parse_uri("posix:///dev/ttyS0");
        




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to