[ACR-1216][tts][Add tts_repeat()]
[platform/core/uifw/tts.git] / client / tts_client.h
index 7353dc6..fa5eaae 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
@@ -11,7 +11,7 @@
 *  limitations under the License.
 */
 
+
 #ifndef __TTS_CLIENT_H_
 #define __TTS_CLIENT_H_
 
@@ -43,6 +43,8 @@ typedef struct {
        void*                           error_user_data;
        tts_default_voice_changed_cb    default_voice_changed_cb;
        void*                           default_voice_changed_user_data;
+       tts_engine_changed_cb           engine_changed_cb;
+       void*                           engine_changed_user_data;
        tts_supported_voice_cb          supported_voice_cb;
        void*                           supported_voice_user_data;
 
@@ -57,9 +59,18 @@ typedef struct {
        /* callback data */
        int             utt_id;
        int             reason;
+       char*           err_msg;
 
        /* connection */
        Ecore_Timer*    conn_timer;
+
+       /* options */
+       char*           credential;
+       bool            credential_needed;
+       bool            internal;
+
+       /* repeatition */
+       char*           text_repeat;
 } tts_client_s;
 
 int tts_client_new(tts_h* tts);