Enlightenment CVS committal

Author  : chaos
Project : e17
Module  : apps/evfs

Dir     : e17/apps/evfs/src/include


Modified Files:
        evfs.h evfs_command.h evfs_commands.h evfs_event.h 
        evfs_server_handle.h 


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

===================================================================
RCS file: /cvs/e/e17/apps/evfs/src/include/evfs.h,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -3 -r1.52 -r1.53
--- evfs.h      20 Aug 2007 11:09:13 -0000      1.52
+++ evfs.h      21 Aug 2007 13:11:15 -0000      1.53
@@ -14,6 +14,8 @@
 #include <Ecore_File.h>
 
 #include <Evas.h>
+#include <Efreet.h>
+#include <Efreet_Mime.h>
 
 #include <stdlib.h>
 #include <string.h>
===================================================================
RCS file: /cvs/e/e17/apps/evfs/src/include/evfs_command.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- evfs_command.h      20 Aug 2007 11:04:40 -0000      1.21
+++ evfs_command.h      21 Aug 2007 13:11:15 -0000      1.22
@@ -28,7 +28,8 @@
    EVFS_CMD_METADATA_FILE_GROUP_ADD = 20,
    EVFS_CMD_METADATA_FILE_GROUP_REMOVE = 21,
    EVFS_CMD_TRASH_RESTORE = 22,
-   EVFS_CMD_AUTH_RESPONSE = 23
+   EVFS_CMD_AUTH_RESPONSE = 23,
+   EVFS_CMD_MIME_REQUEST = 24
 }
 evfs_command_type;
 
===================================================================
RCS file: /cvs/e/e17/apps/evfs/src/include/evfs_commands.h,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- evfs_commands.h     19 Aug 2007 01:30:08 -0000      1.24
+++ evfs_commands.h     21 Aug 2007 13:11:15 -0000      1.25
@@ -47,4 +47,7 @@
 long 
 evfs_client_auth_send(evfs_connection* conn, EvfsFilereference* ref, char* 
user, char* password);
 
+long
+evfs_client_mime_request(evfs_connection* conn, EvfsFilereference* ref);
+
 #endif
===================================================================
RCS file: /cvs/e/e17/apps/evfs/src/include/evfs_event.h,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- evfs_event.h        20 Aug 2007 11:04:40 -0000      1.24
+++ evfs_event.h        21 Aug 2007 13:11:15 -0000      1.25
@@ -18,6 +18,7 @@
    EVFS_EV_METADATA_FILE_GET = 11,
    EVFS_EV_METADATA_GROUPS = 12,
    EVFS_EV_AUTH_REQUIRED = 13,
+   EVFS_EV_MIME = 14,
 
    EVFS_EV_ERROR = 100,
    EVFS_EV_NOT_SUPPORTED = 101
@@ -28,37 +29,6 @@
    EVFS_EV_SUB_MONITOR_NOTIFY = 1
 } evfs_eventtype_sub;
 
-typedef enum evfs_eventpart
-{
-   EVFS_EV_PART_TYPE = 1,
-   EVFS_EV_PART_SUB_TYPE = 2,
-   EVFS_EV_PART_FILE_MONITOR_TYPE = 3,
-   EVFS_EV_PART_FILE_MONITOR_FILENAME = 4,
-   EVFS_EV_PART_FILE_MONITOR_PLUGIN = 5,
-   EVFS_EV_PART_DATA = 6,
-   EVFS_EV_PART_STAT_SIZE = 7,
-   EVFS_EV_PART_FILE_REFERENCE = 8,
-   EVFS_EV_PART_METALIST = 9,
-   EVFS_EV_PART_CHAR_PTR = 10,
-
-   EVFS_EV_PART_PROGRESS = 11,
-
-   EVFS_COMMAND_EXTRA = 12,
-   EVFS_COMMAND_TYPE = 13,
-   EVFS_FILE_REFERENCE = 14,
-
-   EVFS_EV_PART_OPERATION = 18,
-   EVFS_EV_PART_FILE_MONITOR = 19,
-   
-   EVFS_COMMAND_END = 20,
-   EVFS_COMMAND_PART_OPERATION = 21,
-   EVFS_COMMAND_CLIENTID = 22,
-   EVFS_COMMAND_PART_FILECOMMAND_REF1 = 23,
-   EVFS_COMMAND_PART_FILECOMMAND_REF2 = 24,
-
-   EVFS_EV_PART_END = 1000
-} evfs_eventpart;
-
 /*-----------------------------------------------------------------*/
 /*Reorg event*/
 typedef enum EvfsEventReturnCode
@@ -174,6 +144,12 @@
    char* misc;
 } EvfsEventOperation;
 
+#define EVFS_EVENT_MIME(event) ((EvfsEventMime*) event)
+typedef struct
+{
+       EvfsEvent base;
+       char* mime;
+} EvfsEventMime;
 
 /*---------------*/
 
===================================================================
RCS file: /cvs/e/e17/apps/evfs/src/include/evfs_server_handle.h,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- evfs_server_handle.h        16 Aug 2007 11:31:17 -0000      1.25
+++ evfs_server_handle.h        21 Aug 2007 13:11:15 -0000      1.26
@@ -46,4 +46,5 @@
                                    evfs_command * command);
 
 void evfs_handle_auth_respond_command(evfs_client* client, evfs_command* 
command);
+void evfs_handle_mime_request(evfs_client* client, evfs_command* command);
 #endif



-------------------------------------------------------------------------
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