Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members

Device Class Reference

List of all members.

Detailed Description

Low level device operations.

Definition at line 37 of file Device.h.

Static Public Member Functions

void init () SEC_RAZOR_INIT
 Initialize the Device subsystem.

void release () SEC_RAZOR_INIT
 Release the Device subsystem.

void panic (const Char *message) SEC_RAZOR_INIT
 Display an error message to the user, then exit the application.

Err romVersionCompatible (UInt32 minVersion, UInt32 maxVersion, UInt16 launchFlags)
 Check that the ROM version is meeting your minimum requirements.

Boolean supportsTrap (UInt16 trapNum)
 Is the specified trap supported by the device?


Static Public Attributes

Boolean supports30
 Does the Palm device support Palm OS 3.0 Feature Set?

Boolean supports31
 Does the Palm device support Palm OS 3.1 Feature Set?

Boolean supports35
 Does the Palm device support Palm OS 3.5 Feature Set?

Boolean supports40
 Does the Palm device support Palm OS 4.0 Feature Set?

Boolean supports50
 Does the Palm device support Palm OS 5.0 Feature Set?

Boolean isArmed
 Is the device equipped with an ARM processor?

UInt32 creatorID
 The Creator ID of the currently running app.

UInt16 appVersionNum
 The application version of the currently running app.


Member Function Documentation

void Device::init   [static]
 

Initialize the Device subsystem.

This operation needs to be invoked before all others.

void Device::release   [static]
 

Release the Device subsystem.

This operation needs to be invoked before application shutdown.

void Device::panic const Char *    message [static]
 

Display an error message to the user, then exit the application.

Invoke this operation in case of an unresolvable runtime problem that is not your fault (e.g. low memory). Use the macros from the ErrorManager for all problems which are your fault (i.e. which will be ironed out in the release version).

Err Device::romVersionCompatible UInt32    minVersion,
UInt32    maxVersion,
UInt16    launchFlags
[static]
 

Check that the ROM version is meeting your minimum requirements.

Parameters:
requiredVersion minimum ROM version required (see sysFtrNumROMVersion in SystemMgr.h for format)
launchFlags flags that indicate if the application UI is initialized.
Returns:
sysErrRomIncompatible, or errNone.

Boolean Device::supportsTrap UInt16    trapNum [static]
 

Is the specified trap supported by the device?


Member Data Documentation

Boolean Device::supports30 [static]
 

Does the Palm device support Palm OS 3.0 Feature Set?

Definition at line 73 of file Device.h.

Boolean Device::supports31 [static]
 

Does the Palm device support Palm OS 3.1 Feature Set?

Definition at line 75 of file Device.h.

Boolean Device::supports35 [static]
 

Does the Palm device support Palm OS 3.5 Feature Set?

Definition at line 77 of file Device.h.

Boolean Device::supports40 [static]
 

Does the Palm device support Palm OS 4.0 Feature Set?

Definition at line 79 of file Device.h.

Boolean Device::supports50 [static]
 

Does the Palm device support Palm OS 5.0 Feature Set?

Definition at line 81 of file Device.h.

Boolean Device::isArmed [static]
 

Is the device equipped with an ARM processor?

Definition at line 84 of file Device.h.

UInt32 Device::creatorID [static]
 

The Creator ID of the currently running app.

Definition at line 93 of file Device.h.

UInt16 Device::appVersionNum [static]
 

The application version of the currently running app.

Definition at line 95 of file Device.h.


The documentation for this class was generated from the following file:
Razor! Engine Developer's Guide. Copyright © by Tilo Christ. All Rights Reserved. Last updated: 31 May 2003