Enlightenment CVS committal

Author  : chaos
Project : e17
Module  : apps/evfs

Dir     : e17/apps/evfs/src/common


Modified Files:
        evfs_common.c 


Log Message:
Ok - be careful - this *will* start to harvest metadata in your homedir.
Things to note:

* Hardcoded to harvest ".mp3", ".mpg", and ".jpg" (for now).
* Will only harvest your homedirectory.
* The DB (~/.e/evfs/evfs_metadata.db) should not grow *too* large - 2000 
harvested files == ~1mb

===================================================================
RCS file: /cvs/e/e17/apps/evfs/src/common/evfs_common.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- evfs_common.c       5 Aug 2006 12:25:10 -0000       1.5
+++ evfs_common.c       6 Aug 2006 04:29:22 -0000       1.6
@@ -20,6 +20,18 @@
        }
 }
 
+evfs_command* evfs_file_command_single_build(evfs_filereference* ref)
+{
+       evfs_command* c = NEW(evfs_command);
+
+       c->file_command.files = calloc(1, sizeof(evfs_filereference*));
+       c->file_command.files[0] = ref;
+       c->file_command.num_files = 1;
+       evfs_filereference_sanitise(ref);
+
+       return c;
+}
+
 evfs_filereference* evfs_filereference_clone(evfs_filereference* source)
 {
        evfs_filereference* dest = calloc(1,sizeof(evfs_filereference));



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to