Enlightenment CVS committal

Author  : chaos
Project : e17
Module  : apps/evfs

Dir     : e17/apps/evfs/src/lib


Modified Files:
        Makefile.am evfs_commands.c 


Log Message:
* Evfs/mime part1 (EVFS now *requires* efreet-mime)

===================================================================
RCS file: /cvs/e/e17/apps/evfs/src/lib/Makefile.am,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- Makefile.am 19 Aug 2007 01:30:08 -0000      1.23
+++ Makefile.am 21 Aug 2007 13:11:15 -0000      1.24
@@ -2,7 +2,7 @@
 
 lib_LTLIBRARIES = libevfs.la
 
-INCLUDES = -I$(top_srcdir)/src/include @EET_CFLAGS@ @ECORE_CFLAGS@ 
$(DEBUGFLAGS) -I. -I$(top_srcdir) \
+INCLUDES = -I$(top_srcdir)/src/include @EET_CFLAGS@ @ECORE_CFLAGS@ 
@EFREET_CFLAGS@ $(DEBUGFLAGS) -I. -I$(top_srcdir) \
           -DBINDIR=\""$(bindir)"\"
 
 libevfs_la_SOURCES   = \
@@ -44,6 +44,7 @@
 libevfs_la_LIBADD = \
        @ECORE_LIBS@ \
        @EET_LIBS@ \
-       @SQLITE_LIBS@
+       @SQLITE_LIBS@ \
+       @EFREET_LIBS@ 
 
 libevfs_la_CFLAGS = -DLIB $(AM_CFLAGS)
===================================================================
RCS file: /cvs/e/e17/apps/evfs/src/lib/evfs_commands.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -3 -r1.43 -r1.44
--- evfs_commands.c     20 Aug 2007 11:04:41 -0000      1.43
+++ evfs_commands.c     21 Aug 2007 13:11:15 -0000      1.44
@@ -424,3 +424,24 @@
 
    return id;
 }
+
+long
+evfs_client_mime_request(evfs_connection* conn, EvfsFilereference* ref)
+{
+   evfs_command *command = evfs_client_command_new();
+   long id = command->client_identifier;
+
+   command->type = EVFS_CMD_MIME_REQUEST;
+   command->file_command->files = evas_list_append( 
command->file_command->files, ref);   
+
+   evfs_write_command(conn, command);
+       
+   evas_list_free(command->file_command->files);
+   free(command);
+
+
+   return id;
+}
+
+
+



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to