2007-08-05 01:07:39 -07:00
|
|
|
#ifndef E_MOD_MAIN_H
|
|
|
|
#define E_MOD_MAIN_H
|
|
|
|
|
|
|
|
#define E_TYPEDEFS 1
|
|
|
|
#include "e_conf.h"
|
|
|
|
|
|
|
|
#undef E_TYPEDEFS
|
|
|
|
#include "e_conf.h"
|
|
|
|
|
2010-02-27 09:04:55 -08:00
|
|
|
#define MOD_CONFIG_FILE_EPOCH 0x0001
|
|
|
|
#define MOD_CONFIG_FILE_GENERATION 0x008d
|
|
|
|
#define MOD_CONFIG_FILE_VERSION \
|
|
|
|
((MOD_CONFIG_FILE_EPOCH << 16) | MOD_CONFIG_FILE_GENERATION)
|
|
|
|
|
|
|
|
typedef struct _Config Config;
|
|
|
|
struct _Config
|
|
|
|
{
|
|
|
|
E_Module *module;
|
|
|
|
E_Config_Dialog *cfd;
|
|
|
|
E_Int_Menu_Augmentation *aug;
|
|
|
|
int version;
|
|
|
|
int menu_augmentation;
|
|
|
|
};
|
2007-08-05 01:07:39 -07:00
|
|
|
|
|
|
|
EAPI extern E_Module_Api e_modapi;
|
|
|
|
|
|
|
|
EAPI void *e_modapi_init (E_Module *m);
|
|
|
|
EAPI int e_modapi_shutdown (E_Module *m);
|
|
|
|
EAPI int e_modapi_save (E_Module *m);
|
|
|
|
|
2010-02-27 09:04:55 -08:00
|
|
|
E_Config_Dialog *e_int_config_conf_module(E_Container *con, const char *params);
|
|
|
|
void e_mod_config_menu_add(void *data, E_Menu *m);
|
|
|
|
|
|
|
|
extern Config *conf;
|
|
|
|
|
2007-08-05 01:07:39 -07:00
|
|
|
#endif
|