From: chanywa Date: Fri, 18 Nov 2016 10:45:15 +0000 (+0900) Subject: [ACR-840] Modify APIs for Maps Place X-Git-Tag: submit/tizen/20161128.050026^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2d9a226314e7f9a79be3908af3d06bbb1d26a02f;p=platform%2Fcore%2Fapi%2Fmaps-service.git [ACR-840] Modify APIs for Maps Place Change-Id: I248b9a68ee8e84a5431bc967b18bbf44559a59ee --- diff --git a/include/maps_place.h b/include/maps_place.h index ad56c22..5efe6c4 100644 --- a/include/maps_place.h +++ b/include/maps_place.h @@ -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); /** diff --git a/src/api/maps_place.cpp b/src/api/maps_place.cpp index c29e3ab..63c47e1 100644 --- a/src/api/maps_place.cpp +++ b/src/api/maps_place.cpp @@ -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())