diff options
author | jomui <jongmun.woo@samsung.com> | 2017-08-23 03:05:20 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.ap-northeast-2.compute.internal> | 2017-08-23 03:05:20 +0000 |
commit | cb80d021a94c8e1513e9051a2223fb01671e3341 (patch) | |
tree | 6892a7332a01db26a0f9343961a4cae8512fdf11 | |
parent | c1d3bbbf37be20be54dfe0d3d443524ceb17107c (diff) | |
parent | ddc049d30897aef9ecad47e64db5d4f2adc3fc2d (diff) | |
download | maps-plugin-mapzen-cb80d021a94c8e1513e9051a2223fb01671e3341.tar.gz maps-plugin-mapzen-cb80d021a94c8e1513e9051a2223fb01671e3341.tar.bz2 maps-plugin-mapzen-cb80d021a94c8e1513e9051a2223fb01671e3341.zip |
Merge "add plugin APIs for addrd Map Service APIs" into tizensubmit/tizen_4.0/20170901.071054submit/tizen/20170828.051204submit/tizen/20170823.030617accepted/tizen/unified/20170828.164609accepted/tizen/4.0/unified/20170901.203315
-rw-r--r-- | packaging/maps-plugin-mapzen.spec | 2 | ||||
-rw-r--r-- | src/mapzen_plugin.c | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/packaging/maps-plugin-mapzen.spec b/packaging/maps-plugin-mapzen.spec index 3cea259..a0463ce 100644 --- a/packaging/maps-plugin-mapzen.spec +++ b/packaging/maps-plugin-mapzen.spec @@ -1,6 +1,6 @@ Name: maps-plugin-mapzen Summary: Tizen Mapzen Maps Plug-in Library -Version: 0.0.3 +Version: 0.0.4 Release: 1 Group: Location/Libraries License: Apache-2.0 and MIT License diff --git a/src/mapzen_plugin.c b/src/mapzen_plugin.c index 702d75a..6bd9124 100644 --- a/src/mapzen_plugin.c +++ b/src/mapzen_plugin.c @@ -1870,3 +1870,17 @@ EXPORT_API int maps_plugin_request_user_consent(const char *provider, maps_servi callback(true, provider, user_data); return MAPS_ERROR_NONE; } + +EXPORT_API int maps_plugin_request_user_consent_with_handle(maps_service_request_user_consent_with_handle_cb callback, void *user_data) +{ + MAPS_LOGD("maps_plugin_request_user_consent_with_handle. Mapzen plugin always gives user consent."); + callback(true, user_data); + return MAPS_ERROR_NONE; +} + +EXPORT_API int maps_plugin_get_user_consent(bool *consent) +{ + MAPS_LOGD("maps_plugin_get_user_consent. Mapzen plugin always gives user consent."); + *consent = true; + return MAPS_ERROR_NONE; +}
\ No newline at end of file |