3 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 * Licensed under the Apache License, Version 2.0 (the License);
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
18 #ifndef DM_PLATFORM_EVENT_HANDLER_H_
19 #define DM_PLATFORM_EVENT_HANDLER_H_
22 #include "framework/platform-event-handler/dm_platform_event_handler_internal.h"
25 * @par Description: API to dm wap push incomming callback
29 * @par Typical use case:
30 * @par Method of function operation:
31 * @par Important notes:
33 * @param[in] user data
35 * @return DM_OK success
49 int dm_wap_push_incomming_callback(int item_id, void *user_data);
52 * @par Description: API to dm wap push operation callback
56 * @par Typical use case:
57 * @par Method of function operation:
58 * @par Important notes:
60 * @param[in] user data
62 * @return DM_OK success
76 int dm_wap_push_operation_callback(int item_id, void *user_data);
79 * @par Description: API to dm ip push callback
83 * @par Typical use case:
84 * @par Method of function operation:
85 * @par Important notes:
87 * @param[in] user data
89 * @return DM_OK success
103 int dm_ip_push_callback(int item_id, void *user_data);
106 * @par Description: API to telephony incomming callback
110 * @par Typical use case:
111 * @par Method of function operation:
112 * @par Important notes:
114 * @param[in] user data
116 * @return DM_OK success
130 int dm_telephony_incomming_callback(int item_id, void *user_data);
133 * @par Description: API to telephony end callback
137 * @par Typical use case:
138 * @par Method of function operation:
139 * @par Important notes:
141 * @param[in] user data
143 * @return DM_OK success
157 int dm_telephony_end_callback(int item_id, void *user_data);
160 * @par Description: API to network on callback
164 * @par Typical use case:
165 * @par Method of function operation:
166 * @par Important notes:
168 * @return DM_OK success
182 int network_on_callback();
185 * @par Description: API to network off callback
189 * @par Typical use case:
190 * @par Method of function operation:
191 * @par Important notes:
207 int network_off_callback();
210 * @par Description: API to network change callback
214 * @par Typical use case:
215 * @par Method of function operation:
216 * @par Important notes:
232 int network_change_callback();
235 * @par Description: API to alarm_callback
239 * @par Typical use case:
240 * @par Method of function operation:
241 * @par Important notes:
257 int alarm_callback(int item_id, void *user_data);
260 * @par Description: API to event_data_free
264 * @par Typical use case:
265 * @par Method of function operation:
266 * @par Important notes:
268 * @param[in] event data
284 void event_data_free(void *pEvent_data);
286 #endif /* DM_PLATFORM_EVENT_HANDLER_H_ */