4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: JuHak Park <juhaki.park@samsung.com>,
7 * JuneHyuk Lee <junhyuk7.lee@samsung.com>,
8 * SunBong Ha <sunbong.ha@samsung.com>
10 * Licensed under the Apache License, Version 2.0 (the "License");
11 * you may not use this file except in compliance with the License.
12 * You may obtain a copy of the License at
14 * http://www.apache.org/licenses/LICENSE-2.0
16 * Unless required by applicable law or agreed to in writing, software
17 * distributed under the License is distributed on an "AS IS" BASIS,
18 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 * See the License for the specific language governing permissions and
20 * limitations under the License.
29 * For any sort of issue you concern as to this software,
30 * you may use following point of contact.
31 * All resources contributed on this software
32 * are orinigally written by S-Core Inc., a member of Samsung Group.
34 * SeongWon Shim <seongwon.shim@samsung.com>
38 * @OMA_DS_Event_Handler.h
40 * @brief This file is the header file of interface for event callback function(from UI)
43 #ifndef OMA_DS_EVENT_HANDLER_H_
44 #define OMA_DS_EVENT_HANDLER_H_
47 #include "agent-framework/Event/Event_Handler.h"
50 * @par Description: This API is event callback function for add account
54 * @par Typical use case:
55 * @par Method of function operation:
56 * @par Important notes:
57 * @param[in] buffer for incomming parameter
58 * @param[in] buffer for outgoing parameter
61 * @return 0 on success
74 /*TODO have to be removed after removing vconf*/
75 int event_callback_add_account(Event_Data *request, Event_Data *response);
78 * @par Description: This API is event callback function for edit account
82 * @par Typical use case:
83 * @par Method of function operation:
84 * @par Important notes:
85 * @param[in] buffer for incomming parameter
86 * @param[in] buffer for outgoing parameter
89 * @return 0 on success
102 /*TODO have to be removed after removing vconf*/
103 int event_callback_edit_account(Event_Data *request, Event_Data *response);
106 * @par Description: This API is event callback function for auto configure
110 * @par Typical use case:
111 * @par Method of function operation:
112 * @par Important notes:
113 * @param[in] buffer for incomming parameter
114 * @param[in] buffer for outgoing parameter
117 * @return 0 on success
130 /*TODO have to be removed after removing vconf*/
131 int event_callback_auto_configure(Event_Data *request, Event_Data *response);
134 * @par Description: This API is event callback function for add profile
138 * @par Typical use case:
139 * @par Method of function operation:
140 * @par Important notes:
141 * @param[in] buffer for incomming parameter
142 * @param[in] buffer for outgoing parameter
145 * @return 0 on success
158 int event_callback_add_profile_sync(Event_Data *request, Event_Data *response);
161 * @par Description: This API is event callback function for edit profile
165 * @par Typical use case:
166 * @par Method of function operation:
167 * @par Important notes:
168 * @param[in] buffer for incomming parameter
169 * @param[in] buffer for outgoing parameter
172 * @return 0 on success
185 int event_callback_edit_profile_sync(Event_Data *request, Event_Data *response);
188 * @par Description: This API is event callback function for delete profile
192 * @par Typical use case:
193 * @par Method of function operation:
194 * @par Important notes:
195 * @param[in] buffer for incomming parameter
196 * @param[in] buffer for outgoing parameter
199 * @return 0 on success
212 int event_callback_delete_profile_sync(Event_Data *request, Event_Data *response);
215 * @par Description: This API is event callback function for request sync
219 * @par Typical use case:
220 * @par Method of function operation:
221 * @par Important notes:
222 * @param[in] buffer for incomming parameter
223 * @param[in] buffer for outgoing parameter
226 * @return 0 on success
239 int event_callback_request_sync_async(Event_Data *request, Event_Data *response);
242 * @par Description: This API is event callback function for auto configure
246 * @par Typical use case:
247 * @par Method of function operation:
248 * @par Important notes:
249 * @param[in] buffer for incomming parameter
250 * @param[in] buffer for outgoing parameter
253 * @return 0 on success
266 int event_callback_auto_configure_async(Event_Data *request, Event_Data *response);
269 * @par Description: This API is event callback function for cancel sync
273 * @par Typical use case:
274 * @par Method of function operation:
275 * @par Important notes:
276 * @param[in] buffer for incomming parameter
277 * @param[in] buffer for outgoing parameter
280 * @return 0 on success
293 int event_callback_cancel_sync_async(Event_Data *request, Event_Data *response);
296 * @par Description: This API is event callback function for query sync status
300 * @par Typical use case:
301 * @par Method of function operation:
302 * @par Important notes:
303 * @param[in] buffer for incomming parameter
304 * @param[in] buffer for outgoing parameter
307 * @return 0 on success
320 int event_callback_query_sync_status_async(Event_Data *request, Event_Data *response);
323 * @par Description: This API is event callback function for getting profile name
327 * @par Typical use case:
328 * @par Method of function operation:
329 * @par Important notes:
330 * @param[in] buffer for incomming parameter
331 * @param[in] buffer for outgoing parameter
334 * @return 0 on success
347 int event_callback_get_profile_name_sync(Event_Data *request, Event_Data *response);
350 * @par Description: This API is event callback function for getting profile server information
354 * @par Typical use case:
355 * @par Method of function operation:
356 * @par Important notes:
357 * @param[in] buffer for incomming parameter
358 * @param[in] buffer for outgoing parameter
361 * @return 0 on success
374 int event_callback_get_profile_server_info_sync(Event_Data *request, Event_Data *response);
377 * @par Description: This API is event callback function for getting profile sync mode
381 * @par Typical use case:
382 * @par Method of function operation:
383 * @par Important notes:
384 * @param[in] buffer for incomming parameter
385 * @param[in] buffer for outgoing parameter
388 * @return 0 on success
401 int event_callback_get_profile_sync_mode_sync(Event_Data *request, Event_Data *response);
404 * @par Description: This API is event callback function for getting profile sync category
408 * @par Typical use case:
409 * @par Method of function operation:
410 * @par Important notes:
411 * @param[in] buffer for incomming parameter
412 * @param[in] buffer for outgoing parameter
415 * @return 0 on success
428 int event_callback_get_profile_sync_category_sync(Event_Data *request, Event_Data *response);
431 * @par Description: This API is event callback function for last session information
435 * @par Typical use case:
436 * @par Method of function operation:
437 * @par Important notes:
438 * @param[in] buffer for incomming parameter
439 * @param[in] buffer for outgoing parameter
442 * @return 0 on success
455 int event_callback_get_profile_last_session_sync(Event_Data *request, Event_Data *response);
458 * @par Description: This API is event callback function for last statistics
462 * @par Typical use case:
463 * @par Method of function operation:
464 * @par Important notes:
465 * @param[in] buffer for incomming parameter
466 * @param[in] buffer for outgoing parameter
469 * @return 0 on success
482 int event_callback_get_profile_last_statistics_sync(Event_Data *request, Event_Data *response);
485 * @par Description: This API is event callback function for add profile for CP
489 * @par Typical use case:
490 * @par Method of function operation:
491 * @par Important notes:
492 * @param[in] buffer for incomming parameter
493 * @param[in] buffer for outgoing parameter
496 * @return 0 on success
509 int event_callback_add_profile_cp_sync(Event_Data *request, Event_Data *response);
511 #endif /* OMA_DS_EVENT_HANDLER_H_ */