API Guide Home
(Online version only)

HsPhoneAudioTypes.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    HsPhoneAudioTypes.h
00013  *
00014  * @brief  File contains Phone Audio data types.
00015  *
00016  *                  
00017  */
00018 
00019 
00020 #ifndef __HS_PHONE_AUDIO_TYPES_H__
00021 
00022 #define __HS_PHONE_AUDIO_TYPES_H__
00023 
00024 #include <PalmTypes.h>
00025 
00026 #include <PalmOS.h>
00027 #include <PalmTypes.h>
00028 #ifndef __CORE_COMPATIBILITY_H__
00029 #include <PalmCompatibility.h>
00030     /** workaround for differing header files in sdk-3.5 and sdk-internal */
00031     #ifndef __CORE_COMPATIBILITY_H__
00032     #define __CORE_COMPATIBILITY_H__
00033     #endif 
00034 #endif 
00035 #include <HsPhoneTraps.h>     /** trap table definition for phone library calls */
00036 #include <HsPhoneErrors.h>    /** error codes returned by phone library functions */
00037 #include <HsPhoneTypes.h>
00038 
00039 
00040 /**
00041  *  @name Phone slider switch
00042  */
00043 /*@{*/
00044 #define kSliderLow          0   /**<        */
00045 #define kSliderHigh         1   /**<        */
00046 #define kSliderPositions    2       /**<        */
00047 /*@}*/
00048 
00049 /**
00050  *
00051  **/
00052 typedef struct
00053   {
00054     UInt8            ringerID;      /**<        */
00055     UInt16            volume;       /**<        */
00056     Boolean         vibrate;        /**<        */
00057     Boolean         msgAlert;       /**<        */
00058     Boolean         svcAlert;       /**<        */
00059   }
00060 PhnRingingProfileType;
00061 
00062 /**
00063  *
00064  **/
00065 typedef enum
00066   {
00067     phnTTYSettingAll,                /**< Send/Receive Text  */
00068     phnTTYSettingVoiceCarryOver,     /**< Send Voice/ Receive Text  */
00069     phnTTYSettingHearCarryOver,      /**< Send Text / Receive Voice  */
00070     phnTTYSettingOff            /**< Send/Receive Voice -- NORMAL mode  */
00071   }
00072 _PhnTTYSetting;
00073 
00074 
00075 typedef UInt8 PhnTTYSetting;        /**<        */
00076 
00077 typedef Boolean PhnHACSetting;
00078 
00079 /**
00080  * Item description here
00081  **/
00082 typedef struct {
00083     PhnRingingProfileType profiles[kSliderPositions];   /**<        */
00084 } PhnRingingInfoType, * PhnRingingInfoPtr;          /**<        */
00085 
00086 /**
00087  *
00088  **/
00089 typedef enum 
00090 {
00091   phnAudioLocalMode,        /**<        */
00092   phnAudioSilentMode,       /**<        */
00093   phnAudioNetworkMode       /**<        */
00094 }_PhnAudioSendMode;
00095 
00096 
00097 typedef UInt8 PhnAudioSendMode;     /**<        */
00098 
00099 #endif // __HS_PHONE_AUDIO_TYPES_H__

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