[M67 Dev][EWK] Classify EWK APIs by public, internal, or product
[platform/framework/web/chromium-efl.git] / tizen_src / ewk / efl_integration / public / ewk_geolocation.h
1 /*
2  * Copyright (C) 2012 Samsung Electronics
3  *
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.
8  *
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.
13  *
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.
18  */
19
20 /**
21  * @file    ewk_geolocation.h
22  * @brief   This file describes the Ewk Geolacation API.
23  */
24
25 #ifndef ewk_geolocation_h
26 #define ewk_geolocation_h
27
28 #include <Eina.h>
29 #include <tizen.h>
30 #include "ewk_security_origin.h"
31
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35
36 /**
37  * @brief The structure type that creates a type name for #Ewk_Geolocation_Permission_Request.
38  *
39  * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
40  */
41 typedef struct _Ewk_Geolocation_Permission_Request Ewk_Geolocation_Permission_Request;
42
43 /**
44  * @brief Requests for getting origin of geolocation permission request.
45  *
46  * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
47  *
48  * @param[in] request Ewk_Geolocation_Permission_Request object to get origin
49  *
50  * @return security origin of geolocation permission data
51  */
52 EXPORT_API const Ewk_Security_Origin *ewk_geolocation_permission_request_origin_get(const Ewk_Geolocation_Permission_Request *request);
53
54 /**
55 * @}
56 */
57
58 #ifdef __cplusplus
59 }
60 #endif
61
62 #endif // ewk_geolocation_h