49 lines
994 B
C
49 lines
994 B
C
#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"
|
|
|
|
#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;
|
|
};
|
|
|
|
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);
|
|
|
|
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;
|
|
|
|
/**
|
|
* @addtogroup Optional_Conf
|
|
* @{
|
|
*
|
|
* @defgroup Module_Conf Main Configuration Dialog
|
|
*
|
|
* Show the main configuration dialog used to access other
|
|
* configuration.
|
|
*
|
|
* @}
|
|
*/
|
|
|
|
#endif
|