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

attnmgr.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  *****************************************************************************/
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 /* __ALP_ATTN_H__ */

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