/*
-* 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
return;
}
-int sttd_config_initialize(sttd_config_engine_changed_cb engine_cb,
- sttd_config_language_changed_cb lang_cb,
- sttd_config_silence_changed_cb silence_cb,
+int sttd_config_initialize(sttd_config_engine_changed_cb engine_cb,
+ sttd_config_language_changed_cb lang_cb,
+ sttd_config_silence_changed_cb silence_cb,
void* user_data)
{
if (NULL == engine_cb || NULL == lang_cb || NULL == silence_cb) {
return -1;
}
- ret = stt_config_mgr_set_callback(getpid(), __sttd_config_engine_changed_cb, __sttd_config_lang_changed_cb,
+ ret = stt_config_mgr_set_callback(getpid(), __sttd_config_engine_changed_cb, __sttd_config_lang_changed_cb,
__config_bool_changed_cb, NULL);
if (0 != ret) {
SLOG(LOG_ERROR, TAG_STTD, "[ERROR] Fail to set config changed : %d", ret);
int sttd_config_time_reset()
{
return stt_config_mgr_reset_time_info();
-}
\ No newline at end of file
+}