blob: e3392755e728016e8f5d8c31a18ee3260e0a2d9c (
plain)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
#ifndef E_MOD_MAIN_H
#define E_MOD_MAIN_H
#include <e.h>
#include "E_Connman.h"
#define AGENT_PATH "/org/enlightenment/connman/agent"
#define MOD_CONF_VERSION 3
extern E_Module *connman_mod;
extern int _e_connman_log_dom;
typedef struct E_Connman_Instance E_Connman_Instance;
typedef struct E_Connman_Module_Context E_Connman_Module_Context;
struct E_Connman_Instance
{
E_Connman_Module_Context *ctxt;
E_Gadcon_Client *gcc;
E_Gadcon_Popup *popup;
struct
{
Evas_Object *gadget;
struct
{
Evas_Object *list;
Evas_Object *powered;
} popup;
} ui;
};
struct E_Connman_Module_Context
{
Eina_List *instances;
E_Config_Dialog *conf_dialog;
struct
{
Ecore_Event_Handler *manager_in;
Ecore_Event_Handler *manager_out;
} event;
struct Connman_Manager *cm;
Eina_Bool offline_mode;
int powered;
};
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);
void econnman_popup_del(E_Connman_Instance *inst);
const char *e_connman_theme_path(void);
E_Config_Dialog *e_connman_config_dialog_new(E_Container *con,
E_Connman_Module_Context *ctxt);
E_Connman_Agent *econnman_agent_new(EDBus_Connection *edbus_conn) EINA_ARG_NONNULL(1);
void econnman_agent_del(E_Connman_Agent *agent);
/**
* @addtogroup Optional_Devices
* @{
*
* @defgroup Module_Connman ConnMan (Connection Manager)
*
* Controls network connections for ethernet, wifi, 3G, GSM and
* bluetooth (PAN).
*
* @see http://connman.net/
* @}
*/
#endif
|