e_client: rearrange the symbols in e_client.h 70/325670/1
authorSooChan Lim <sc1.lim@samsung.com>
Wed, 11 Jun 2025 09:26:47 +0000 (18:26 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Fri, 13 Jun 2025 06:34:30 +0000 (15:34 +0900)
Change-Id: I34b1802aa754701777e58b56428055043639db58

src/include/e_client.h

index 63904b7d7df13e6c9755d329049556500a5cb75c..b9711576e768960db710565cabd18ca852dc4740 100644 (file)
@@ -15,15 +15,32 @@ extern "C" {
 #include <Ecore.h>
 #include <Evas.h>
 
+#define E_CLIENT_TYPE (int)0xE0b01002
+#define EC_CHANGED(EC) \
+  e_client_changed_set(EC, EINA_TRUE)
+#define E_CLIENT_FOREACH(EC) \
+  for (EC = e_client_bottom_get(); EC; EC = e_client_above_get(EC))
+#define E_CLIENT_REVERSE_FOREACH(EC) \
+  for (EC = e_client_top_get(); EC; EC = e_client_below_get(EC))
+
 typedef struct E_Event_Client E_Event_Client;
 typedef struct _E_Event_Client_Property E_Event_Client_Property;
 typedef struct _E_Event_Client_Focus_Skip E_Event_Client_Focus_Skip_Set;
 typedef struct _E_Event_Client_Focus_Skip E_Event_Client_Focus_Skip_Unset;
 typedef struct E_Event_Client_Zone_Set E_Event_Client_Zone_Set;
 typedef struct E_Event_Client_Desk_Set E_Event_Client_Desk_Set;
+typedef struct E_Event_Client E_Event_Client_Rotation_Change_Begin;
+typedef struct E_Event_Client E_Event_Client_Rotation_Change_Cancel;
+typedef struct E_Event_Client E_Event_Client_Rotation_Change_End;
+typedef struct _E_Event_Client_Rotation_Geometry_Set E_Event_Client_Rotation_Geometry_Set;
 
 typedef struct _E_Client_Intercept_Hook E_Client_Intercept_Hook;
 
+E_DEPRECATED typedef void (*E_Client_Move_Intercept_Cb)(E_Client *, int x, int y);
+typedef void (*E_Client_Hook_Cb)(void *data, E_Client *ec);
+typedef Eina_Bool (*E_Client_Intercept_Hook_Cb)(void *data, E_Client *ec);
+E_DEPRECATED typedef Evas_Object* (*E_Client_Resize_Object_Create_Cb)(E_Client *ec);
+
 typedef enum _E_Focus_Policy_Ext
 {
    E_FOCUS_EXT_TOP_STACK,
@@ -123,11 +140,6 @@ typedef enum _E_Aot_Type
    E_AOT_TYPE_LAUNCHER,
 } E_Aot_Type;
 
-typedef struct E_Event_Client E_Event_Client_Rotation_Change_Begin;
-typedef struct E_Event_Client E_Event_Client_Rotation_Change_Cancel;
-typedef struct E_Event_Client E_Event_Client_Rotation_Change_End;
-typedef struct _E_Event_Client_Rotation_Geometry_Set E_Event_Client_Rotation_Geometry_Set;
-
 typedef enum _E_Client_Hook_Point
 {
    E_CLIENT_HOOK_EVAL_PRE_FETCH,
@@ -174,13 +186,6 @@ typedef enum _E_Client_Intercept_Hook_Point
    E_CLIENT_INTERCEPT_HOOK_LAST,
 } E_Client_Intercept_Hook_Point;
 
-E_DEPRECATED typedef void (*E_Client_Move_Intercept_Cb)(E_Client *, int x, int y);
-typedef void (*E_Client_Hook_Cb)(void *data, E_Client *ec);
-typedef Eina_Bool (*E_Client_Intercept_Hook_Cb)(void *data, E_Client *ec);
-E_DEPRECATED typedef Evas_Object* (*E_Client_Resize_Object_Create_Cb)(E_Client *ec);
-
-#define E_CLIENT_TYPE (int)0xE0b01002
-
 struct E_Event_Client
 {
    E_Client *ec;
@@ -235,15 +240,6 @@ struct _E_Event_Client_Rotation_Geometry_Set
    int x, y, w, h;
 };
 
-#define EC_CHANGED(EC) e_client_changed_set(EC, EINA_TRUE)
-
-#define E_CLIENT_FOREACH(EC) \
-  for (EC = e_client_bottom_get(); EC; EC = e_client_above_get(EC))
-
-#define E_CLIENT_REVERSE_FOREACH(EC) \
-  for (EC = e_client_top_get(); EC; EC = e_client_below_get(EC))
-
-
 E_API extern int E_EVENT_CLIENT_ADD;
 E_API extern int E_EVENT_CLIENT_REMOVE;
 E_API extern int E_EVENT_CLIENT_ZONE_SET;