API Guide Home
(Online version only)

HsPhoneCallControlTypes.h

Go to the documentation of this file.
00001 /******************************************************************************
00002  * Copyright (c) 2004 palmOne, Inc. or its subsidiaries.
00003  * All rights reserved.
00004  *****************************************************************************/
00005 /** @ingroup Telephony
00006  *
00007  */
00008  
00009  
00010 /** 
00011  *
00012  * @file HsPhoneCallControlTypes.h
00013  *
00014  * @brief  Types for Phone Library call control functionality
00015  *
00016  *                  
00017  */
00018 
00019 
00020 #ifndef HS_PHONE_CALL_CONTROL_TYPES__H
00021 #define HS_PHONE_CALL_CONTROL_TYPES__H
00022 /**
00023  * Phone connection state
00024  **/
00025 typedef enum
00026   {
00027     phnConnectionActive,        /**<        */
00028     phnConnectionHeld,          /**<        */
00029     phnConnectionDialing,       /**<        */
00030     phnConnectionAlerting,      /**<        */
00031     phnConnectionIncoming,      /**<        */
00032     phnConnectionWaiting,       /**<        */
00033     phnConnectionUnknown,       /**<        */
00034     phnConnectionDormant
00035   } _PhnConnectStateType;
00036 
00037 typedef UInt8       PhnConnectStateType; 
00038 #define isValidPhnConnectStateType(c) ((c >= phnConnectionActive) && (c <= phnConnectionDormant))
00039 
00040 /**< meaning of feature bits in a GSMSATEventMenuRec */
00041 
00042 
00043 
00044 /**
00045  * Phone connection info
00046  **/
00047 typedef struct
00048   {
00049     PhnConnectionID id;         /**<        */
00050     PhnConnectStateType state;      /**<        */
00051     PhoneServiceClassType service;  /**<        */
00052     Boolean         incoming;       /**<        */
00053     Boolean         multiparty;     /**<        */
00054     PhnAddressHandle address;       /**<        */
00055     DWord           owner;      /**<        */
00056     Int16           lineNumber;     /**<        */
00057   }
00058 PhnConnectionType,* PhnConnectionPtr;
00059 #endif
00060 

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