[M67 Dev][API] Switch ewk_export.h with tizen.h
[platform/framework/web/chromium-efl.git] / tizen_src / ewk / efl_integration / public / ewk_content_screening_detection.h
1 // Copyright 2013 Samsung Electronics. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ewk_content_screening_detection_h
6 #define ewk_content_screening_detection_h
7
8 #include <Eina.h>
9 #include "ewk_error.h"
10 #include <tizen.h>
11
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15
16 typedef struct _Ewk_Content_Screening_Detection Ewk_Content_Screening_Detection;
17
18 /**
19  * Set the variable to allow the release confirm about malware error.
20  *
21  * @param content_screening_detection malware information data
22  *
23  * @param confirmed decided permission value from user
24  */
25 EXPORT_API void ewk_content_screening_detection_confirmed_set(Ewk_Content_Screening_Detection* content_screening_detection, Eina_Bool confirmed);
26
27 /**
28  * Suspend the operation for content screening detection.
29  *
30  * This suspends the operation for content screening detection when the signal is emitted.
31  * This is very usefull to decide the policy from the additional UI operation like the popup.
32  *
33  * @param content_screening_detection malware information data
34  *
35  * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
36  */
37 EXPORT_API void ewk_content_screening_detection_suspend(Ewk_Content_Screening_Detection* content_screening_detection);
38
39 /**
40  * Get the variable errro structure to check the error cause about malware error.
41  *
42  * @param content_screening_detection malware information data
43  *
44  * @return @c error
45  */
46 EXPORT_API Ewk_Error* ewk_content_screening_detection_error_get(Ewk_Content_Screening_Detection* content_screening_detection);
47
48 #ifdef __cplusplus
49 }
50 #endif
51 #endif