[ACR-1216][tts][Add tts_repeat()]
[platform/core/uifw/tts.git] / client / tts_client.h
old mode 100755 (executable)
new mode 100644 (file)
index 45160ac..fa5eaae
@@ -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
 *  limitations under the License.
 */
 
+
 #ifndef __TTS_CLIENT_H_
 #define __TTS_CLIENT_H_
 
+#include <Ecore.h>
+
 #include "tts.h"
 #include "tts_config_mgr.h"
 #include "tts_main.h"
@@ -41,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;
 
@@ -55,6 +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);