Enlightenment CVS committal

Author  : chaos
Project : e17
Module  : apps/evfs

Dir     : e17/apps/evfs/src/bin


Modified Files:
        evfs_main.c evfs_metadata.c evfs_server_handle.c 


Log Message:
* Add a command/event pair to request a list of metadata groups

===================================================================
RCS file: /cvs/e/e17/apps/evfs/src/bin/evfs_main.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -3 -r1.50 -r1.51
--- evfs_main.c 25 Jun 2006 10:18:07 -0000      1.50
+++ evfs_main.c 17 Jul 2006 05:45:38 -0000      1.51
@@ -231,6 +231,11 @@
                        command->file_command.ref);     
        break;
 
+     case EVFS_CMD_METADATA_GROUPS_GET:
+       printf("Request for metadata groups\n");
+       evfs_handle_metadata_groups_request_command(client,command);
+       break;
+
      default:
         printf("Warning - unhandled command %d\n", command->type);
         break;
===================================================================
RCS file: /cvs/e/e17/apps/evfs/src/bin/evfs_metadata.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- evfs_metadata.c     16 Jul 2006 10:25:54 -0000      1.9
+++ evfs_metadata.c     17 Jul 2006 05:45:38 -0000      1.10
@@ -268,12 +268,12 @@
                        eet_close(_evfs_metadata_eet);
        }
 
-       ref = calloc(1, sizeof(evfs_filereference));
+       /*ref = calloc(1, sizeof(evfs_filereference));
        ref->plugin_uri= strdup("file");
        ref->path = strdup("/home/chaos/sakura3x3840.jpg");
        evfs_metadata_group_header_file_add(ref, "Pictures");
 
-       /*printf("\n*****\nFile groups are now:\n");
+       printf("\n*****\nFile groups are now:\n");
 
        groups = evfs_metadata_file_groups_get(ref);
        evfs_metadata_debug_file_groups_print(groups);
===================================================================
RCS file: /cvs/e/e17/apps/evfs/src/bin/evfs_server_handle.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -3 -r1.57 -r1.58
--- evfs_server_handle.c        15 Jul 2006 12:51:18 -0000      1.57
+++ evfs_server_handle.c        17 Jul 2006 05:45:38 -0000      1.58
@@ -592,3 +592,12 @@
                
evfs_metadata_file_get_key_value_string(command->file_command.files[0], key);
        }
 }
+
+
+void evfs_handle_metadata_groups_request_command(evfs_client* client, 
evfs_command* command) {
+       Evas_List* group_list;
+
+       group_list = evfs_metadata_groups_get();
+       evfs_group_list_event_create(client, command, group_list);
+       
+}




-------------------------------------------------------------------------
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
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to