Enlightenment CVS committal
Author : lordchaos
Project : e17
Module : apps/evfs
Dir : e17/apps/evfs/src/plugins
Modified Files:
evfs_fs_posix.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/plugins/evfs_fs_posix.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- evfs_fs_posix.c 8 Sep 2005 13:22:47 -0000 1.7
+++ evfs_fs_posix.c 17 Sep 2005 06:54:20 -0000 1.8
@@ -89,14 +89,17 @@
const char *path)
{
Ecore_List* mon_list;
+ int type;
/*printf("Got an event for %s..", path);*/
switch (event) {
case ECORE_FILE_EVENT_MODIFIED:
/*printf("A modified event..\n");*/
+ type = EVFS_FILE_EV_CHANGE;
break;
case ECORE_FILE_EVENT_CREATED_FILE:
+ type = EVFS_FILE_EV_CREATE;
/*printf("File created - '%s'\n", path);*/
break;
}
@@ -110,7 +113,7 @@
ecore_list_goto_first(mon_list);
while ((mon = ecore_list_next(mon_list))) {
/*printf (" Notifying client at id %ld\n",
mon->client->id);*/
- evfs_file_monitor_event_create(mon->client, path);
+ evfs_file_monitor_event_create(mon->client, type, path);
}
}
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs