Merge "Prevent to add rule when stt service is reset" into tizen
[platform/core/uifw/stt.git] / common / stt_config_mgr.h
old mode 100755 (executable)
new mode 100644 (file)
index b6b024e..e899c82
@@ -1,5 +1,5 @@
 /*
-*  Copyright (c) 2011-2014 Samsung Electronics Co., Ltd All Rights Reserved 
+*  Copyright (c) 2011-2016 Samsung Electronics Co., Ltd All Rights Reserved
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
@@ -30,7 +30,7 @@ typedef enum {
        STT_CONFIG_ERROR_NOT_SUPPORTED          = TIZEN_ERROR_NOT_SUPPORTED,    /**< STT NOT supported */
        STT_CONFIG_ERROR_INVALID_STATE          = TIZEN_ERROR_STT | 0x01,       /**< Invalid state */
        STT_CONFIG_ERROR_INVALID_LANGUAGE       = TIZEN_ERROR_STT | 0x02,       /**< Invalid language */
-       STT_CONFIG_ERROR_ENGINE_NOT_FOUND       = TIZEN_ERROR_STT | 0x03,       /**< No available engine  */    
+       STT_CONFIG_ERROR_ENGINE_NOT_FOUND       = TIZEN_ERROR_STT | 0x03,       /**< No available engine  */
        STT_CONFIG_ERROR_OPERATION_FAILED       = TIZEN_ERROR_STT | 0x04,       /**< Operation failed  */
 } stt_config_error_e;
 
@@ -42,7 +42,7 @@ typedef bool (*stt_config_supported_engine_cb)(const char* engine_id, const char
 
 typedef bool (*stt_config_supported_langauge_cb)(const char* engine_id, const char* language, void* user_data);
 
-typedef void (*stt_config_engine_changed_cb)(const char* engine_id, const char* setting, const char* language, bool support_silence, void* user_data);
+typedef void (*stt_config_engine_changed_cb)(const char* engine_id, const char* setting, const char* language, bool support_silence, bool need_credential, void* user_data);
 
 typedef void (*stt_config_lang_changed_cb)(const char* before_language, const char* current_language, void* user_data);