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.
15 #ifndef __STT_DEFS_H__
16 #define __STT_DEFS_H__
22 /******************************************************************************************
24 *******************************************************************************************/
26 #define STT_CLIENT_SERVICE_NAME "com.samsung.voice.sttclient"
27 #define STT_CLIENT_SERVICE_OBJECT_PATH "/com/samsung/voice/sttclient"
28 #define STT_CLIENT_SERVICE_INTERFACE "com.samsung.voice.sttclient"
30 #define STT_SETTING_SERVICE_NAME "com.samsung.voice.sttsetting"
31 #define STT_SETTING_SERVICE_OBJECT_PATH "/com/samsung/voice/sttsetting"
32 #define STT_SETTING_SERVICE_INTERFACE "com.samsung.voice.sttsetting"
34 #define STT_SERVER_SERVICE_NAME "service.connect.sttserver"
35 #define STT_SERVER_SERVICE_OBJECT_PATH "/com/samsung/voice/sttserver"
36 #define STT_SERVER_SERVICE_INTERFACE "com.samsung.voice.sttserver"
39 /******************************************************************************************
40 * Message Definition for Client
41 *******************************************************************************************/
43 #define STT_METHOD_HELLO "stt_method_hello"
44 #define STT_METHOD_INITIALIZE "stt_method_initialize"
45 #define STT_METHOD_FINALIZE "stt_method_finalilze"
46 #define STT_METHOD_GET_SUPPORT_LANGS "stt_method_get_support_langs"
47 #define STT_METHOD_GET_CURRENT_LANG "stt_method_get_current_lang"
48 #define STT_METHOD_IS_PARTIAL_SUPPORTED "stt_method_is_partial_result_supported"
49 #define STT_METHOD_GET_AUDIO_VOLUME "stt_method_audio_volume"
51 #define STT_METHOD_START "stt_method_start"
52 #define STT_METHOD_STOP "stt_method_stop"
53 #define STT_METHOD_CANCEL "stt_method_cancel"
55 #define STTD_METHOD_RESULT "sttd_method_result"
56 #define STTD_METHOD_PARTIAL_RESULT "sttd_method_partial_result"
57 #define STTD_METHOD_ERROR "sttd_method_error"
58 #define STTD_METHOD_HELLO "sttd_method_hello"
59 #define STTD_METHOD_SET_STATE "sttd_method_set_state"
60 #define STTD_METHOD_GET_STATE "sttd_method_get_state"
62 #define STTD_METHOD_STOP_BY_DAEMON "sttd_method_stop_by_daemon"
64 /******************************************************************************************
65 * Message Definition for Setting
66 *******************************************************************************************/
68 #define STT_SETTING_METHOD_HELLO "stt_setting_method_hello"
69 #define STT_SETTING_METHOD_INITIALIZE "stt_setting_method_initialize"
70 #define STT_SETTING_METHOD_FINALIZE "stt_setting_method_finalilze"
71 #define STT_SETTING_METHOD_GET_ENGINE_LIST "stt_setting_method_get_engine_list"
72 #define STT_SETTING_METHOD_GET_ENGINE "stt_setting_method_get_engine"
73 #define STT_SETTING_METHOD_SET_ENGINE "stt_setting_method_set_engine"
74 #define STT_SETTING_METHOD_GET_LANG_LIST "stt_setting_method_get_lang_list"
75 #define STT_SETTING_METHOD_GET_DEFAULT_LANG "stt_setting_method_get_default_lang"
76 #define STT_SETTING_METHOD_SET_DEFAULT_LANG "stt_setting_method_set_default_lang"
77 #define STT_SETTING_METHOD_GET_PROFANITY "stt_setting_method_get_profanity"
78 #define STT_SETTING_METHOD_SET_PROFANITY "stt_setting_method_set_profanity"
79 #define STT_SETTING_METHOD_GET_PUNCTUATION "stt_setting_method_get_punctuation"
80 #define STT_SETTING_METHOD_SET_PUNCTUATION "stt_setting_method_set_punctuation"
81 #define STT_SETTING_METHOD_GET_SILENCE "stt_setting_method_get_silence_detection"
82 #define STT_SETTING_METHOD_SET_SILENCE "stt_setting_method_set_silence_detection"
83 #define STT_SETTING_METHOD_GET_ENGINE_SETTING "stt_setting_method_get_engine_setting"
84 #define STT_SETTING_METHOD_SET_ENGINE_SETTING "stt_setting_method_set_engine_setting"
90 #endif /* __STT_DEFS_H__ */