summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_sys_notify_interface_eo.c
blob: febf76279b0f71108a3a20cfbce42fbec5dc2508 (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
EOAPI EFL_VOID_FUNC_BODYV_CONST(elm_obj_sys_notify_interface_send, EFL_FUNC_CALL(replaces_id, icon, summary, body, urgency, timeout, cb, cb_data), unsigned int replaces_id, const char *icon, const char *summary, const char *body, Elm_Sys_Notify_Urgency urgency, int timeout, Elm_Sys_Notify_Send_Cb cb, const void *cb_data);
EOAPI EFL_VOID_FUNC_BODYV_CONST(elm_obj_sys_notify_interface_simple_send, EFL_FUNC_CALL(icon, summary, body), const char *icon, const char *summary, const char *body);
EOAPI EFL_VOID_FUNC_BODYV_CONST(elm_obj_sys_notify_interface_close, EFL_FUNC_CALL(id), unsigned int id);

static Eina_Bool
_elm_sys_notify_interface_class_initializer(Efl_Class *klass)
{
   const Efl_Object_Ops *opsp = NULL;

   const Efl_Object_Property_Reflection_Ops *ropsp = NULL;

#ifndef ELM_SYS_NOTIFY_INTERFACE_EXTRA_OPS
#define ELM_SYS_NOTIFY_INTERFACE_EXTRA_OPS
#endif

   EFL_OPS_DEFINE(ops,
      EFL_OBJECT_OP_FUNC(elm_obj_sys_notify_interface_send, NULL),
      EFL_OBJECT_OP_FUNC(elm_obj_sys_notify_interface_simple_send, NULL),
      EFL_OBJECT_OP_FUNC(elm_obj_sys_notify_interface_close, NULL),
      ELM_SYS_NOTIFY_INTERFACE_EXTRA_OPS
   );
   opsp = &ops;

   return efl_class_functions_set(klass, opsp, ropsp);
}

static const Efl_Class_Description _elm_sys_notify_interface_class_desc = {
   EO_VERSION,
   "Elm.Sys_Notify_Interface",
   EFL_CLASS_TYPE_INTERFACE,
   0,
   _elm_sys_notify_interface_class_initializer,
   NULL,
   NULL
};

EFL_DEFINE_CLASS(elm_sys_notify_interface_interface_get, &_elm_sys_notify_interface_class_desc, NULL, NULL);

#include "elm_sys_notify_interface_eo.legacy.c"