Enlightenment CVS committal Author : lordchaos Project : e17 Module : apps/evfs
Dir : e17/apps/evfs/src/include Modified Files: evfs_io.h evfs_vfolder.h Log Message: * VFolder work =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/include/evfs_io.h,v retrieving revision 1.8 retrieving revision 1.9 diff -u -3 -r1.8 -r1.9 --- evfs_io.h 9 Nov 2005 09:56:34 -0000 1.8 +++ evfs_io.h 15 Jan 2006 12:26:40 -0000 1.9 @@ -1,6 +1,9 @@ #ifndef __EVFS_IO_H_ #define __EVFS_IO_H_ +#include <Eet.h> +#include <Evas.h> + int evfs_io_initialise(); typedef struct ecore_ipc_message ecore_ipc_message; @@ -31,6 +34,8 @@ EVFS_COMMAND_END } EVFS_IO_PART_TYPE;*/ +Eet_Data_Descriptor* evfs_io_filereference_edd_get(); + ecore_ipc_message* ecore_ipc_message_new(int major, int minor, int ref, int ref_to, int response, void* data, int len); int evfs_process_incoming_command(evfs_server* server, evfs_command* command, ecore_ipc_message* message); void evfs_write_command_end(evfs_connection* conn); =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/include/evfs_vfolder.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- evfs_vfolder.h 15 Jan 2006 09:22:00 -0000 1.1 +++ evfs_vfolder.h 15 Jan 2006 12:26:40 -0000 1.2 @@ -1,4 +1,35 @@ #ifndef __EVFS_VFOLDER_H_ #define __EVFS_VFOLDER_H_ +/* We have to be careful here. There are several implementations + * of Virtual Folders on several platforms. The most recently + * hyped, of course, is the Windows Vista version. + * In all their forms, they amount to queries that return a + * set of files on one or more filesystems, based on searches + * of file metadata and simple properties (name, creation date, + * owner etc). + * There are several things we must take into account: + * + * 1. Where do we store them? Do we delegate ownership to the evfs + * server, and 'associate' their location with a folder on a + * filesystem? + * 2. What update interval do we use? Do we allow this to be tuned + * on a server or vfolder level - e.g. 'live' vfolders where the + * search takes place on-request, or do it in the background on + * a pre-set time period. If we had a filesystem hook here it + * would be easier - but we don't. At least not one that will + * work on anything but linux. + * 3. What storage method do we use? I'm leaning towards eet, but + * xml would seem to be the better option - we need to represent + * 'or', 'and', 'not' clauses, etc. + */ + +typedef struct evfs_vfolder evfs_vfolder; +struct evfs_vfolder { + Evas_List* bases; /* A list of base URIs where we start our search*/ +}; + +void evfs_vfolder_initialise(); +evfs_vfolder* evfs_vfolder_new(); + #endif ------------------------------------------------------- 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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs