Enlightenment CVS committal
Author : lordchaos
Project : e17
Module : proto
Dir : e17/proto/entropy/src/include
Modified Files:
entropy.h entropy_config.h entropy_core.h
Log Message:
* Begin the slow, yet necessary migration from ecore_config -> eet
* Support multiple application binding per mimetype
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/include/entropy.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- entropy.h 6 Mar 2006 09:04:55 -0000 1.21
+++ entropy.h 16 Mar 2006 12:22:01 -0000 1.22
@@ -3,8 +3,6 @@
-typedef struct entropy_config entropy_config;
-
#include <Ecore.h>
#include <Ecore_Ipc.h>
#include <Ecore_Data.h>
===================================================================
RCS file:
/cvsroot/enlightenment/e17/proto/entropy/src/include/entropy_config.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- entropy_config.h 26 Feb 2006 04:49:43 -0000 1.4
+++ entropy_config.h 16 Mar 2006 12:22:01 -0000 1.5
@@ -3,15 +3,40 @@
#include "entropy.h"
#include "entropy_gui.h"
+#include <Evas.h>
+
+struct Entropy_Config_Mime_Binding {
+ char* mime_type;
+ Evas_List* actions;
+};
+typedef struct Entropy_Config_Mime_Binding Entropy_Config_Mime_Binding;
+
+struct Entropy_Config_Mime_Binding_Action {
+ char* app_description;
+ char* executable;
+ char* args;
+};
+typedef struct Entropy_Config_Mime_Binding_Action
Entropy_Config_Mime_Binding_Action;
+
+struct Entropy_Config_Mime {
+ Evas_List* mime_bindings;
+};
+typedef struct Entropy_Config_Mime Entropy_Config_Mime;
-struct entropy_config {
+struct Entropy_Config {
char* config_dir;
char* config_dir_and_file;
+ char* config_dir_and_file_eet;
+
+ Entropy_Config_Mime* Config_Mimes;
};
+typedef struct Entropy_Config Entropy_Config;
+
-entropy_config* entropy_config_init(entropy_core* core);
-void entropy_config_destroy(entropy_config* config);
+Entropy_Config_Mime_Binding* entropy_config_mime_binding_for_type_get(char*
type);
+Entropy_Config* entropy_config_init(entropy_core* core);
+void entropy_config_destroy(Entropy_Config* config);
char* entropy_config_str_get(char* module, char* key);
void entropy_config_str_set(char* module, char* key, char* value);
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/include/entropy_core.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- entropy_core.h 21 Feb 2006 10:15:56 -0000 1.7
+++ entropy_core.h 16 Mar 2006 12:22:01 -0000 1.8
@@ -13,7 +13,7 @@
typedef struct entropy_core entropy_core;
struct entropy_core {
- entropy_config* config;
+ struct Entropy_Config* config;
Ecore_List* plugin_list;
Ecore_List* mime_plugins;
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs