X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=common%2Ftts_config_parser.h;h=cbe095256329e82534d650facf9c1eb3f763d956;hb=616ead4395c7cd83a0d9e232aa5e880570647484;hp=ab662b43ec3125663bcd904745e24ee8827fae07;hpb=0b10ef5d42faedfb03d06e8ce14d3a8d5746393b;p=platform%2Fcore%2Fuifw%2Ftts.git diff --git a/common/tts_config_parser.h b/common/tts_config_parser.h old mode 100755 new mode 100644 index ab662b4..cbe0952 --- a/common/tts_config_parser.h +++ b/common/tts_config_parser.h @@ -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 @@ -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 }