Enlightenment CVS committal Author : lordchaos Project : e17 Module : apps/efsd
Dir : e17/apps/efsd/demo Modified Files: ecore_efsddemo.c Log Message: Work on EFSD_FILECHANGE events =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/efsd/demo/ecore_efsddemo.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- ecore_efsddemo.c 8 Aug 2005 12:26:31 -0000 1.1 +++ ecore_efsddemo.c 9 Aug 2005 05:25:11 -0000 1.2 @@ -38,6 +38,9 @@ #include <fam.h> #include <Ecore.h> +EfsdConnection* ec; +int id; + void handle_efsd_event(EfsdEvent *ee); @@ -252,6 +255,14 @@ { printf("filetype is %s\n", (char*)ee->efsd_reply_event.data); } + + /*Next test..monitor*/ + printf("Running monitor test..\n"); + if ((id = efsd_start_monitor(ec, getenv("HOME"), + efsd_ops(1, efsd_op_get_stat()), EFSD_CMD_STARTMON_DIR)) >= 0) { + printf ("Starting monitor..\n"); + } + break; case EFSD_CMD_CLOSE: printf("Close event %i\n", @@ -286,7 +297,6 @@ int main(int argc, char** argv) { - EfsdConnection *ec; EfsdCmdId id; pid_t child; int blocking, i; ------------------------------------------------------- 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