ac43024b52a20843b6f9ecd8ee6429d143de42fa
[apps/core/preloaded/ciss.git] / include / ciss-tapi-request.h
1 /*\r
2  * Copyright 2012  Samsung Electronics Co., Ltd\r
3  *\r
4  * Licensed under the Flora License, Version 1.0 (the "License");\r
5  * you may not use this file except in compliance with the License.\r
6  * You may obtain a copy of the License at\r
7  *\r
8  * http://www.tizenopensource.org/license\r
9  *\r
10  * Unless required by applicable law or agreed to in writing, software\r
11  * distributed under the License is distributed on an "AS IS" BASIS,\r
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
13  * See the License for the specific language governing permissions and\r
14  * limitations under the License.\r
15  */\r
16 \r
17 #ifndef _CISS_MMI_TAPI_EVENTS_H_\r
18 #define _CISS_MMI_TAPI_EVENTS_H_\r
19 \r
20 #ifdef __cplusplus\r
21 extern "C" {\r
22 #endif /* __cplusplus */\r
23 \r
24 #include "ciss-types.h"\r
25 #include "ciss-common.h"\r
26 \r
27 /**\r
28  * This function sends request to the TAPI\r
29  *\r
30  * @return                                              This function returns CISS_ERR_NONE on success, or error type on failure.\r
31  * @param[in]           ciss_mmi_context_t      the ciss mmi context type\r
32  */\r
33 \r
34 int _ciss_tapi_event_setup(ciss_appdata_t *ad);\r
35 void _ciss_deregister_tel_event(void *);\r
36 ciss_err_t _ciss_send_tapi_request(ciss_mmi_context_t *mmi_ctx, void *data);\r
37 \r
38 int _ciss_on_tapi_sat_ss_event(void *tapi_data, void *data);\r
39 int _ciss_on_tapi_sat_ussd_event(void *tapi_data, void *data);\r
40 int _ciss_tapi_ussd_resp_handle(int result, void *tapi_data, void *data);\r
41 \r
42 #ifdef __cplusplus\r
43 }\r
44 #endif /* __cplusplus */\r
45 \r
46 #endif /* _CISS_TAPI_EVENTS_H_ */\r
47 \r