#define STTD_METHOD_HELLO "sttd_method_hello"
#define STTD_METHOD_SET_STATE "sttd_method_set_state"
#define STTD_METHOD_SET_VOLUME "sttd_method_set_volume"
+#define STTD_METHOD_SPEECH_STATUS "sttd_method_speech_status"
+
+#define STT_METHOD_START_FILE "stt_method_start_file"
+#define STT_METHOD_CANCEL_FILE "stt_method_cancel_file"
/******************************************************************************************
* Defines for configuration
*******************************************************************************************/
-#define STT_CONFIG_BASE tzplatform_mkpath(TZ_USER_HOME, "share/.voice")
-#define STT_CONFIG tzplatform_mkpath(TZ_USER_HOME, "share/.voice/stt-config.xml")
-#define STT_DEFAULT_CONFIG tzplatform_mkpath(TZ_SYS_RO_SHARE, "/voice/stt/1.0/stt-config.xml")
-
-#define STT_TIME_INFO_PATH tzplatform_mkpath(TZ_USER_HOME, "share/.voice/stt-time.xml")
+#define STT_CONFIG_BASE tzplatform_mkpath(tzplatform_getid("TZ_USER_HOME"), "share/.voice")
+#define STT_CONFIG tzplatform_mkpath(tzplatform_getid("TZ_USER_HOME"), "share/.voice/stt-config.xml")
+#define STT_DEFAULT_CONFIG tzplatform_mkpath(tzplatform_getid("TZ_SYS_RO_SHARE"), "/voice/stt/1.0/stt-config.xml")
-#define STT_DEFAULT_ENGINE tzplatform_mkpath(TZ_SYS_RO_SHARE, "/voice/stt/1.0/engine")
-#define STT_DEFAULT_ENGINE_INFO tzplatform_mkpath(TZ_SYS_RO_SHARE, "/voice/stt/1.0/engine-info")
-#define STT_DEFAULT_ENGINE_SETTING tzplatform_mkpath(TZ_SYS_RO_SHARE, "/voice/stt/1.0/engine-setting")
+#define STT_TIME_INFO_PATH tzplatform_mkpath(tzplatform_getid("TZ_USER_HOME"), "share/.voice/stt-time.xml")
-#define STT_HOME tzplatform_mkpath(TZ_USER_HOME, "share/.voice/stt")
-#define STT_DOWNLOAD_BASE tzplatform_mkpath(TZ_USER_HOME, "share/.voice/stt/1.0")
-#define STT_DOWNLOAD_ENGINE_INFO tzplatform_mkpath(TZ_USER_HOME, "share/.voice/stt/1.0/engine-info")
+#define STT_DEFAULT_ENGINE tzplatform_mkpath(tzplatform_getid("TZ_SYS_RO_SHARE"), "/voice/stt/1.0/engine")
+#define STT_DEFAULT_ENGINE_INFO tzplatform_mkpath(tzplatform_getid("TZ_SYS_RO_SHARE"), "/voice/stt/1.0/engine-info")
+#define STT_DEFAULT_ENGINE_SETTING tzplatform_mkpath(tzplatform_getid("TZ_SYS_RO_SHARE"), "/voice/stt/1.0/engine-setting")
-#define STT_BASE_LANGUAGE "en_US"
+#define STT_HOME tzplatform_mkpath(tzplatform_getid("TZ_USER_HOME"), "share/.voice/stt")
+#define STT_DOWNLOAD_BASE tzplatform_mkpath(tzplatform_getid("TZ_USER_HOME"), "share/.voice/stt/1.0")
+#define STT_DOWNLOAD_ENGINE_INFO tzplatform_mkpath(tzplatform_getid("TZ_USER_HOME"), "share/.voice/stt/1.0/engine-info")
#define STT_RETRY_COUNT 5
#define STT_FEATURE_PATH "tizen.org/feature/speech.recognition"
#define STT_MIC_FEATURE_PATH "tizen.org/feature/microphone"
-#define STT_PRIVILEGE "http://tizen.org/privilege/recorder"
+#define STT_PRIVILEGE_RECORDER "http://tizen.org/privilege/recorder"
+#define STT_PRIVILEGE_APPLAUNCH "http://tizen.org/privilege/appmanager.launch"
#ifdef __cplusplus
}