e_service_region: make an internal header 19/305019/1
authorSooChan Lim <sc1.lim@samsung.com>
Sun, 21 Jan 2024 00:51:41 +0000 (09:51 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Fri, 26 Jan 2024 00:59:22 +0000 (09:59 +0900)
Move the internal resources and the function declaration
to the internal header

Change-Id: Ie5de89c9f1bdcb346ecf48630c2cb8047aff8e1d

src/bin/Makefile.mk
src/bin/services/e_service_quickpanel.c
src/bin/services/e_service_region.c
src/bin/services/e_service_region_intern.h [moved from src/bin/services/e_service_region.h with 86% similarity]
src/bin/services/e_service_softkey.c

index 557da8d..5d35af8 100644 (file)
@@ -84,7 +84,6 @@ src/bin/e_comp_wl_viewport.h \
 src/bin/e_comp_wl_capture.h \
 src/bin/services/e_service_gesture.h \
 src/bin/services/e_service_quickpanel.h \
-src/bin/services/e_service_region.h \
 src/bin/services/e_service_volume.h \
 src/bin/services/e_service_scrsaver.h \
 src/bin/services/e_service_softkey.h \
index dbba742..e539cda 100644 (file)
@@ -1,7 +1,7 @@
 #include "e.h"
 #include "services/e_service_quickpanel_intern.h"
 #include "services/e_service_gesture.h"
-#include "services/e_service_region.h"
+#include "services/e_service_region_intern.h"
 #include "e_pixmap_intern.h"
 #include "e_policy_intern.h"
 #include "e_policy_wl_intern.h"
index 4d885b1..9ebf24c 100644 (file)
@@ -1,5 +1,5 @@
 #include "e.h"
-#include "services/e_service_region.h"
+#include "services/e_service_region_intern.h"
 
 /* FIXME: temporary use quickpanel to find out ui orientation */
 #include "services/e_service_quickpanel.h"
@@ -20,6 +20,8 @@
 
 #define EO_DATA_KEY  "pol-region"
 
+typedef struct _E_Policy_Region E_Policy_Region;
+
 struct _E_Policy_Region
 {
    Evas_Object        *obj;
similarity index 86%
rename from src/bin/services/e_service_region.h
rename to src/bin/services/e_service_region_intern.h
index 233dc1f..b8f7732 100644 (file)
@@ -1,11 +1,9 @@
-#ifndef E_SERVICE_REGION
-#define E_SERVICE_REGION
+#ifndef E_SERVICE_REGION_INTERN_H
+#define E_SERVICE_REGION_INTERN_H
 
 #include "services/e_service_gesture.h"
 #include "e_policy_private_data.h"
 
-typedef struct _E_Policy_Region E_Policy_Region;
-
 EINTERN Evas_Object        *e_service_region_object_new(E_Client *ec);
 EINTERN Eina_Bool           e_service_region_rectangle_set(Evas_Object *ro, E_Policy_Angle_Map ridx, int x, int y, int w, int h);
 EINTERN Eina_Bool           e_service_region_rectangle_get(Evas_Object *ro, E_Policy_Angle_Map ridx, int *x, int *y, int *w, int *h);
index 1bf0488..2b1a27f 100644 (file)
@@ -2,7 +2,7 @@
 #include <tzsh_server.h>
 #include "services/e_service_softkey.h"
 #include "services/e_service_gesture.h"
-#include "services/e_service_region.h"
+#include "services/e_service_region_intern.h"
 #include "e_policy_intern.h"
 
 #define SOFTKEY_SERVICE_SHOW(softkey_service)                 \