e_devicemgr_relative_motion: make a e_devicemgr_relative_motion_intern.h header 35/321635/1
authorSooChan Lim <sc1.lim@samsung.com>
Tue, 25 Mar 2025 06:17:04 +0000 (15:17 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Wed, 26 Mar 2025 03:43:55 +0000 (12:43 +0900)
move the declaration of e_devicemgr_relative_motion symble from e_devicemgr_intern.h
to e_devicemgr_relative_motion_intern.h file

Change-Id: I7d6448502af27bb7d307ab57cf569f16ef2c28d9

src/bin/inputmgr/e_devicemgr_intern.h
src/bin/inputmgr/e_devicemgr_relative_motion_intern.h [new file with mode: 0644]
src/bin/inputmgr/e_input_evdev.c
src/bin/server/e_devicemgr_wl.c

index 08cd12da6f6be7fbaaf94a63b2a291cb1a5fafb8..a1b9355b1af004a8b680ac4f118bac6ddec6d7ad 100644 (file)
@@ -40,14 +40,10 @@ struct _E_Devicemgr_Intercept_Hook
 EINTERN int e_devicemgr_init(void);
 EINTERN int e_devicemgr_shutdown(void);
 
+EINTERN Eina_Bool e_devicemgr_strcmp(const char *dst, const char *src);
+
 EINTERN E_Devicemgr_Intercept_Hook *e_devicemgr_intercept_hook_add(E_Devicemgr_Intercept_Hook_Point hookpoint, E_Devicemgr_Intercept_Hook_Cb func, const void *data);
 EINTERN void                        e_devicemgr_intercept_hook_del(E_Devicemgr_Intercept_Hook *ch);
 EINTERN Eina_Bool                   e_devicemgr_intercept_hook_call(E_Devicemgr_Intercept_Hook_Point hookpoint, void *event);
 
-EINTERN int       e_devicemgr_relative_motion_grab(struct wl_client *client, struct wl_resource *resource, struct wl_resource *surface, uint32_t boundary);
-EINTERN int       e_devicemgr_relative_motion_ungrab(struct wl_client *client, struct wl_resource *resource, struct wl_resource *surface);
-EINTERN Eina_Bool e_devicemgr_relative_motion_is_grabbed(unsigned int boundaries);
-
-EINTERN Eina_Bool e_devicemgr_strcmp(const char *dst, const char *src);
-
 #endif
diff --git a/src/bin/inputmgr/e_devicemgr_relative_motion_intern.h b/src/bin/inputmgr/e_devicemgr_relative_motion_intern.h
new file mode 100644 (file)
index 0000000..f428a3a
--- /dev/null
@@ -0,0 +1,11 @@
+#ifndef E_DEVICEMGR_RELATIVE_MOTION_INTERN_H
+#define E_DEVICEMGR_RELATIVE_MOTION_INTERN_H
+
+#include "e_intern.h"
+#include "e_devicemgr.h"
+
+EINTERN int       e_devicemgr_relative_motion_grab(struct wl_client *client, struct wl_resource *resource, struct wl_resource *surface, uint32_t boundary);
+EINTERN int       e_devicemgr_relative_motion_ungrab(struct wl_client *client, struct wl_resource *resource, struct wl_resource *surface);
+EINTERN Eina_Bool e_devicemgr_relative_motion_is_grabbed(unsigned int boundaries);
+
+#endif
index 55b423c1a7b59fea74e09294069b37eedb665ab7..5a8490dad8a7fddbc8efaf9138083efd8733d1e8 100644 (file)
@@ -13,6 +13,7 @@
 #include "ecore_device_ex_intern.h"
 #include "e_devicemgr_keyboard_grab_intern.h"
 #include "e_devicemgr_input_intern.h"
+#include "e_devicemgr_relative_motion_intern.h"
 
 #include <glib.h>
 #include <ctype.h>
index 0b0942cbafbb21173e9d7793509d6e8ed1829e54..68b69699a5df7bf16e88e5d23ab784400cb9b8cf 100644 (file)
@@ -4,6 +4,7 @@
 #include "e_devicemgr_inputgen_intern.h"
 #include "e_devicemgr_keyboard_grab_intern.h"
 #include "e_devicemgr_input_intern.h"
+#include "e_devicemgr_relative_motion_intern.h"
 #include "e_input_intern.h"
 #include "e_comp_wl_intern.h"
 #include "e_comp_wl_input_intern.h"