|
API Guide Home (Online version only) |
![]() |
00001 /****************************************************************************** 00002 * Copyright (c) 2005 palmOne, Inc. or its subsidiaries. 00003 * All rights reserved. 00004 *****************************************************************************/ 00005 /** 00006 *@ingroup System 00007 * 00008 */ 00009 00010 /** 00011 * @file palmOneFeatures.h 00012 * @version 1.0 00013 * @date 02/29/2002 00014 * 00015 * @brief Contains Palm-specific feature definitions. 00016 * 00017 * <hr> 00018 */ 00019 00020 #ifndef __PALMONEFEATURES_H__ 00021 #define __PALMONEFEATURES_H__ 00022 00023 /** 00024 * The following feature should be defined on all devices that support hi-res 00025 * screens & include NotePad 2.0 or higher. As the OS does not yet provide a 00026 * method for the desktop SW/conduits to query the handheld in order to 00027 * determine the density capabilities of the device, this feature has been 00028 * added. By testing the presence/content of this feature, the device can 00029 * properly convert any old lo-density RLE data to be hi-density PNG data on 00030 * the first hotsync to the device rather than have to do a note-by-note 00031 * conversion at run time on the handheld the first time each old note has been 00032 * opened. 00033 */ 00034 #define densityFtrCreator 'dnsT' /**< */ 00035 #define densityFtrVersion 0 /**< */ 00036 /** 00037 * one of the DensityType values defined in the Bitmap.h file should be stored 00038 * in this feature designating the density supported by the device. 00039 */ 00040 00041 /** 00042 * @name 00043 * 00044 */ 00045 /*@{*/ 00046 #define screenFtrCreator 'scnP' /**< Creator for screen feature */ 00047 #define dpiFtrValue 1 /**< Screen DPI feature */ 00048 /*@}*/ 00049 00050 /** 00051 * @name Headset feature 00052 * 00053 */ 00054 /*@{*/ 00055 #define headsetFtrCreator 'hseT' /**< */ 00056 #define headsetFtrVersion 0 /**< */ 00057 /*@}*/ 00058 00059 /** 00060 * @name 00061 * 00062 */ 00063 /*@{*/ 00064 #define sysExternalHeadsetInsertEvent 'hsiN' /**< Broadcast when headset is inserted */ 00065 #define sysExternalHeadsetRemoveEvent 'hsrM' /**< Broadcast when headset is removed */ 00066 /*@}*/ 00067 00068 /** 00069 * Hard Disk Spinup notification 00070 * 00071 * Notification sent by the hard disk slot driver that the disk has spun up 00072 * 00073 */ 00074 #define sysNotifyHardDiskSpinup 'HSPU' 00075 00076 /** 00077 * External dialog open/close from backgound task notification 00078 * 00079 * These notifications should be sent by a background task if it wants to 00080 * open a new/close a dialog. This notification should be used in conjunction 00081 * with checking the SysUIBusy flag. The logic to be used is as follows: 00082 * if (!SysUIBusy) 00083 * display dialog 00084 * else 00085 * call SysNotifyBroadcast with sysNotifyExternalDialogOpenedEvent 00086 * if (!SysUIBusy) 00087 * display dialog 00088 * 00089 * The foreground application should also be prepared to handle this event 00090 * especially if it is using the LCD overlay. It should be prepared to receive 00091 * more than one such notification by keeping a count of open dialog event. 00092 * This count should be decremented for every 00093 * sysNotifyExternalDialogClosedEvent. Only when this count becomes zero should 00094 * the application restart using the display (LCD overlay). 00095 * 00096 */ 00097 #define sysNotifyExternalDialogOpenedEvent 'edgO' /**< Broadcast before opening a dialog */ 00098 #define sysNotifyExternalDialogClosedEvent 'edgC' /**< Broadcast after closing the dialog */ 00099 00100 00101 00102 /** 00103 * @name USB features 00104 * 00105 * These features provide information on the USB capabilities of the device. 00106 * 00107 */ 00108 /*@{*/ 00109 #define pmUsbFtrCreator 'pUSB' /**< Creator for USB feature */ 00110 #define pmUsbFtrVersion 0 /**< USB feature number */ 00111 00112 00113 #define USBFeatureCreator 'fUSB' 00114 #define USBFeatureVersion 0 00115 00116 #define kUSBMTP 0x0001 00117 #define kUSBTransfer 0x0002 00118 #define kUSBHotSync 0x0004 00119 #define kUSBDriveMode 0x0008 00120 #define kUSBConsole 0x0010 00121 #define kUSBDUN 0x0020 00122 #define kUSBLogging 0x0040 00123 00124 #define USBSpeedCreator 'sUSB' 00125 #define USBSpeedVersion 0 00126 00127 #define kUSBFSClient 0x0001 00128 #define kUSBHSClient 0x0002 00129 #define kUSBFSOnTheGo 0x0004 00130 #define kUSBHSOnTheGo 0x0008 00131 #define kUSBFSOnTheGoMultiDevice 0x0010 00132 #define kUSBHSOnTheGoMultiDevice 0x0020 00133 00134 #define USBChargeCreator 'cUSB' 00135 #define USBChargeVersion 0 00136 00137 #define kUSB500mACharge 0x0001 00138 00139 #define USBHwrCreator 'hUSB' 00140 #define USBHwrVersion 0 00141 00142 #define kUSBMiniConnector 0x0001 00143 #define kUSBMultiConnector 0x0002 00144 00145 #define irFtrVersionNumber 1 00146 #define irFtrLowBatteryLevel 1 00147 00148 /*@}*/ 00149 00150 00151 00152 00153 #endif // __PALMONEFEATURES_H__
| Top | Palm Developer Network © 2004-2008, Palm, Inc. All rights reserved. Generated on Fri Jun 13 10:06:54 2008 for Palm API Guide |