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 APIs
41 *******************************************************************************************/
43 #define STT_METHOD_INITIALIZE "stt_method_initialize"
44 #define STT_METHOD_FINALIZE "stt_method_finalilze"
45 #define STT_METHOD_GET_SUPPORT_LANGS "stt_method_get_support_langs"
46 #define STT_METHOD_GET_CURRENT_LANG "stt_method_get_current_lang"
47 #define STT_METHOD_IS_PARTIAL_SUPPORTED "stt_method_is_partial_result_supported"
48 #define STT_METHOD_GET_AUDIO_VOLUME "stt_method_audio_volume"
50 #define STT_METHOD_START "stt_method_start"
51 #define STT_METHOD_STOP "stt_method_stop"
52 #define STT_METHOD_CANCEL "stt_method_cancel"
54 #define STT_SIGNAL_RESULT "stt_signal_result"
55 #define STT_SIGNAL_PARTIAL_RESULT "stt_signal_partial_result"
56 #define STT_SIGNAL_STOP "stt_signal_stop"
57 #define STT_SIGNAL_ERROR "stt_signal_error"
59 #define STT_SIGNAL_STOP_BY_DAEMON "STT_SIGNAL_STOP_BY_DAEMON"
62 /******************************************************************************************
63 * Message Definition for Setting
64 *******************************************************************************************/
66 #define STT_SETTING_METHOD_INITIALIZE "stt_setting_method_initialize"
67 #define STT_SETTING_METHOD_FINALIZE "stt_setting_method_finalilze"
68 #define STT_SETTING_METHOD_GET_ENGINE_LIST "stt_setting_method_get_engine_list"
69 #define STT_SETTING_METHOD_GET_ENGINE "stt_setting_method_get_engine"
70 #define STT_SETTING_METHOD_SET_ENGINE "stt_setting_method_set_engine"
71 #define STT_SETTING_METHOD_GET_LANG_LIST "stt_setting_method_get_lang_list"
72 #define STT_SETTING_METHOD_GET_DEFAULT_LANG "stt_setting_method_get_default_lang"
73 #define STT_SETTING_METHOD_SET_DEFAULT_LANG "stt_setting_method_set_default_lang"
74 #define STT_SETTING_METHOD_GET_PROFANITY "stt_setting_method_get_profanity"
75 #define STT_SETTING_METHOD_SET_PROFANITY "stt_setting_method_set_profanity"
76 #define STT_SETTING_METHOD_GET_PUNCTUATION "stt_setting_method_get_punctuation"
77 #define STT_SETTING_METHOD_SET_PUNCTUATION "stt_setting_method_set_punctuation"
78 #define STT_SETTING_METHOD_GET_SILENCE "stt_setting_method_get_silence_detection"
79 #define STT_SETTING_METHOD_SET_SILENCE "stt_setting_method_set_silence_detection"
80 #define STT_SETTING_METHOD_GET_ENGINE_SETTING "stt_setting_method_get_engine_setting"
81 #define STT_SETTING_METHOD_SET_ENGINE_SETTING "stt_setting_method_set_engine_setting"
87 #endif /* __STT_DEFS_H__ */