Enlightenment CVS committal Author : lordchaos Project : e17 Module : apps/evfs
Dir : e17/apps/evfs/src/demo Modified Files: evfs_demo.c Log Message: Made the event structure and subsystem more logical. Event types can now be transmittd =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/demo/evfs_demo.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- evfs_demo.c 19 Aug 2005 12:15:11 -0000 1.6 +++ evfs_demo.c 17 Sep 2005 06:54:20 -0000 1.7 @@ -7,14 +7,10 @@ void callback(evfs_event* data) { static char str_data[1024]; - if (data->type == EVFS_EV_REPLY) { - switch (data->sub_type) { - case EVFS_EV_SUB_MONITOR_NOTIFY: + if (data->type == EVFS_EV_FILE_MONITOR) { printf("DEMO: Received a file monitor notification\n"); - printf("DEMO: For file: '%s'\n", data->data); + printf("DEMO: For file: '%s'\n", data->file_monitor.filename); mon_current++; - break; - } } if (mon_current == 2) { ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs