API Guide Home
(Online version only)

HsHelper.h

Go to the documentation of this file.
00001 /******************************************************************************
00002  * Copyright (c) 2004 palmOne, Inc. or its subsidiaries.
00003  * All rights reserved.
00004  *****************************************************************************/
00005  
00006 /**
00007  * @file    HsHelper.h
00008  * @version 1.0
00009  * @date    
00010  *  Description:
00011  *  Public header file for the Handspring helper functions
00012  */
00013 
00014 #ifndef HSHELPER_H
00015 #define HSHELPER_H
00016 
00017 #include <Helper.h>
00018 #define sysNotifyHelperEvent   'hlpr'
00019 
00020 /**
00021  * MACRO: HelperEnumerateEnqueueEntry
00022  *
00023  * Enqueues a node of type HelperEvtEnumerateNodeType. Each node
00024  *  must be individually allocated from the heap by the helper.
00025  *
00026  * PROTOTYPE:
00027  *    void HelperEnumNodeEnqueue(HelperNotifyEnumerateType* enumEvtDataP,
00028  *                               HelperNotifyEnumerateListType* entryP);
00029  */
00030 #define HelperEnumerateEnqueueEntry(enumEvtDataP, entryP)     \
00031   do                                                  \
00032     {                                                 \
00033     (entryP)->nextP = (enumEvtDataP)    ;     \
00034     (enumEvtDataP) = (entryP);                \
00035     }                                                 \
00036   while (0)
00037 
00038 
00039 /**
00040  * @brief Param structure for pmNotifyGetNewMsgCountFromHelper notifications
00041  *
00042  */
00043 typedef struct 
00044 {
00045   UInt32 helperServiceClass;            /**<        */
00046 } PmGetNewMsgCountNotifyParamType, * PmGetNewMsgCountNotifyParamPtr;
00047 
00048 
00049 /**
00050  * @brief Param structure for pmNotifyBroadcastNewMsgCount notifications
00051  *
00052  */
00053 typedef struct
00054 {
00055   UInt32  helperServiceClass;           /**<        */
00056   UInt16  msgCount;             /**<        */
00057 } PmBroadcastNewMsgCountNotifyParamType, * PmBroadcastNewMsgCountNotifyParamPtr;
00058 
00059 #endif

Top Palm Developer Network
© 2004-2008, Palm, Inc. All rights reserved.
Generated on Fri Jun 13 10:06:53 2008 for Palm API Guide