Enlightenment CVS committal Author : chaos Project : e17 Module : proto
Dir : e17/proto/entropy/src/plugins Modified Files: filesystem.c Log Message: * Entropy-side metadata (it works now!) =================================================================== RCS file: /cvs/e/e17/proto/entropy/src/plugins/filesystem.c,v retrieving revision 1.69 retrieving revision 1.70 diff -u -3 -r1.69 -r1.70 --- filesystem.c 17 Jul 2006 13:41:47 -0000 1.69 +++ filesystem.c 17 Jul 2006 14:45:21 -0000 1.70 @@ -35,6 +35,7 @@ void entropy_filesystem_directory_create (entropy_generic_file * parent, char* child_name); void entropy_filesystem_file_remove (entropy_generic_file * file, entropy_gui_component_instance* instance); void entropy_filesystem_metadata_groups_get(entropy_gui_component_instance* instance); +void entropy_filesystem_file_group_add(entropy_generic_file* file, char* group); Ecore_List* entropy_filesystem_metadata_groups_retrieve(); @@ -593,7 +594,8 @@ plugin->file_functions.file_remove = &entropy_filesystem_file_remove; plugin->misc_functions.groups_get = &entropy_filesystem_metadata_groups_get; plugin->misc_functions.groups_retrieve = &entropy_filesystem_metadata_groups_retrieve; - + plugin->file_functions.group_file_add = &entropy_filesystem_file_group_add; + return base; @@ -999,6 +1001,21 @@ free (uri_path_from); free (uri_path_to); +} + +void entropy_filesystem_file_group_add(entropy_generic_file* file, char* group) +{ + evfs_file_uri_path *uri_path_from; + char* uri_from; + + uri_from = entropy_core_generic_file_uri_create (file, 0); + uri_path_from = evfs_parse_uri (uri_from); + + evfs_client_metadata_group_file_add(con, uri_path_from->files[0], group); + + free(uri_from); + free(uri_path_from); + } void entropy_filesystem_operation_respond(long id, int response) ------------------------------------------------------------------------- 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