[9.0][location] Remove conditional statements for Mobile/Wearable profile
[platform/core/api/location-manager.git] / include / location_bounds.h
index 6347ca5..85e0f61 100644 (file)
@@ -35,7 +35,7 @@ extern "C" {
 
 /**
  * @brief The structure type to represent coordinates with latitude and longitude.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  */
 typedef struct {
        double latitude; /**< The latitude [-90.0 ~ 90.0] (degrees) */
@@ -45,7 +45,7 @@ typedef struct {
 
 /**
  * @brief Enumeration for error code for Location manager.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  */
 typedef enum {
        LOCATION_BOUNDS_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */
@@ -59,7 +59,7 @@ typedef enum {
 
 /**
  * @brief Enumeration for Location boundary type.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  */
 typedef enum {
        LOCATION_BOUNDS_RECT = 1, /**< Rectangular geographical area type. */
@@ -70,7 +70,7 @@ typedef enum {
 
 /**
  * @brief Enumeration for the boundary state.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  */
 typedef enum {
        LOCATIONS_BOUNDARY_IN, /**< Boundary In (Zone In) */
@@ -80,14 +80,14 @@ typedef enum {
 
 /**
  * @brief The location boundary handle.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  */
 typedef struct location_bounds_s *location_bounds_h;
 
 
 /**
  * @brief Gets called iteratively to notify you of coordinates of a polygon.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @param[in] coords The coordinates
  * @param[in] user_data The user data passed from the foreach function
  * @return @c true to continue with the next iteration of the loop, \n
@@ -100,7 +100,7 @@ typedef bool (*polygon_coords_cb)(location_coords_s coords, void *user_data);
 
 /**
  * @brief Called when the given boundary is entered or exited.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen  2.3
  * @param[in] state The boundary state
  * @param[in] user_data The user data passed from the start function
  * @pre location_manager_start() will invoke this callback if you register this callback using location_bounds_set_state_changed_cb().
@@ -113,7 +113,7 @@ typedef void (*location_bounds_state_changed_cb)(location_boundary_state_e state
 
 /**
  * @brief Creates a rect type of new location bounds.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @remarks You must release @a bounds using location_bounds_destroy().
  * @param[in] top_left The top left position
  * @param[in] bottom_right The bottom right position
@@ -132,7 +132,7 @@ int location_bounds_create_rect(location_coords_s top_left, location_coords_s bo
 
 /**
  * @brief Creates a circle type of new location bounds.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @remarks You must release @a bounds using location_bounds_destroy().
  * @param[in] center The center position
  * @param[in] radius The radius of a circle (meters)
@@ -151,7 +151,7 @@ int location_bounds_create_circle(location_coords_s center, double radius, locat
 
 /**
  * @brief Creates a polygon type of new location bounds.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @remarks You must release @a bounds using location_bounds_destroy().
  * @remarks @a length should be more than @c 3 to represent polygon.
  * @param[in] coords_list The list of coordinates
@@ -171,7 +171,7 @@ int location_bounds_create_polygon(location_coords_s *coords_list, int length, l
 
 /**
  * @brief Checks whether the bounds contains the specified coordinates.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @remarks The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section.
  * @param[in] bounds The location bounds handle
  * @param[in] coords The coordinates
@@ -208,7 +208,7 @@ bool location_bounds_contains_coordinates_on_edge(location_bounds_h bounds, loca
 
 /**
  * @brief Gets the type of location bounds.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @param[in] bounds The location bounds handle
  * @param[out] type The type of location bounds
  * @return @c 0 on success,
@@ -225,7 +225,7 @@ int location_bounds_get_type(location_bounds_h bounds, location_bounds_type_e *t
 
 /**
  * @brief Gets the center position and radius of circle bounds.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @param[in] bounds The location bounds handle
  * @param[out] top_left The top left position
  * @param[out] bottom_right The bottom right position
@@ -242,7 +242,7 @@ int location_bounds_get_rect_coords(location_bounds_h bounds, location_coords_s
 
 /**
  * @brief Gets the center position and radius of circle bounds.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @param[in] bounds The location bounds handle
  * @param[out] center The center position of the circle
  * @param[out] radius The radius of the circle
@@ -259,7 +259,7 @@ int location_bounds_get_circle_coords(location_bounds_h bounds, location_coords_
 
 /**
  * @brief Get the coordinates of a polygon.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @param[in] bounds The location bounds handle
  * @param[in] callback The iteration callback
  * @param[in] user_data The user data to be passed to the callback function
@@ -278,7 +278,7 @@ int location_bounds_foreach_polygon_coords(location_bounds_h bounds, polygon_coo
 
 /**
  * @brief Releases the location bounds.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @param[in] bounds The location bounds handle
  * @return @c 0 on success,
  *         otherwise a negative error value
@@ -294,7 +294,7 @@ int location_bounds_destroy(location_bounds_h bounds);
 
 /**
  * @brief Registers a callback function to be invoked when the boundary area is entered or exited.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @param[in] bounds The location bounds handle
  * @param[in] callback The callback function to register
  * @param[in] user_data The user data to be passed to the callback function
@@ -312,7 +312,7 @@ int location_bounds_set_state_changed_cb(location_bounds_h bounds, location_boun
 
 /**
  * @brief Unregisters the callback function.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @param[in] bounds The location bounds handle
  * @return @c 0 on success,
  *         otherwise a negative error value