blob: af889a73f634256820201adba8f265da70eba703 (
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
80
81
|
#ifndef E_MOD_MAIN_H
#define E_MOD_MAIN_H
#include "e.h"
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);
typedef struct _Instance Instance;
typedef struct _Context_Notifier_Host Context_Notifier_Host;
typedef struct _Instance_Notifier_Host Instance_Notifier_Host;
typedef struct _Notifier_Item Notifier_Item;
typedef struct _Systray_Context Systray_Context;
typedef struct _E_Config_Dialog_Data Systray_Config;
struct _E_Config_Dialog_Data
{
};
struct _Systray_Context
{
Systray_Config *config;
E_Config_DD *conf_edd;
};
struct _Instance
{
E_Gadcon_Client *gcc;
E_Comp *comp;
Evas *evas;
Instance_Notifier_Host *notifier;
struct
{
Evas_Object *gadget;
} ui;
struct
{
Ecore_Job *size_apply;
} job;
};
E_Gadcon_Orient systray_orient_get(const Instance *inst);
const E_Gadcon *systray_gadcon_get(const Instance *inst);
E_Gadcon_Client *systray_gadcon_client_get(const Instance *inst);
const char *systray_style_get(const Instance *inst);
void systray_size_updated(Instance *inst);
Evas *systray_evas_get(const Instance *inst);
Evas_Object *systray_edje_get(const Instance *inst);
const Evas_Object *systray_box_get(const Instance *inst);
void systray_edje_box_append(const Instance *inst, Evas_Object *child);
void systray_edje_box_remove(const Instance *inst, Evas_Object *child);
void systray_edje_box_prepend(const Instance *inst, Evas_Object *child);
int systray_manager_number_get(const Instance *inst);
Ecore_X_Window systray_root_get(const Instance *inst);
Instance_Notifier_Host *systray_notifier_host_new(Instance *inst, E_Gadcon *gadcon);
void systray_notifier_host_free(Instance_Notifier_Host *notifier);
void systray_notifier_host_init(void);
void systray_notifier_host_shutdown(void);
EINTERN Systray_Context *systray_ctx_get(void);
extern Instance *instance;
/**
* @addtogroup Optional_Gadgets
* @{
*
* @defgroup Module_Systray Systray (System Icons Tray)
*
* Shows system icons in a box.
*
* The icons come from the FreeDesktop.Org systray specification.
*
* @see http://standards.freedesktop.org/systemtray-spec/systemtray-spec-latest.html
* @}
*/
#endif
|