e_pointer: move the symbols to internal files 94/325694/1
authorSooChan Lim <sc1.lim@samsung.com>
Thu, 12 Jun 2025 09:05:16 +0000 (18:05 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Fri, 13 Jun 2025 06:34:31 +0000 (15:34 +0900)
Change-Id: I7e1120740a2580cf194c57cc32c586ae5098deeb

src/bin/windowmgr/e_pointer.c
src/bin/windowmgr/e_pointer_intern.h
src/include/e_pointer.h

index fe9886f86d170986e114e49f463167c5aa85c170..7bfd65cbc85fa7c02ba6f8f2ad3f1b81325e2c3e 100644 (file)
@@ -29,6 +29,16 @@ static Eina_Inlist *_e_pointer_hooks[] =
    [E_POINTER_HOOK_HIDE] = NULL,
 };
 
+struct _E_Pointer_Hook
+{
+   EINA_INLIST;
+   E_Pointer_Hook_Point hookpoint;
+   E_Pointer_Hook_Cb func;
+   void *data;
+   unsigned char delete_me : 1;
+};
+
+
 static void
 _e_pointer_configured_output_resolution_ratio_get(E_Client *ec, double *ratio)
 {
index 06a45a8ed53aeff6d6ef0b0331cfeac7ca1199e7..524c732aeb0b22f985dd6089dafc784af60af191 100644 (file)
@@ -7,6 +7,28 @@
 
 #define E_POINTER_TYPE 0xE0b01013
 
+typedef enum
+{
+   /* These are compatible with netwm */
+   E_POINTER_RESIZE_TL = 0,
+   E_POINTER_RESIZE_T = 1,
+   E_POINTER_RESIZE_TR = 2,
+   E_POINTER_RESIZE_R = 3,
+   E_POINTER_RESIZE_BR = 4,
+   E_POINTER_RESIZE_B = 5,
+   E_POINTER_RESIZE_BL = 6,
+   E_POINTER_RESIZE_L = 7,
+   E_POINTER_MOVE = 8,
+   E_POINTER_RESIZE_NONE = 11
+} E_Pointer_Mode;
+
+typedef enum
+{
+   E_POINTER_NONE = 0,
+   E_POINTER_MOUSE = 1,
+   E_POINTER_TOUCH = 2
+} E_Pointer_Device;
+
 struct _E_Pointer
 {
    E_Object e_obj_inherit;
index b5df0aba055cea7f11e5160226da467ae2f14a4e..22c84b4f40b0cc7306fa729dae3989f6416f34b4 100644 (file)
@@ -6,40 +6,12 @@ extern "C" {
 #endif
 
 #include <e_types.h>
-#include <e_object.h>
-
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include <e_view_client.h>
 
 typedef struct _E_Pointer E_Pointer;
 typedef struct _E_Pointer_Hook E_Pointer_Hook;
 
 typedef void (*E_Pointer_Hook_Cb)(void *data, E_Pointer *ptr);
 
-typedef enum
-{
-   /* These are compatible with netwm */
-   E_POINTER_RESIZE_TL = 0,
-   E_POINTER_RESIZE_T = 1,
-   E_POINTER_RESIZE_TR = 2,
-   E_POINTER_RESIZE_R = 3,
-   E_POINTER_RESIZE_BR = 4,
-   E_POINTER_RESIZE_B = 5,
-   E_POINTER_RESIZE_BL = 6,
-   E_POINTER_RESIZE_L = 7,
-   E_POINTER_MOVE = 8,
-   E_POINTER_RESIZE_NONE = 11
-} E_Pointer_Mode;
-
-typedef enum
-{
-   E_POINTER_NONE = 0,
-   E_POINTER_MOUSE = 1,
-   E_POINTER_TOUCH = 2
-} E_Pointer_Device;
-
 typedef enum _E_Pointer_Hook_Point
 {
    E_POINTER_HOOK_TOUCH_MOVE,
@@ -49,15 +21,6 @@ typedef enum _E_Pointer_Hook_Point
    E_POINTER_HOOK_LAST,
 } E_Pointer_Hook_Point;
 
-struct _E_Pointer_Hook
-{
-   EINA_INLIST;
-   E_Pointer_Hook_Point hookpoint;
-   E_Pointer_Hook_Cb func;
-   void *data;
-   unsigned char delete_me : 1;
-};
-
 E_API void       e_pointer_mouse_move(E_Pointer *ptr, int x, int y);
 E_API Eina_Bool  e_pointer_is_hidden(E_Pointer *ptr);
 E_API void       e_pointer_rotation_set(E_Pointer *ptr, int rotation);