Update stt for tizen 2.0 beta
[framework/uifw/voice/stt.git] / server / sttd_config.h
1 /*
2 *  Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved 
3 *  Licensed under the Apache License, Version 2.0 (the "License");
4 *  you may not use this file except in compliance with the License.
5 *  You may obtain a copy of the License at
6 *  http://www.apache.org/licenses/LICENSE-2.0
7 *  Unless required by applicable law or agreed to in writing, software
8 *  distributed under the License is distributed on an "AS IS" BASIS,
9 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 *  See the License for the specific language governing permissions and
11 *  limitations under the License.
12 */
13
14
15 #ifndef __STTD_CONFIG_H_
16 #define __STTD_CONFIG_H_
17
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21
22 int sttd_config_initialize();
23
24 int sttd_config_finalize();
25
26 int sttd_config_get_default_engine(char** engine_id);
27
28 int sttd_config_set_default_engine(const char* engine_id);
29
30 int sttd_config_get_default_language(char** language);
31
32 int sttd_config_set_default_language(const char* langauge);
33
34 int sttd_config_get_default_silence_detection(int* silence);
35
36 int sttd_config_set_default_silence_detection(int silence);
37
38 int sttd_config_get_default_profanity_filter(int* profanity);
39
40 int sttd_config_set_default_profanity_filter(int profanity);
41
42 int sttd_config_get_default_punctuation_override(int* punctuation);
43
44 int sttd_config_set_default_punctuation_override(int punctuation);
45
46
47 #ifdef __cplusplus
48 }
49 #endif
50
51 #endif /* __STTD_CONFIG_H_ */