API Guide Home (Online version only) |

# palmOneFeatures.h File Reference

## Detailed Description

Contains Palm-specific feature definitions.

Version:
  1.0

Date:
  02/29/2002

Definition in file palmOneFeatures.h.

Go to the source code of this file.

## Defines

- #define densityFtrCreator 'dnsT'
- #define densityFtrVersion 0
- #define sysNotifyHardDiskSpinup 'HSPU'
- #define sysNotifyExternalDialogOpenedEvent 'edgO'
- #define sysNotifyExternalDialogClosedEvent 'edgC'

- #define screenFtrCreator 'scnP'
- #define dpiFtrValue 1

Headset feature

- #define headsetFtrCreator 'hseT'
- #define headsetFtrVersion 0

- #define sysExternalHeadsetInsertEvent 'hsiN'
- #define sysExternalHeadsetRemoveEvent 'hsrM'

USB features
These features provide information on the USB capabilities of the device.

- #define pmUsbFtrCreator 'pUSB'
- #define pmUsbFtrVersion 0
- #define USBFeatureCreator 'fUSB'
- #define USBFeatureVersion 0
- #define kUSBMTP 0x0001
- #define kUSBTransfer 0x0002
- #define kUSBHotSync 0x0004
- #define kUSBDriveMode 0x0008
- #define kUSBConsole 0x0010
- #define kUSBDUN 0x0020
- #define kUSBLogging 0x0040
- #define USBSpeedCreator 'sUSB'
- #define USBSpeedVersion 0
- #define kUSBFSClient 0x0001
- #define kUSBHSClient 0x0002
- #define kUSBFSOnTheGo 0x0004
- #define kUSBHSOnTheGo 0x0008
- #define kUSBFSOnTheGoMultiDevice 0x0010
- #define kUSBHSOnTheGoMultiDevice 0x0020
- #define USBChargeCreator 'cUSB'
- #define USBChargeVersion 0
- #define kUSB500mACharge 0x0001
- #define USBHwrCreator 'hUSB'
- #define USBHwrVersion 0
- #define kUSBMiniConnector 0x0001
- #define kUSBMultiConnector 0x0002
- #define irFtrVersionNumber 1
- #define irFtrLowBatteryLevel 1

## Define Documentation

#define densityFtrCreator 'dnsT'

The following feature should be defined on all devices that support hi-res screens & include NotePad 2.0 or higher. As the OS does not yet provide a method for the desktop SW/conduits to query the handheld in order to determine the density capabilities of the device, this feature has been added. By testing the presence/content of this feature, the device can properly convert any old lo-density RLE data to be hi-density PNG data on the first hotsync to the device rather than have to do a note-by-note conversion at run time on the handheld the first time each old note has been opened.

Definition at line 34 of file palmOneFeatures.h.

#define densityFtrVersion 0

Definition at line 35 of file palmOneFeatures.h.

#define dpiFtrValue 1

Screen DPI feature

Definition at line 47 of file palmOneFeatures.h.

#define headsetFtrCreator 'hseT'

Definition at line 55 of file palmOneFeatures.h.

#define headsetFtrVersion 0

Definition at line 56 of file palmOneFeatures.h.

#define irFtrLowBatteryLevel 1

Creator for USB feature

Definition at line 146 of file palmOneFeatures.h.

#define irFtrVersionNumber 1

Creator for USB feature

Definition at line 145 of file palmOneFeatures.h.

#define kUSB500mACharge 0x0001

Creator for USB feature

Definition at line 137 of file palmOneFeatures.h.

#define kUSBConsole 0x0010

Creator for USB feature

Definition at line 120 of file palmOneFeatures.h.

#define kUSBDriveMode 0x0008

Creator for USB feature

Definition at line 119 of file palmOneFeatures.h.

#define kUSBDUN 0x0020

Creator for USB feature

Definition at line 121 of file palmOneFeatures.h.

#define kUSBFSClient 0x0001

Creator for USB feature

Definition at line 127 of file palmOneFeatures.h.

#define kUSBFSOnTheGo 0x0004

Creator for USB feature

