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