Add function to set/get private data
[platform/core/uifw/tts.git] / client / tts_dbus.h
index c252fc2..deba016 100644 (file)
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2011 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_
 
@@ -25,25 +25,27 @@ int tts_dbus_open_connection();
 
 int tts_dbus_close_connection();
 
+int tts_dbus_request_hello(int uid);
+
 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);
 
 int tts_dbus_request_pause(int uid);
 
+int tts_dbus_request_set_private_data(int uid, const char* key, const char* data);
+
+int tts_dbus_request_get_private_data(int uid, const char* key, char** data);
+
 #ifdef __cplusplus
 }
 #endif