Change internal function to static
[platform/core/uifw/tts.git] / common / tts_config_parser.h
old mode 100755 (executable)
new mode 100644 (file)
index 83e3ce2..cbe0952
@@ -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_PARSER_H_
 #define __TTS_CONFIG_PARSER_H_
 
@@ -41,6 +41,8 @@ typedef struct {
        char*   setting;
        GSList* voices;
        bool    pitch_support;
+       bool    need_credential;
+       unsigned int    text_size;
 } tts_engine_info_s;
 
 typedef struct {
@@ -51,6 +53,8 @@ typedef struct {
        int     type;
        int     speech_rate;
        int     pitch;
+       bool    credential;
+       double bg_volume_ratio;
 } tts_config_s;
 
 
@@ -74,9 +78,14 @@ int tts_parser_set_speech_rate(int value);
 
 int tts_parser_set_pitch(int value);
 
+int tts_parser_set_bg_volume_ratio(double value);
+
 int tts_parser_find_config_changed(char** engine, char**setting, bool* auto_voice, char** language, int* voice_type, 
-                                  int* speech_rate, int* pitch);
+                                  int* speech_rate, int* pitch, double* bg_volume_ratio);
+
+int tts_parser_copy_xml(const char* original, const char* destination);
 
+int tts_parser_reset();
 
 #ifdef __cplusplus
 }