Change internal function to static
[platform/core/uifw/tts.git] / common / tts_config_mgr.h
old mode 100755 (executable)
new mode 100644 (file)
index 0937887..8aee904
@@ -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
@@ -11,7 +11,7 @@
 *  limitations under the License.
 */
 
+
 #ifndef __TTS_CONFIG_MANAGER_H_
 #define __TTS_CONFIG_MANAGER_H_
 
@@ -51,7 +51,7 @@ typedef bool (*tts_config_supported_engine_cb)(const char* engine_id, const char
 typedef bool (*tts_config_supported_voice_cb)(const char* engine_id, const char* language, int type, void* user_data);
 
 typedef void (*tts_config_engine_changed_cb)(const char* engine_id, const char* setting, 
-                                            const char* language, int voice_type, bool auto_voice, void* user_data);
+                                            const char* language, int voice_type, bool auto_voice, bool need_credential, void* user_data);
 
 typedef void (*tts_config_voice_changed_cb)(const char* before_language, int before_voice_type, 
                                            const char* current_language, int current_voice_type, 
@@ -61,6 +61,8 @@ typedef void (*tts_config_speech_rate_changed_cb)(int value, void* user_data);
 
 typedef void (*tts_config_pitch_changed_cb)(int value, void* user_data);
 
+typedef void (*tts_config_bg_volume_ratio_changed_cb)(double value, void* user_data);
+
 typedef void (*tts_config_screen_reader_changed_cb)(bool value);
 
 
@@ -74,6 +76,7 @@ int tts_config_mgr_set_callback(int uid,
                                tts_config_voice_changed_cb voice_cb, 
                                tts_config_speech_rate_changed_cb speech_cb, 
                                tts_config_pitch_changed_cb pitch_cb,
+                               tts_config_bg_volume_ratio_changed_cb bg_volume_ratio_cb,
                                void* user_data);
 
 int tts_config_mgr_unset_callback(int uid);
@@ -108,12 +111,17 @@ int tts_config_mgr_get_pitch(int* value);
 
 int tts_config_mgr_set_pitch(int value);
 
+int tts_config_mgr_get_bg_volume_ratio(double *value);
+int tts_config_mgr_set_bg_volume_ratio(double value);
+
 bool tts_config_check_default_engine_is_valid(const char* engine);
 
 bool tts_config_check_default_voice_is_valid(const char* language, int type);
 
 char* tts_config_get_message_path(int mode, int pid);
 
+int tts_config_mgr_get_max_text_size(unsigned int* size);
+
 
 #ifdef __cplusplus
 }