summaryrefslogtreecommitdiff
path: root/src/modules/clock/e_mod_main.h
diff options
context:
space:
mode:
authorsebastid <sebastid>2005-02-10 11:54:18 +0000
committersebastid <sebastid@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2005-02-10 11:54:18 +0000
commit7f7f3820c44e2133b60b43e8b71cd5b4a7a82a05 (patch)
treeb1efcc08b6cf6dbbc0b6d30a0d3990e4a62a9f06 /src/modules/clock/e_mod_main.h
parent9b6365995aa45729eefe4bd87a8596832f3a08d5 (diff)
Save config for clock and faces.
SVN revision: 13281
Diffstat (limited to '')
-rw-r--r--src/modules/clock/e_mod_main.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/modules/clock/e_mod_main.h b/src/modules/clock/e_mod_main.h
index 842bd6723..0d58179b1 100644
--- a/src/modules/clock/e_mod_main.h
+++ b/src/modules/clock/e_mod_main.h
@@ -4,13 +4,19 @@
4#ifndef E_MOD_MAIN_H 4#ifndef E_MOD_MAIN_H
5#define E_MOD_MAIN_H 5#define E_MOD_MAIN_H
6 6
7typedef struct _Config Config; 7typedef struct _Config Config;
8typedef struct _Clock Clock; 8typedef struct _Config_Face Config_Face;
9typedef struct _Clock_Face Clock_Face; 9typedef struct _Clock Clock;
10typedef struct _Clock_Face Clock_Face;
10 11
11struct _Config 12struct _Config
12{ 13{
13 int dummy; /* just here to hold space */ 14 Evas_List *faces;
15};
16
17struct _Config_Face
18{
19 unsigned char enabled;
14}; 20};
15 21
16struct _Clock 22struct _Clock
@@ -18,22 +24,19 @@ struct _Clock
18 Evas_List *faces; 24 Evas_List *faces;
19 E_Menu *config_menu; 25 E_Menu *config_menu;
20 26
21/* E_Config_DD *conf_edd;*/
22 Config *conf; 27 Config *conf;
23}; 28};
24 29
25struct _Clock_Face 30struct _Clock_Face
26{ 31{
27 Clock *clock;
28 E_Container *con; 32 E_Container *con;
29 Evas *evas;
30 E_Menu *menu; 33 E_Menu *menu;
34 Config_Face *conf;
31 35
32 Evas_Object *clock_object; 36 Evas_Object *clock_object;
33 Evas_Object *event_object; 37 Evas_Object *event_object;
34 38
35 E_Gadman_Client *gmc; 39 E_Gadman_Client *gmc;
36 unsigned char enabled : 1;
37}; 40};
38 41
39EAPI void *init (E_Module *module); 42EAPI void *init (E_Module *module);