Use secure log to write result for security
[platform/core/uifw/stt.git] / server / sttd_config.c
index 229a087..7d836dd 100644 (file)
@@ -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
@@ -32,7 +32,7 @@ const char* stt_tag()
 }
 
 
-void __sttd_config_engine_changed_cb(const char* engine_id, const char* setting, const char* language, bool support_silence, void* user_data)
+void __sttd_config_engine_changed_cb(const char* engine_id, const char* setting, const char* language, bool support_silence, bool need_credential, void* user_data)
 {
        /* Need to check engine is valid */
        if (false == stt_config_check_default_engine_is_valid(engine_id)) {
@@ -41,7 +41,7 @@ void __sttd_config_engine_changed_cb(const char* engine_id, const char* setting,
        }
 
        if (NULL != g_engine_cb)
-               g_engine_cb(engine_id, language, support_silence, g_user_data);
+               g_engine_cb(engine_id, language, support_silence, need_credential, g_user_data);
        else
                SLOG(LOG_ERROR, TAG_STTD, "Engine changed callback is NULL");
 }
@@ -178,4 +178,4 @@ int sttd_config_time_save()
 int sttd_config_time_reset()
 {
        return stt_config_mgr_reset_time_info();
-}
\ No newline at end of file
+}