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.
22 /******************************************************************************************
24 *******************************************************************************************/
26 #define TTS_CLIENT_SERVICE_NAME "com.samsung.voice.ttsclient"
27 #define TTS_CLIENT_SERVICE_OBJECT_PATH "/com/samsung/voice/ttsclient"
28 #define TTS_CLIENT_SERVICE_INTERFACE "com.samsung.voice.ttsclient"
30 #define TTS_SETTING_SERVICE_NAME "com.samsung.voice.ttssetting"
31 #define TTS_SETTING_SERVICE_OBJECT_PATH "/com/samsung/voice/ttssetting"
32 #define TTS_SETTING_SERVICE_INTERFACE "com.samsung.voice.ttssetting"
34 #define TTS_SERVER_SERVICE_NAME "service.connect.ttsserver"
35 #define TTS_SERVER_SERVICE_OBJECT_PATH "/com/samsung/voice/ttsserver"
36 #define TTS_SERVER_SERVICE_INTERFACE "com.samsung.voice.ttsserver"
39 /******************************************************************************************
40 * Message Definition for APIs
41 *******************************************************************************************/
43 #define TTS_METHOD_INITIALIZE "tts_method_initialize"
44 #define TTS_METHOD_FINALIZE "tts_method_finalilze"
45 #define TTS_METHOD_GET_SUPPORT_VOICES "tts_method_get_support_voices"
46 #define TTS_METHOD_GET_CURRENT_VOICE "tts_method_get_current_voice"
47 #define TTS_METHOD_ADD_QUEUE "tts_method_add_queue"
48 #define TTS_METHOD_PLAY "tts_method_play"
49 #define TTS_METHOD_STOP "tts_method_stop"
50 #define TTS_METHOD_PAUSE "tts_method_pause"
52 #define TTS_SIGNAL_INTERRUPT "tts_signal_interrupt"
53 #define TTS_SIGNAL_UTTERANCE_STARTED "tts_utterance_started"
54 #define TTS_SIGNAL_UTTERANCE_COMPLETED "tts_utterance_completed"
55 #define TTS_SIGNAL_ERROR "tts_signal_error"
58 /******************************************************************************************
59 * Message Definition for Setting
60 *******************************************************************************************/
62 #define TTS_SETTING_METHOD_INITIALIZE "tts_setting_method_initialize"
63 #define TTS_SETTING_METHOD_FINALIZE "tts_setting_method_finalilze"
64 #define TTS_SETTING_METHOD_GET_ENGINE_LIST "tts_setting_method_get_engine_list"
65 #define TTS_SETTING_METHOD_GET_ENGINE "tts_setting_method_get_engine"
66 #define TTS_SETTING_METHOD_SET_ENGINE "tts_setting_method_set_engine"
67 #define TTS_SETTING_METHOD_GET_VOICE_LIST "tts_setting_method_get_voice_list"
68 #define TTS_SETTING_METHOD_GET_DEFAULT_VOICE "tts_setting_method_get_voice"
69 #define TTS_SETTING_METHOD_SET_DEFAULT_VOICE "tts_setting_method_set_voice"
70 #define TTS_SETTING_METHOD_GET_DEFAULT_SPEED "tts_setting_method_get_speed"
71 #define TTS_SETTING_METHOD_SET_DEFAULT_SPEED "tts_setting_method_set_speed"
72 #define TTS_SETTING_METHOD_GET_ENGINE_SETTING "tts_setting_method_get_engine_setting"
73 #define TTS_SETTING_METHOD_SET_ENGINE_SETTING "tts_setting_method_set_engine_setting"
75 /******************************************************************************************
76 * Message Definition for tts-daemon internal
77 *******************************************************************************************/
79 #define TTS_SIGNAL_NEXT_PLAY "tts_signal_start_play"
80 #define TTS_SIGNAL_NEXT_SYNTHESIS "tts_signal_start_synthesis"
86 #endif /* _TTS_DEFS_H__ */