[ACR-840] Modify APIs for Maps Place 21/98721/2
authorchanywa <cbible.kim@samsung.com>
Fri, 18 Nov 2016 10:45:15 +0000 (19:45 +0900)
committerjomui <jongmun.woo@samsung.com>
Mon, 21 Nov 2016 01:58:22 +0000 (10:58 +0900)
Change-Id: I248b9a68ee8e84a5431bc967b18bbf44559a59ee

include/maps_place.h
src/api/maps_place.cpp

index ad56c22..5efe6c4 100644 (file)
@@ -607,14 +607,14 @@ int maps_place_foreach_review(const maps_place_h place,
  * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
  * @remarks @a supplier must be released using maps_place_link_object_destroy().
  *
- * @param[in]  place                   The place handle image
+ * @param[in]  place                   The place handle
  * @param[out] supplier        The place supplier link
  * @return     0 on success, otherwise a negative error value
  * @retval     #MAPS_ERROR_NONE Successful
  * @retval     #MAPS_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval     #MAPS_ERROR_NOT_SUPPORTED Not supported
  */
-int maps_place_get_supplier_link(const maps_place_image_h place,
+int maps_place_get_supplier_link(const maps_place_h place,
                                 maps_place_link_object_h *supplier);
 
 /**
@@ -623,14 +623,14 @@ int maps_place_get_supplier_link(const maps_place_image_h place,
  * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
  * @remarks @a related must be released using maps_place_link_object_destroy().
  *
- * @param[in]  place           The place handle image
+ * @param[in]  place           The place handle
  * @param[out] related The place related link
  * @return     0 on success, otherwise a negative error value
  * @retval     #MAPS_ERROR_NONE Successful
  * @retval     #MAPS_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval     #MAPS_ERROR_NOT_SUPPORTED Not supported
  */
-int maps_place_get_related_link(const maps_place_image_h place,
+int maps_place_get_related_link(const maps_place_h place,
                                maps_place_link_object_h *related);
 
 /**
index c29e3ab..63c47e1 100644 (file)
@@ -524,7 +524,7 @@ EXPORT_API int maps_place_foreach_review(const maps_place_h place,
                maps_place_review_clone, callback, user_data);
 }
 
-EXPORT_API int maps_place_get_supplier_link(const maps_place_image_h place,
+EXPORT_API int maps_place_get_supplier_link(const maps_place_h place,
                                                                maps_place_link_object_h *supplier)
 {
        if (!maps_condition_check_maps_feature())
@@ -540,7 +540,7 @@ EXPORT_API int maps_place_get_supplier_link(const maps_place_image_h place,
        return maps_place_link_object_clone(((maps_place_s *) place)->supplier, supplier);
 }
 
-EXPORT_API int maps_place_get_related_link(const maps_place_image_h place,
+EXPORT_API int maps_place_get_related_link(const maps_place_h place,
                                                                maps_place_link_object_h *related)
 {
        if (!maps_condition_check_maps_feature())