e_map: make an internal header 98/304998/1
authorSooChan Lim <sc1.lim@samsung.com>
Fri, 19 Jan 2024 08:03:37 +0000 (17:03 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Fri, 26 Jan 2024 00:59:21 +0000 (09:59 +0900)
Move the internal resources and the function declaration
to the internal header

Change-Id: Ibbeba8b34fb46dcb226d06456ddb72fc15a1c79b

src/bin/e_client.c
src/bin/e_comp_object.c
src/bin/e_map.c
src/bin/e_map.h
src/bin/e_map_intern.h [new file with mode: 0644]

index c9dd1e3..8a64509 100644 (file)
@@ -11,6 +11,7 @@
 #include "e_comp_intern.h"
 #include "e_input_intern.h"
 #include "e_policy_intern.h"
+#include "e_map_intern.h"
 
 #define PRI(ec) ((E_Client_Private *)e_object_data_get(E_OBJECT(ec)))
 
index df50366..5e76ed3 100644 (file)
@@ -14,6 +14,7 @@
 #include "e_comp_wl_tbm_intern.h"
 #include "e_comp_intern.h"
 #include "e_pixmap_intern.h"
+#include "e_map_intern.h"
 
 /* data keys:
 
index dd0f965..b875dee 100644 (file)
@@ -1,5 +1,5 @@
 #include "e.h"
-#include "e_map.h"
+#include "e_map_intern.h"
 
 #define E_MAP_INDEX_IN_RANGE(MAP, X) ((X >= 0) && (X < MAP->count))
 
index 6e330c6..8473ce5 100644 (file)
@@ -1,8 +1,8 @@
 #ifdef E_TYPEDEFS
 typedef struct _E_Map E_Map;
 #else
-# ifndef E_MAP_H
-# define E_MAP_H
+#ifndef E_MAP_H
+#define E_MAP_H
 
 /* current Evas_Map is support only four points.
  * So, we're provide e_map_new without count parameter. */
@@ -32,8 +32,5 @@ E_API Eina_Bool        e_map_util_zoom_with_constant_ratio(E_Map *em, double zoo
 E_API Eina_Bool        e_map_util_zoom(E_Map *em, double zoomx, double zoomy, int cx, int cy);
 E_API Eina_Bool        e_map_util_rotate(E_Map *em, int angle, int cx, int cy);
 
-EINTERN Eina_Bool      e_map_set_to_comp_object(E_Map *em, Evas_Object *obj);
-EINTERN E_Map *        e_map_get_from_comp_object(const Evas_Object *obj);
-
-# endif
+#endif
 #endif
diff --git a/src/bin/e_map_intern.h b/src/bin/e_map_intern.h
new file mode 100644 (file)
index 0000000..71370aa
--- /dev/null
@@ -0,0 +1,7 @@
+#ifndef E_MAP_INTERN_H
+#define E_MAP_INTERN_H
+
+EINTERN Eina_Bool  e_map_set_to_comp_object(E_Map *em, Evas_Object *obj);
+EINTERN E_Map     *e_map_get_from_comp_object(const Evas_Object *obj);
+
+#endif