2 * Copyright (c) 2011-2014 Samsung Electronics Co., Ltd All Rights Reserved
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 * http://www.apache.org/licenses/LICENSE-2.0
7 * Unless required by applicable law or agreed to in writing, software
8 * distributed under the License is distributed on an "AS IS" BASIS,
9 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 * See the License for the specific language governing permissions and
11 * limitations under the License.
15 #ifndef __TTSD_SERVER_CORE_H_
16 #define __TTSD_SERVER_CORE_H_
28 int ttsd_initialize();
32 Eina_Bool ttsd_cleanup_client(void *data);
35 * Server API for client
38 int ttsd_server_initialize(int pid, int uid);
40 int ttsd_server_finalize(int uid);
42 int ttsd_server_get_support_voices(int uid, GList** voice_list);
44 int ttsd_server_get_current_voice(int uid, char** language, int* voice_type);
46 int ttsd_server_add_queue(int uid, const char* text, const char* lang, int voice_type, int speed, int utt_id);
48 int ttsd_server_play(int uid);
50 int ttsd_server_stop(int uid);
52 int ttsd_server_pause(int uid, int* utt_id);
59 #endif /* __TTSD_SERVER_CORE_H_ */