Main Page | Data Structures | Directories | File List | Data Fields | Globals

e_mod_config.h

Go to the documentation of this file.
00001 #ifdef E_MOD_DEVIAN_TYPEDEFS
00002 typedef struct _Config_dEvian_Main Config_dEvian_Main;
00003 typedef struct _Config_dEvian Config_dEvian;
00004 
00005 #else
00006 
00007 #ifndef E_MOD_CONFIG_H_INCLUDED
00008 #define E_MOD_CONFIG_H_INCLUDED
00009 
00010 #define CONFIG_VERSION 16
00011 
00012 /* Struct for the module configuration */
00013 struct _Config_dEvian_Main
00014 {
00015   /* General Module Settings */
00016   int conf_version;
00017   int high_quality;
00018   int nb_devian;
00019   char *theme;
00020 
00021   /* General Sources Settings */
00022   int source_default;
00023 
00024   char *sources_picture_data_import_dir;
00025   int sources_picture_data_import_recursive;
00026   int sources_picture_data_import_thumbs_warn;
00027   int sources_picture_default_location;
00028   int sources_picture_set_bg_purge;
00029 
00030   /* General Containers Settings */
00031   int container_default;
00032   
00033   int boxs_always_number;
00034   int boxs_always_infos;
00035   int boxs_stacking;
00036   int boxs_default_max_size;
00037   int boxs_default_anim;
00038   int boxs_anim_ghost_timer;
00039   int boxs_nice_resize;
00040   int boxs_nice_trans;
00041 
00042   /* General Data Settings */
00043   int data_picture_thumb_default_size;
00044   int data_picture_cache_size;
00045 
00046   /* Config for each devian */
00047   Evas_List *devians_conf;
00048 };
00049 
00050 /* Struct for sources config */
00051 
00052 struct _Config_dEvian
00053 {
00054   /* About the source */
00055   int source_type;
00056   
00057   int picture_timer_s;
00058   int picture_timer_active;
00059 
00060   /* About the container */
00061   int container_type;
00062 
00063   int box_x;
00064   int box_y;
00065   int box_max_size;
00066   int box_speed;
00067   int box_auto_resize;
00068   int box_anim;
00069 };
00070 
00071 Config_dEvian_Main *devian_config_init(void);
00072 Config_dEvian_Main *devian_config_load(E_Config_DD *conf_edd);
00073 void devian_config_save(void);
00074 void devian_config_devian_save(dEvian *devian);
00075 
00076 void devian_config_free(void);
00077 void devian_config_devian_free(dEvian *devian);
00078 
00079 Config_dEvian_Main *devian_config_main_new(void);
00080 Config_dEvian *devian_config_devian_new(Config_dEvian *conf);
00081 
00082 #endif
00083 #endif

Generated on Fri Jan 6 02:26:26 2006 for dEvian by  doxygen 1.4.4