Tizen 2.1 base
[platform/core/uifw/tts.git] / common / tts_defs.h
1 /*
2 *  Copyright (c) 2012, 2013 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 _TTS_DEFS_H__
16 #define _TTS_DEFS_H__
17
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21
22 /******************************************************************************************
23 * Definition for IPC
24 *******************************************************************************************/
25
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"
29
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"
33
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"
37
38
39 /******************************************************************************************
40 * Message Definition for APIs
41 *******************************************************************************************/
42
43 #define TTS_METHOD_HELLO                "tts_method_hello"
44 #define TTS_METHOD_INITIALIZE           "tts_method_initialize"
45 #define TTS_METHOD_FINALIZE             "tts_method_finalilze"
46 #define TTS_METHOD_GET_SUPPORT_VOICES   "tts_method_get_support_voices"
47 #define TTS_METHOD_GET_CURRENT_VOICE    "tts_method_get_current_voice"
48 #define TTS_METHOD_ADD_QUEUE            "tts_method_add_queue"
49 #define TTS_METHOD_PLAY                 "tts_method_play"
50 #define TTS_METHOD_STOP                 "tts_method_stop"
51 #define TTS_METHOD_PAUSE                "tts_method_pause"
52
53 #define TTSD_METHOD_HELLO               "ttsd_method_hello"
54 #define TTSD_METHOD_UTTERANCE_STARTED   "ttsd_method_utterance_started"
55 #define TTSD_METHOD_UTTERANCE_COMPLETED "ttsd_method_utterance_completed"
56 #define TTSD_METHOD_ERROR               "ttsd_method_error"
57 #define TTSD_METHOD_SET_STATE           "ttsd_method_set_state"
58 #define TTSD_METHOD_GET_STATE           "ttsd_method_get_state"
59
60 /******************************************************************************************
61 * Message Definition for Setting
62 *******************************************************************************************/
63
64 #define TTS_SETTING_METHOD_HELLO                "tts_setting_method_hello"
65 #define TTS_SETTING_METHOD_INITIALIZE           "tts_setting_method_initialize"
66 #define TTS_SETTING_METHOD_FINALIZE             "tts_setting_method_finalilze"
67 #define TTS_SETTING_METHOD_GET_ENGINE_LIST      "tts_setting_method_get_engine_list"
68 #define TTS_SETTING_METHOD_GET_ENGINE           "tts_setting_method_get_engine"
69 #define TTS_SETTING_METHOD_SET_ENGINE           "tts_setting_method_set_engine"
70 #define TTS_SETTING_METHOD_GET_VOICE_LIST       "tts_setting_method_get_voice_list"
71 #define TTS_SETTING_METHOD_GET_DEFAULT_VOICE    "tts_setting_method_get_voice"
72 #define TTS_SETTING_METHOD_SET_DEFAULT_VOICE    "tts_setting_method_set_voice"
73 #define TTS_SETTING_METHOD_GET_DEFAULT_SPEED    "tts_setting_method_get_speed"
74 #define TTS_SETTING_METHOD_SET_DEFAULT_SPEED    "tts_setting_method_set_speed"
75 #define TTS_SETTING_METHOD_GET_ENGINE_SETTING   "tts_setting_method_get_engine_setting"
76 #define TTS_SETTING_METHOD_SET_ENGINE_SETTING   "tts_setting_method_set_engine_setting"
77
78 #ifdef __cplusplus
79 }
80 #endif
81
82 #endif  /* _TTS_DEFS_H__ */