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

Device Class Reference

Low level device operations. More...

#include <Device.h>

List of all members.

Static Public Methods

void init ()
 Initialize the Device subsystem. More...

void panic (Err error, Char* message)
 PANIC!! Display a message to the user, then exit with a soft reset. More...

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


Static Public Attributes

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

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

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


Detailed Description

Low level device operations.

Definition at line 35 of file Device.h.


Member Function Documentation

void Device::init ( ) [static]
 

Initialize the Device subsystem.

This operation needs to be invoked before all others.

Definition at line 44 of file Device.cpp.

void Device::panic ( Err error,
Char * message ) [static]
 

PANIC!! Display a message to the user, then exit with a soft reset.

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).

Definition at line 37 of file Device.cpp.

Referenced by operator new(), and operator new[]().

Err Device::romVersionCompatible ( UInt32 requiredVersion,
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.

Definition at line 56 of file Device.cpp.


Member Data Documentation

Boolean Device::supports30 [static]
 

Does the Palm device support Palm OS 3.0 Feature Set?

Definition at line 66 of file Device.h.

Boolean Device::supports31 [static]
 

Does the Palm device support Palm OS 3.1 Feature Set?

Definition at line 68 of file Device.h.

Boolean Device::supports35 [static]
 

Does the Palm device support Palm OS 3.5 Feature Set?

Definition at line 70 of file Device.h.


The documentation for this class was generated from the following files:
Razor! Engine Developer's Guide. Copyright © by Tilo Christ. All Rights Reserved. Last updated: 4 Nov 2000