Add error tolerance with dbus signal handling
[platform/core/uifw/tts.git] / client / tts_dbus.h
index deba016..429d8aa 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
@@ -27,16 +27,16 @@ int tts_dbus_close_connection();
 
 int tts_dbus_request_hello(int uid);
 
-int tts_dbus_request_initialize(int uid);
+int tts_dbus_request_initialize(int uid, bool* credential_needed);
 
 int tts_dbus_request_finalize(int uid);
 
 int tts_dbus_set_sound_type(int uid, int type);
 
 
-int tts_dbus_request_add_text(int uid, const char* text, const char* lang, int vctype, int speed, int uttid); 
+int tts_dbus_request_add_text(int uid, const char* text, const char* lang, int vctype, int speed, int uttid, const char* credential);
 
-int tts_dbus_request_play(int uid;
+int tts_dbus_request_play(int uid, const char* credential);
 
 int tts_dbus_request_stop(int uid);