99aaae9469922f04b9d4f656f7bbd9c5ebc674dc
[platform/core/uifw/inputdelegator.git] / inc / w-input-stt-ise.h
1 /*
2  * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.0 (the License);
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an AS IS BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17
18 #ifndef W_INPUT_STT_ISE_H_
19 #define W_INPUT_STT_ISE_H_
20
21 /*
22  * This file will be included from ISE
23  */
24
25
26 #include <Elementary.h>
27
28 #ifdef EAPI
29 # undef EAPI
30 #endif
31
32
33 #ifdef __GNUC__
34 # if __GNUC__ >= 4
35 #  define EAPI __attribute__ ((visibility("default")))
36 # else
37 #  define EAPI
38 # endif
39 #else
40 # define EAPI
41 #endif
42
43 #ifdef __cplusplus
44 extern "C"
45 {
46 #endif
47
48 void show_voice_input(Evas_Object *parent, const char *lang, void (*get_string)(char *, int));
49 void pause_voice();
50 void resume_voice();
51 void destroy_voice();
52 int is_lang_supported_by_voice_input(const char *lang);
53 void ise_show_stt_popup(void *data);
54 void set_disclaimer_flag();
55
56
57 #ifdef __cplusplus
58 }
59 #endif
60
61 #endif /* W_INPUT_STT_ISE_H_ */