2 * Copyright (c) 2012, 2013 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 __STTD_CLIENT_DATA_H_
16 #define __STTD_CLIENT_DATA_H_
26 APP_STATE_CREATED = 0,
28 APP_STATE_RECORDING = 2,
29 APP_STATE_PROCESSING = 3
41 } setting_client_info_s;
43 int sttd_client_add(const int pid, const int uid);
45 int sttd_client_delete(const int uid);
47 int sttd_client_get_state(const int uid, app_state_e* state);
49 int sttd_client_set_state(const int uid, const app_state_e state);
51 int sttd_client_get_ref_count();
53 int sttd_client_get_pid(const int uid);
55 int sttd_client_get_current_recording();
57 int sttd_client_get_current_thinking();
59 int sttd_cliet_set_timer(int uid, Ecore_Timer* timer);
61 int sttd_cliet_get_timer(int uid, Ecore_Timer** timer);
63 int sttd_client_get_list(int** uids, int* uid_count);
66 int sttd_setting_client_add(int pid);
68 int sttd_setting_client_delete(int pid);
70 bool sttd_setting_client_is(int pid);
76 #endif /* __STTD_CLIENT_DATA_H_ */