Enlightenment CVS committal
Author : chaos
Project : e17
Module : apps/evfs
Dir : e17/apps/evfs/src/plugins/file
Modified Files:
evfs_fs_vfolder.c
Log Message:
* More vfolder work
===================================================================
RCS file: /cvs/e/e17/apps/evfs/src/plugins/file/evfs_fs_vfolder.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- evfs_fs_vfolder.c 15 Jul 2006 12:51:19 -0000 1.1
+++ evfs_fs_vfolder.c 16 Jul 2006 06:43:36 -0000 1.2
@@ -76,7 +76,11 @@
Ecore_List *files = ecore_list_new();
evfs_filereference* ref;
- if (!strcmp(command->file_command.files[0]->path, "//")) {
+ /*We should make this generic - perhaps a plugin system*/
+ /*FIXME - but this will do for testing*/
+ printf("Vfolder listing '%s'..\n", command->file_command.files[0]->path);
+
+ if (!strcmp(command->file_command.files[0]->path, "/")) {
/*Metadata groups ref*/
ref = NEW(evfs_filereference);
@@ -91,6 +95,8 @@
ref->path = strdup(EVFS_PLUGIN_VFOLDER_QUERIES_ID);
ref->file_type = EVFS_FILE_DIRECTORY;
ecore_list_append(files, ref);
+ } else if (!strncmp(command->file_command.files[0]->path, "/Groups",
strlen("/Groups"))) {
+ printf("User requested a metagroup listing\n");
}
*directory_list = evfs_file_list_sort(files);
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs