Add multi-user support
[platform/core/uifw/tts.git] / server / ttsd_server.h
index 7e1f40f..5221668 100644 (file)
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved 
+*  Copyright (c) 2012, 2013 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
 #define __TTSD_SERVER_CORE_H_
 
 #include <glib.h>
+#include <Ecore.h>
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
 /**
-* Daemon init
+* Server APIs
 */
-
-/** Daemon initialize */
 int ttsd_initialize();
 
+int ttsd_finalize();
+
+Eina_Bool ttsd_cleanup_client(void *data);
+
 /*
 * Server API for client
 */
@@ -48,13 +51,12 @@ int ttsd_server_stop(int uid);
 
 int ttsd_server_pause(int uid, int* utt_id);
 
+#if 0
 /*
-* Server API for Internal event
+* Server API for internal event
 */
-
-int ttsd_server_start_next_play(int uid);
-
-int ttsd_server_start_next_synthesis(int uid);
+int ttsd_server_start_next_synthesis();
+#endif
 
 /*
 * Server API for setting