Tizen 2.0 Release
[platform/core/uifw/libttssmt.git] / src / _SlpSmtApis.h
1 /*\r
2  * Samsung TTS\r
3  * Copyright 2012  Samsung Electronics Co., Ltd\r
4  *\r
5  * Licensed under the Flora License, Version 1.0 (the License);\r
6  * you may not use this file except in compliance with the License.\r
7  * You may obtain a copy of the License at\r
8  *\r
9  * http://floralicense.org/license/\r
10  *\r
11  * Unless required by applicable law or agreed to in writing, software\r
12  * distributed under the License is distributed on an AS IS BASIS,\r
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
14  * See the License for the specific language governing permissions and\r
15  * limitations under the License.\r
16  */\r
17 \r
18 #ifndef   __SLP_SMT_APIS_H__\r
19 #define   __SLP_SMT_APIS_H__\r
20 \r
21 #include <ttsp.h>\r
22 #include "plugin_internal.h"\r
23 \r
24 int  SLPSMT_Initialize    (ttspe_result_cb const pfnCallBack);\r
25 int  SLPSMT_Finalize      (void);\r
26 \r
27 int  SLPSMT_SetVoiceList  (ttspe_voice_list_s *);\r
28 void SLPSMT_SetSpeechSpeed(ttsp_speed_e const eSpeechSpeed);\r
29 int  SLPSMT_GetiVoiceInfo (char* const pszLanguage, ttsp_voice_type_e const eVoiceType);\r
30 int  SLPSMT_SynthesizeText(int const iVoiceInfo, char const * pszTextUtf8, void* const pUserParam);\r
31 int  SLPSMT_StopSynthesis (void);\r
32 \r
33 char const * SLPSMT_GetPszKorean              (void);\r
34 char const * SLPSMT_GetPszUSEnglish           (void);\r
35 char const * SLPSMT_GetPszChinese             (void);\r
36 char const * SLPSMT_GetPszUKEnglish           (void);\r
37 char const * SLPSMT_GetPszGerman              (void);\r
38 char const * SLPSMT_GetPszSpanish             (void);\r
39 char const * SLPSMT_GetPszFrench              (void);\r
40 char const * SLPSMT_GetPszItalian             (void);\r
41 int          SLPSMT_GetWorkingThreadId        (void);\r
42 \r
43 \r
44 #endif // __SLP_SMT_APIS_H__\r