Add function to get error message
[platform/core/uifw/tts.git] / client / tts_dbus.h
old mode 100644 (file)
new mode 100755 (executable)
index 3636e8f..4b4f834
@@ -1,5 +1,5 @@
 /*
-*  Copyright (c) 2012, 2013 Samsung Electronics Co., Ltd All Rights Reserved 
+*  Copyright (c) 2011-2014 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_DBUS_H_
 #define __TTS_DBUS_H_
 
@@ -31,15 +31,11 @@ int tts_dbus_request_initialize(int uid);
 
 int tts_dbus_request_finalize(int uid);
 
-int tts_dbus_request_get_support_voice(int uid, tts_h tts, tts_supported_voice_cb callback, void* user_data);
+int tts_dbus_set_sound_type(int uid, int type);
 
-int tts_dbus_request_get_default_voice(int uid , char** lang, tts_voice_type_e* vctype);
 
 int tts_dbus_request_add_text(int uid, const char* text, const char* lang, int vctype, int speed, int uttid); 
 
-int tts_dbus_request_remove_all_text(int uid); 
-
-
 int tts_dbus_request_play(int uid) ;
 
 int tts_dbus_request_stop(int uid);
@@ -47,10 +43,6 @@ int tts_dbus_request_stop(int uid);
 int tts_dbus_request_pause(int uid);
 
 
-int tts_file_msg_open_connection();
-
-int tts_file_msg_close_connection();
-
 #ifdef __cplusplus
 }
 #endif