summaryrefslogtreecommitdiff
path: root/src/modules/physics/e_mod_main.h
blob: e2aaa0723670ea684befc54f1fcab35db016c3ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef E_MOD_MAIN_H
#define E_MOD_MAIN_H

#include "e_mod_physics_cfdata.h"

typedef struct _Mod    Mod;

struct _Mod
{
   E_Module        *module;

   E_Config_DD     *conf_edd;
   E_Config_DD     *conf_match_edd;
   Config          *conf;

   E_Config_Dialog *config_dialog;
};

extern Mod *_physics_mod;

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);
EAPI int   e_modapi_info(E_Module *m);

void       _e_mod_config_new(E_Module *m);
void       _e_mod_config_free(E_Module *m);

E_Config_Dialog *e_int_config_physics_module(E_Container *con, const char *params __UNUSED__);

#endif