Definition at line 129 of file palmOneFeatures.h.

#define kUSBFSOnTheGoMultiDevice 0x0010

Creator for USB feature

Definition at line 131 of file palmOneFeatures.h.

#define kUSBHotSync 0x0004

Creator for USB feature

Definition at line 118 of file palmOneFeatures.h.

#define kUSBHSClient 0x0002

Creator for USB feature

Definition at line 128 of file palmOneFeatures.h.

#define kUSBHSOnTheGo 0x0008

Creator for USB feature

Definition at line 130 of file palmOneFeatures.h.

#define kUSBHSOnTheGoMultiDevice 0x0020

Creator for USB feature

Definition at line 132 of file palmOneFeatures.h.

#define kUSBLogging 0x0040

Creator for USB feature

Definition at line 122 of file palmOneFeatures.h.

#define kUSBMiniConnector 0x0001

Creator for USB feature

Definition at line 142 of file palmOneFeatures.h.

#define kUSBMTP 0x0001

Creator for USB feature

Definition at line 116 of file palmOneFeatures.h.

#define kUSBMultiConnector 0x0002

Creator for USB feature

Definition at line 143 of file palmOneFeatures.h.

#define kUSBTransfer 0x0002

Creator for USB feature

Definition at line 117 of file palmOneFeatures.h.

#define pmUsbFtrCreator 'pUSB'

Creator for USB feature

Definition at line 109 of file palmOneFeatures.h.

#define pmUsbFtrVersion 0

USB feature number

Definition at line 110 of file palmOneFeatures.h.

#define screenFtrCreator 'scnP'

Creator for screen feature

Definition at line 46 of file palmOneFeatures.h.

#define sysExternalHeadsetInsertEvent 'hsiN'

Broadcast when headset is inserted

Definition at line 64 of file palmOneFeatures.h.

#define sysExternalHeadsetRemoveEvent 'hsrM'

Broadcast when headset is removed

Definition at line 65 of file palmOneFeatures.h.

#define sysNotifyExternalDialogClosedEvent 'edgC'

Broadcast after closing the dialog

Definition at line 98 of file palmOneFeatures.h.

#define sysNotifyExternalDialogOpenedEvent 'edgO'

External dialog open/close from backgound task notification

These notifications should be sent by a background task if it wants to open a new/close a dialog. This notification should be used in conjunction with checking the SysUIBusy flag. The logic to be used is as follows: if (!SysUIBusy) display dialog else call SysNotifyBroadcast with sysNotifyExternalDialogOpenedEvent if (!SysUIBusy) display dialog

The foreground application should also be prepared to handle this event especially if it is using the LCD overlay. It should be prepared to receive more than one such notification by keeping a count of open dialog event. This count should be decremented for every sysNotifyExternalDialogClosedEvent. Only when this count becomes zero should the application restart using the display (LCD overlay). Broadcast before opening a dialog

Definition at line 97 of file palmOneFeatures.h.

#define sysNotifyHardDiskSpinup 'HSPU'

Hard Disk Spinup notification

Notification sent by the hard disk slot driver that the disk has spun up

Definition at line 74 of file palmOneFeatures.h.

#define USBChargeCreator 'cUSB'

Creator for USB feature

Definition at line 134 of file palmOneFeatures.h.

#define USBChargeVersion 0

Creator for USB feature

Definition at line 135 of file palmOneFeatures.h.

#define USBFeatureCreator 'fUSB'

Creator for USB feature

Definition at line 113 of file palmOneFeatures.h.

#define USBFeatureVersion 0

Creator for USB feature

Definition at line 114 of file palmOneFeatures.h.

#define USBHwrCreator 'hUSB'

Creator for USB feature

Definition at line 139 of file palmOneFeatures.h.

#define USBHwrVersion 0

Creator for USB feature

Definition at line 140 of file palmOneFeatures.h.

#define USBSpeedCreator 'sUSB'

Creator for USB feature

Definition at line 124 of file palmOneFeatures.h.

#define USBSpeedVersion 0

Creator for USB feature

Definition at line 125 of file palmOneFeatures.h.

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