e_keyrouter: Transfer struct definition to e_keyrouter_intern.h 45/324045/1
authorTaeHyeon Jeong <thyeon.jeong@samsung.com>
Mon, 12 May 2025 08:02:59 +0000 (17:02 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Mon, 12 May 2025 11:38:56 +0000 (20:38 +0900)
- _E_Keyrouter_Key_List_Node
- _E_Keyrouter_Grabbed_Key
- _E_Keyrouter_Event_Data
- _E_Keyrouter_Info

Change-Id: Ied3a748eab577fb88099cb57a08307c821761418

src/bin/inputmgr/e_keyrouter_intern.h
src/include/e_keyrouter.h

index 1823e982956d131b79da67fac2f650fde9379217..a838eed680cc28402378e36f3a60083161198a0c 100644 (file)
@@ -9,6 +9,47 @@
 #define TIZEN_KEYROUTER_MODE_PRESSED        TIZEN_KEYROUTER_MODE_REGISTERED+1
 #define TIZEN_KEYROUTER_MODE_PICTURE_OFF        TIZEN_KEYROUTER_MODE_REGISTERED+2
 
+struct _E_Keyrouter_Key_List_Node
+{
+   struct wl_resource *surface;
+   struct wl_client *wc;
+   Eina_Bool focused;
+   E_Keyrouter_Client_Status status;
+};
+
+struct _E_Keyrouter_Grabbed_Key
+{
+   int keycode;
+   Eina_Stringshare *keyname;
+   Eina_Bool no_privcheck;
+   Eina_Bool repeat;
+
+   Eina_List *excl_ptr;
+   Eina_List *or_excl_ptr;
+   Eina_List *top_ptr;
+   Eina_List *shared_ptr;
+   Eina_List *press_ptr;
+   Eina_List *pic_off_ptr;
+};
+
+struct _E_Keyrouter_Event_Data
+{
+   struct wl_client *client;
+   struct wl_resource *surface;
+
+   int mode;
+
+   Eina_Bool ignored;
+
+   void *data;
+};
+
+E_DEPRECATED struct _E_Keyrouter_Info
+{
+   void *(*keygrab_list_get)(void);
+   int (*max_keycode_get)(void);
+};
+
 typedef struct _E_Keyrouter E_Keyrouter;
 
 typedef enum {
index c26f9685ed16d1e981e83c2288d0e82ed880484d..95d3fea7a716d92aa41dedda6f677c38bcd170fc 100644 (file)
@@ -27,47 +27,6 @@ typedef enum _E_Keyrouter_Intercept_Hook_Point
 
 typedef Eina_Bool (*E_Keyrouter_Intercept_Hook_Cb) (void *data, int type, Ecore_Event_Key *event);
 
-struct _E_Keyrouter_Grabbed_Key
-{
-   int keycode;
-   Eina_Stringshare *keyname;
-   Eina_Bool no_privcheck;
-   Eina_Bool repeat;
-
-   Eina_List *excl_ptr;
-   Eina_List *or_excl_ptr;
-   Eina_List *top_ptr;
-   Eina_List *shared_ptr;
-   Eina_List *press_ptr;
-   Eina_List *pic_off_ptr;
-};
-
-struct _E_Keyrouter_Event_Data
-{
-   struct wl_client *client;
-   struct wl_resource *surface;
-
-   int mode;
-
-   Eina_Bool ignored;
-
-   void *data;
-};
-
-struct _E_Keyrouter_Key_List_Node
-{
-   struct wl_resource *surface;
-   struct wl_client *wc;
-   Eina_Bool focused;
-   E_Keyrouter_Client_Status status;
-};
-
-E_DEPRECATED struct _E_Keyrouter_Info
-{
-   void *(*keygrab_list_get)(void);
-   int (*max_keycode_get)(void);
-};
-
 extern E_API E_Keyrouter_Info e_keyrouter;
 
 E_API E_Keyrouter_Intercept_Hook *e_keyrouter_intercept_hook_add(E_Keyrouter_Intercept_Hook_Point hookpoint, E_Keyrouter_Intercept_Hook_Cb func, const void *data);