00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00031 #ifndef __ALP_ALARMMGR_H__
00032 #define __ALP_ALARMMGR_H__
00033
00034 #include <glib.h>
00035 #include <hiker/types.h>
00036 #include <hiker/sysclass.h>
00037
00038 #ifdef __cplusplus
00039 extern "C"
00040 {
00041 #endif
00042
00049 #define ALP_ALARM_MAX_APPID_SIZE 64
00050
00051
00056 #define ALP_STATUS_ALARM_NO_MEMORY (ALP_CLASS_ALARM | 0x00010000)
00057
00058 #define ALP_STATUS_ALARM_BAD_PARAM (ALP_CLASS_ALARM | 0x00020000)
00059
00060 #define ALP_STATUS_ALARM_IPC (ALP_CLASS_ALARM | 0x00030000)
00061
00062
00076 alp_status_t alp_alm_set_alarm (const gchar *appID,
00077 guint32 ref,
00078 guint32 alarmSeconds);
00079
00080
00096 alp_status_t alp_alm_get_alarm(const gchar *appID,
00097 guint32 ref,
00098 guint32 *alarmSeconds);
00099
00102 #ifdef __cplusplus
00103 }
00104 #endif
00105
00106 #endif
00107