Main Page | Modules | Namespace List | Class Hierarchy | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

alarmmgr.h

Go to the documentation of this file.
00001 /********************************************************************
00002 
00003 Copyright 2006, ACCESS Systems Americas, Inc. All rights reserved.
00004 
00005 The contents of this file are subject to the Mozilla Public License Version
00006 1.1 (the "License"); you may not use this file except in compliance with
00007 the License. You may obtain a copy of the License at
00008 http://www.mozilla.org/MPL/
00009 
00010 Software distributed under the License is distributed on an "AS IS" basis,
00011 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
00012 for the specific language governing rights and limitations under the
00013 License.
00014 
00015 The Original Code is the entire contents of this file.
00016 
00017 The Initial Developer of the Original Code is ACCESS Systems Americas, Inc.
00018 
00019 Portions created by ACCESS Systems Americas, Inc. are Copyright © 2006. All
00020 Rights Reserved.
00021 
00022 Contributor(s): none.
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 }       // extern "C"
00104 #endif
00105 
00106 #endif  /*  __ALP_ALARMMGR_H__ */
00107 

Generated on Sat Dec 16 20:29:47 2006 for hiker-0.9 by  doxygen 1.4.4