2 * Copyright (C) 2012 Samsung Electronics
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
14 * You should have received a copy of the GNU Library General Public License
15 * along with this program; see the file COPYING.LIB. If not, write to
16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
21 * @file ewk_geolocation.h
22 * @brief This file describes the Ewk Geolacation API.
25 #ifndef ewk_geolocation_h
26 #define ewk_geolocation_h
30 #include "ewk_security_origin.h"
37 * @brief The structure type that creates a type name for #Ewk_Geolocation_Permission_Request.
39 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
41 typedef struct _Ewk_Geolocation_Permission_Request Ewk_Geolocation_Permission_Request;
44 * @brief Requests for getting origin of geolocation permission request.
46 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
48 * @param[in] request Ewk_Geolocation_Permission_Request object to get origin
50 * @return security origin of geolocation permission data
52 EXPORT_API const Ewk_Security_Origin *ewk_geolocation_permission_request_origin_get(const Ewk_Geolocation_Permission_Request *request);
62 #endif // ewk_geolocation_h