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 OMA_DM_TASK_ENABLE_H_
19 #define OMA_DM_TASK_ENABLE_H_
22 #include "common/dm_error.h"
23 #include "common/dm_common.h"
24 #include "framework/platform-event-handler/dm_platform_event_handler.h"
25 #include "dm-engine/fumo/fumo_engine.h"
26 #include "dm-engine/lawmo/lawmo_engine.h"
29 * @par Description: API to init dm task request
33 * @par Typical use case:
34 * @par Method of function operation:
35 * @par Important notes:
37 * @return DM_OK success
51 DM_ERROR dm_init_task_request();
54 * @par Description: API to reset dm task request
58 * @par Typical use case:
59 * @par Method of function operation:
60 * @par Important notes:
62 * @return DM_OK success
76 DM_ERROR dm_reset_task_request();
79 * @par Description: API to bootstrap task request
83 * @par Typical use case:
84 * @par Method of function operation:
85 * @par Important notes:
87 * @return DM_OK success
101 DM_ERROR bootstrap_task_request();
104 * @par Description: API to dm common task request
108 * @par Typical use case:
109 * @par Method of function operation:
110 * @par Important notes:
111 * @param[in] event_data Event_data
113 * @return DM_OK success
127 DM_ERROR dm_fumo_common_task_request(Event_Contents * pEvent_data);
130 * @par Description: API to dm common task request
134 * @par Typical use case:
135 * @par Method of function operation:
136 * @par Important notes:
137 * @param[in] event_data Event_data
139 * @return DM_OK success
153 DM_ERROR dm_fumo_ui_task_request(Event_Contents * pEvent_data);
156 * @par Description: API to dm common task request
160 * @par Typical use case:
161 * @par Method of function operation:
162 * @par Important notes:
163 * @param[in] event_data Event_data
165 * @return DM_OK success
179 DM_ERROR dm_lawmo_common_task_request(Event_Contents * pEvent_data);
182 * @par Description: API to gemericalert task request
186 * @par Typical use case:
187 * @par Method of function operation:
188 * @par Important notes:
190 * @return DM_OK success
204 DM_ERROR genericAlert_task_request();
207 * @par Description: API to fumo serviceengine task request
211 * @par Typical use case:
212 * @par Method of function operation:
213 * @par Important notes:
215 * @return DM_OK success
229 DM_ERROR fumo_serviceEngine_task_request();
232 * @par Description: API to lawmo serviceengine task request
236 * @par Typical use case:
237 * @par Method of function operation:
238 * @par Important notes:
240 * @return DM_OK success
254 DM_ERROR lawmo_serviceEngine_task_request();
257 * @par Description: API to service engine task request
261 * @par Typical use case:
262 * @par Method of function operation:
263 * @par Important notes:
264 * @param[in] Reminder_Interval Reminder Interval
266 * @return DM_OK success
280 DM_ERROR fumo_schedule_task_request(Reminder_Interval remider_interval_type);
283 * @par Description: API to cancel task
287 * @par Typical use case:
288 * @par Method of function operation:
289 * @par Important notes:
292 * @return DM_OK success
306 void cancel_task(int task_id);
308 #endif /* OMA_DM_TASK_ENABLE_H_ */