2004-11-26 02:53:38 -08:00
|
|
|
#ifndef E_MOD_MAIN_H
|
|
|
|
#define E_MOD_MAIN_H
|
|
|
|
|
2005-12-27 09:16:58 -08:00
|
|
|
EAPI extern E_Module_Api e_modapi;
|
2005-09-23 10:13:47 -07:00
|
|
|
|
2006-06-06 08:33:44 -07:00
|
|
|
EAPI void *e_modapi_init (E_Module *m);
|
2006-05-09 06:02:48 -07:00
|
|
|
EAPI int e_modapi_shutdown (E_Module *m);
|
|
|
|
EAPI int e_modapi_save (E_Module *m);
|
2004-11-26 02:53:38 -08:00
|
|
|
|
2011-06-05 00:42:10 -07:00
|
|
|
typedef struct _Config Config;
|
|
|
|
|
|
|
|
struct _Config
|
|
|
|
{
|
|
|
|
struct {
|
|
|
|
int start, len; // 0->6 0 == sun, 6 == sat, number of days
|
|
|
|
} weekend;
|
|
|
|
struct {
|
|
|
|
int start; // 0->6 0 == sun, 6 == sat
|
|
|
|
} week;
|
|
|
|
int digital_clock;
|
|
|
|
int digital_24h;
|
|
|
|
int show_seconds;
|
|
|
|
};
|
|
|
|
|
|
|
|
extern E_Module *clock_module;
|
|
|
|
extern E_Config_Dialog *clock_config;
|
|
|
|
extern Config *clock_cfg;
|
|
|
|
|
|
|
|
E_Config_Dialog *e_int_config_clock_module(E_Container *con, const char *params);
|
|
|
|
void e_int_clock_instances_redo(void);
|
|
|
|
|
2004-11-26 02:53:38 -08:00
|
|
|
#endif
|