00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00032 #ifndef __ALP_ATTN_H__
00033 #define __ALP_ATTN_H__
00034
00035 #include <hiker/attnmgr_common.h>
00036
00037 #ifdef __cplusplus
00038 extern "C" {
00039 #endif
00040
00049
00050
00148 alp_status_t alp_attn_alert_post (const char *sourceAppId,
00149 const char *alertTypeName,
00150 const char *handle,
00151 const char *interface,
00152 int32_t priority,
00153 int32_t duration,
00154 uint32_t nprops,
00155 AlpAttnProp *properties[]);
00156
00175 typedef void (*AlpAttnAlertCB)(const char *sourceAppId,
00176 const char *alertTypeName,
00177 const char *handle,
00178 int argc,
00179 char *argv[],
00180 void *user_data);
00294 alp_status_t alp_attn_alert_post_with_callback (
00295 const char *sourceAppId,
00296 const char *alertTypeName,
00297 const char *handle,
00298 const char *interface,
00299 int32_t priority,
00300 int32_t duration,
00301 uint32_t nprops,
00302 AlpAttnProp *properties[],
00303 AlpAttnAlertCB callback,
00304 void *user_data);
00305
00336 alp_status_t alp_attn_alert_update (const char *sourceAppId,
00337 const char *alertTypeName,
00338 const char *handle,
00339 uint32_t nprops,
00340 AlpAttnProp *properties[]);
00341
00362 alp_status_t alp_attn_alert_delete (const char *sourceAppId,
00363 const char *alertTypeName,
00364 const char *handle);
00365
00366
00367
00368 #ifdef __cplusplus
00369 }
00370 #endif
00371
00372 #endif