Remove other definitions at files except for e.h file.
Change-Id: If7ccbdc2a39ba1138add4682e425c9e88630effe
} \
while (0)
+#define E_COMP_OBJECT_INTERCEPT_HOOK_APPEND(list, type, callback, data) \
+ do \
+ { \
+ E_Comp_Object_Intercept_Hook *_coih; \
+ _coih = e_comp_object_intercept_hook_add(type, callback, data); \
+ assert(_coih); \
+ list = eina_list_append(list, _coih); \
+ } \
+ while (0)
+
# define E_CLAMP(x, min, max) (x < min ? min : (x > max ? max : x))
# define E_RECTS_CLIP_TO_RECT(_x, _y, _w, _h, _cx, _cy, _cw, _ch) \
{ \
#include <wayland-server.h>
#include <tizen-extension-server-protocol.h>
-#undef E_COMP_OBJECT_INTERCEPT_HOOK_APPEND
-#define E_COMP_OBJECT_INTERCEPT_HOOK_APPEND(l, t, cb, d) \
- do \
- { \
- E_Comp_Object_Intercept_Hook *_h; \
- _h = e_comp_object_intercept_hook_add(t, cb, d); \
- assert(_h); \
- l = eina_list_append(l, _h); \
- } \
- while (0)
-
typedef enum
{
CONFORMANT_TYPE_INDICATOR = 0,
#define VS_ERR(ec, f, x...) \
ERR("VISIBILITY | "f" | '%s'(win:0x%08zx, ec:%p) RscID %d", ##x, ec ? NAME(ec) : "", e_client_util_win_get(ec), ec, ec ? e_pixmap_res_id_get(ec->pixmap) : 0)
-#undef E_COMP_OBJECT_INTERCEPT_HOOK_APPEND
-#define E_COMP_OBJECT_INTERCEPT_HOOK_APPEND(l, t, cb, d) \
- do \
- { \
- E_Comp_Object_Intercept_Hook *_h; \
- _h = e_comp_object_intercept_hook_add(t, cb, d); \
- assert(_h); \
- l = eina_list_append(l, _h); \
- } while (0)
-
#define E_VIS_ALLOC_RET(ptr, type, size) \
type *ptr; \
ptr = E_NEW(type, size); \
} \
while (0)
-#undef E_COMP_OBJECT_INTERCEPT_HOOK_APPEND
-#define E_COMP_OBJECT_INTERCEPT_HOOK_APPEND(l, t, cb, d) \
- do \
- { \
- E_Comp_Object_Intercept_Hook *_h; \
- _h = e_comp_object_intercept_hook_add(t, cb, d); \
- assert(_h); \
- l = eina_list_append(l, _h); \
- } \
- while (0)
-
Eina_Bool
e_policy_wl_init(void)
{
} \
while (0)
-#undef E_COMP_OBJECT_INTERCEPT_HOOK_APPEND
-#define E_COMP_OBJECT_INTERCEPT_HOOK_APPEND(l, t, cb, d) \
- do \
- { \
- E_Comp_Object_Intercept_Hook *_h; \
- _h = e_comp_object_intercept_hook_add(t, cb, d); \
- assert(_h); \
- l = eina_list_append(l, _h); \
- } \
- while (0)
-
/* NOTE: supported single client for cbhm for now. */
EINTERN void
e_service_cbhm_client_set(E_Client *ec)
} \
while (0)
-#undef E_COMP_OBJECT_INTERCEPT_HOOK_APPEND
-#define E_COMP_OBJECT_INTERCEPT_HOOK_APPEND(l, t, cb, d) \
- do \
- { \
- E_Comp_Object_Intercept_Hook *_h; \
- _h = e_comp_object_intercept_hook_add(t, cb, d); \
- assert(_h); \
- l = eina_list_append(l, _h); \
- } \
- while (0)
-
/* window for quickpanel service */
EINTERN void
e_service_quickpanel_client_add(E_Client *ec, E_Service_Quickpanel_Type type)
return handler_obj;
}
-#undef E_COMP_OBJECT_INTERCEPT_HOOK_APPEND
-#define E_COMP_OBJECT_INTERCEPT_HOOK_APPEND(l, t, cb, d) \
- do \
- { \
- E_Comp_Object_Intercept_Hook *_h; \
- _h = e_comp_object_intercept_hook_add(t, cb, d); \
- assert(_h); \
- l = eina_list_append(l, _h); \
- } \
- while (0)
-
EINTERN void
e_service_softkey_client_set(E_Client *ec)
{