e_view: add E_API visibility 38/324338/1
authorSooChan Lim <sc1.lim@samsung.com>
Thu, 15 May 2025 08:09:56 +0000 (17:09 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Thu, 15 May 2025 12:24:56 +0000 (21:24 +0900)
Change-Id: Ib0920bb3b23633b933d9b0617860ea6e4350f20d

src/include/e_view.h

index 41f6af3457b45c1e6668859a9e70ebebc51a6b9d..dc1cb24b5542be14f35f07aa720bad85e65ff2b5 100644 (file)
@@ -60,38 +60,38 @@ typedef enum {
 /**
  * TODO
 */
-void e_view_destroy(E_View *view);
+E_API void e_view_destroy(E_View *view);
 
 /**
  * TODO
  */
-void e_view_for_each_view(E_View *view, E_View_Iterator_Cb iterator, void *user_data);
+E_API void e_view_for_each_view(E_View *view, E_View_Iterator_Cb iterator, void *user_data);
 
 /**
  * TODO
  */
-void e_view_for_each_view_reverse(E_View *view, E_View_Iterator_Cb iterator, void *user_data);
+E_API void e_view_for_each_view_reverse(E_View *view, E_View_Iterator_Cb iterator, void *user_data);
 
 /**
  * Move the view to another location in the tree.
  */
-void e_view_reparent(E_View *view, E_View_Tree *new_parent);
+E_API void e_view_reparent(E_View *view, E_View_Tree *new_parent);
 
 /**
  * Make the view visible.
  */
-void e_view_show(E_View *view);
+E_API void e_view_show(E_View *view);
 
 /**
  * Make the view invisible. All of its children are implicitly invisible as
  * well.
  */
-void e_view_hide(E_View *view);
+E_API void e_view_hide(E_View *view);
 
 /**
  * Retrieves whether or not the given E_View is visible.
  */
-bool e_view_visible_get(E_View *view);
+E_API bool e_view_visible_get(E_View *view);
 
 /**
  * Set the position of the view relative to its parent.
@@ -99,7 +99,7 @@ bool e_view_visible_get(E_View *view);
  * @param[in] x Integer X coordinate to set to
  * @param[in] y Integer Y coordinate to set to
  */
-void e_view_position_set(E_View *view, int x, int y);
+E_API void e_view_position_set(E_View *view, int x, int y);
 
 /**
  * Retrieve the position of the given E_View.
@@ -108,7 +108,7 @@ void e_view_position_set(E_View *view, int x, int y);
  * @param[out] x Integer pointer to store the X coordinate of E_View.
  * @param[out] y Integer pointer to store the Y coordinate of E_View.
  */
-void e_view_position_get(E_View *view, int *x, int *y);
+E_API void e_view_position_get(E_View *view, int *x, int *y);
 
 /**
  * Retrieve the local coordinates of the given E_View.
@@ -118,29 +118,29 @@ void e_view_position_get(E_View *view, int *x, int *y);
  * @param[out] lx Integer pointer to store the X local coordinate of E_View.
  * @param[out] ly Integer pointer to store the Y local coordinate of E_View.
 */
-void e_view_coords_get(E_View *view, int *lx, int *ly);
+E_API void e_view_coords_get(E_View *view, int *lx, int *ly);
 
 /**
  * Move the view right above the specified sibling.
  * Asserts that view and sibling are distinct and share the same parent.
  */
-void e_view_place_above(E_View *view, E_View *sibling);
+E_API void e_view_place_above(E_View *view, E_View *sibling);
 
 /**
  * Move the view right below the specified sibling.
  * Asserts that view and sibling are distinct and share the same parent.
  */
-void e_view_place_below(E_View *view, E_View *sibling);
+E_API void e_view_place_below(E_View *view, E_View *sibling);
 
 /**
  * Move the view above all of its sibling views.
  */
-void e_view_raise_to_top(E_View *view);
+E_API void e_view_raise_to_top(E_View *view);
 
 /**
  * Move the view below all of its sibling views.
  */
-void e_view_lower_to_bottom(E_View *view);
+E_API void e_view_lower_to_bottom(E_View *view);
 
 /**
  * Get the view stacked right above given view.
@@ -164,7 +164,7 @@ E_View_Render_Op e_view_render_op_get(E_View *view);
  *
  * @param[in] render_op Enum value which is one of the E_View_Render_Op.
 */
-void e_view_render_op_set(E_View *view, E_View_Render_Op render_op);
+E_API void e_view_render_op_set(E_View *view, E_View_Render_Op render_op);
 
 /**
  * Set the color of the given E_View to the given one.
@@ -174,7 +174,7 @@ void e_view_render_op_set(E_View *view, E_View_Render_Op render_op);
  * @param[in] b The blue component of the given color.
  * @param[in] a The alpha component of the given color.
 */
-void e_view_color_set(E_View *view, int r, int g, int b, int a);
+E_API void e_view_color_set(E_View *view, int r, int g, int b, int a);
 
 /**
  * Retrieves the color of the given E_View.
@@ -184,7 +184,7 @@ void e_view_color_set(E_View *view, int r, int g, int b, int a);
  * @param[out] b The blue component of the given color.
  * @param[out] a The alpha component of the given color.
 */
-void e_view_color_get(E_View *view, int *r, int *g, int *b, int *a);
+E_API void e_view_color_get(E_View *view, int *r, int *g, int *b, int *a);
 
 /**
  * Set user data to E_View with the given string key.
@@ -193,7 +193,7 @@ void e_view_color_get(E_View *view, int *r, int *g, int *b, int *a);
  * @param[in] key The string key for the data to access it
  * @param[in] data The pointer to the data to be attached
 */
-void e_view_data_set(E_View *view, const char *key, const void *data);
+E_API void e_view_data_set(E_View *view, const char *key, const void *data);
 
 /**
  * Return an attached data pointer on E_View object by its given
@@ -224,14 +224,14 @@ void *e_view_data_del(E_View *view, const char *key);
  * @param[in] view The E_View object
  * @param[in] clip The E_View object to clip @c view by
 */
-void e_view_clip_set(E_View *view, E_View *clip);
+E_API void e_view_clip_set(E_View *view, E_View *clip);
 
 /**
  * Disable/cease clipping on a clipped @c view object.
  *
  * @param[in] view The E_View object to disable clipping
 */
-void e_view_clip_unset(E_View *view);
+E_API void e_view_clip_unset(E_View *view);
 
 /**
  * Get current E_View transformation map.
@@ -241,14 +241,14 @@ E_Map *e_view_map_get(E_View *view);
 /**
  * Set current E_View transformation map.
  */
-void e_view_map_set(E_View *view, E_Map *map);
+E_API void e_view_map_set(E_View *view, E_Map *map);
 
 /**
  * Enable or disable the use of map for the E_View object @c view.
  *
  * @param[in] enabled bool to set state
 */
-void e_view_map_enable_set(E_View *view, bool enabled);
+E_API void e_view_map_enable_set(E_View *view, bool enabled);
 
 /**
  * Return bool to check whether the E_View object
@@ -256,7 +256,7 @@ void e_view_map_enable_set(E_View *view, bool enabled);
  *
  * @param[in] view The E_View object
 */
-bool e_view_map_enable_get(const E_View *view);
+E_API bool e_view_map_enable_get(const E_View *view);
 
 /**
  * Set whether an E_View object is to freeze (discard) events.
@@ -266,7 +266,7 @@ bool e_view_map_enable_get(const E_View *view);
  *
  * @param[in] freeze bool determining whether to freeze events
 */
-void e_view_freeze_events_set(E_View *view, bool freeze);
+E_API void e_view_freeze_events_set(E_View *view, bool freeze);
 
 /**
  * Set whether an Evas object is to repeat events.
@@ -278,24 +278,24 @@ void e_view_freeze_events_set(E_View *view, bool freeze);
  *
  * @param[in] repeat bool determining whether to repeat events
 */
-void e_view_repeat_events_set(E_View *view, bool repeat);
+E_API void e_view_repeat_events_set(E_View *view, bool repeat);
 
 /**
  * Set the name of the given E_View object
  *
  * @param[in] name The string to set @c view 's name
 */
-void e_view_name_set(E_View *view, const char *name);
+E_API void e_view_name_set(E_View *view, const char *name);
 
 /**
  * Get the name of the given E_View object
 */
-const char *e_view_name_get(const E_View *view);
+E_API const char *e_view_name_get(const E_View *view);
 
 /**
  * Get a parent E_View_Tree instance from a given E_View
  */
-E_View_Tree *e_view_parent_get(E_View *view);
+E_API E_View_Tree *e_view_parent_get(E_View *view);
 
 typedef enum
 {
@@ -326,7 +326,7 @@ typedef struct
  *
  * @see e_view_event_callback_del
 */
-void e_view_event_listener_add(E_View *view, E_View_Event_Type type, struct wl_listener *listener);
+E_API void e_view_event_listener_add(E_View *view, E_View_Event_Type type, struct wl_listener *listener);
 
 /**
  * Delete (unregister) a listener function from a given E_View.
@@ -337,17 +337,17 @@ void e_view_event_listener_add(E_View *view, E_View_Event_Type type, struct wl_l
  *  e_view_event_listener_del should be called before the memory of the structure
  * that contains @c listener is freed.
 */
-void e_view_event_listener_del(E_View *view, E_View_Event_Type type, struct wl_listener *listener);
+E_API void e_view_event_listener_del(E_View *view, E_View_Event_Type type, struct wl_listener *listener);
 
 /**
  * Set pass_events to E_View
  */
-void e_view_pass_events_set(E_View *view, bool set);
+E_API void e_view_pass_events_set(E_View *view, bool set);
 
 /**
  * Get pass_events from E_View
  */
-bool e_view_pass_events_get(E_View *view);
+E_API bool e_view_pass_events_get(E_View *view);
 
 ////////////////////////////////////////////////////////////////////////////////////////////////
 //// view_tree
@@ -356,17 +356,17 @@ bool e_view_pass_events_get(E_View *view);
 /**
  * TODO
  */
-E_View_Tree *e_view_tree_try_from_view(E_View *view);
+E_API E_View_Tree *e_view_tree_try_from_view(E_View *view);
 
 /**
  * TODO
  */
-E_View *e_view_tree_view_get(E_View_Tree *tree);
+E_API E_View *e_view_tree_view_get(E_View_Tree *tree);
 
 /**
  * TODO
  */
-E_Canvas_Layer e_view_layer_index_get(E_View *view);
+E_API E_Canvas_Layer e_view_layer_index_get(E_View *view);
 
 #ifdef  __cplusplus
 }