PSystem

This class is used to implement some globally available static functions. You cannot (and need not) create instances of this class.


Synopsis

#include <PLSys.h>

Derivation

  • PBaseObj
  • PSystem
  • Constructors

    You can't create Instances of this class.

    Public functions

        static void PSystem::init(char*, DWord);
        PCLInit(DWord appId);
    
    Please do not call PSystem::init, instead, call the PCLInit macro, as this will try to call the global constructors.


        static void PSystem::fatalMessage(const char* msg);
    
    Displays a message, including file and line number, and a reset button.


        static Word PSystem::sysMessage(char *s1=0, *s2 = 0, *s3 = 0);
    
    Displays a non-fatal message box (title "PCL Information") with an 'OK' and a 'Cancel' button. Returns 0 for 'OK' pressed, 1 for 'Cancel'.


        static PString PSystem::versionString();
    
    Returns the PCL version as string (something like "0.2.0").


        static int PSystem::palmOSVer()
    
    Returns the major PalmOS version (1, 2, ...).


       static DWord   PSystem::appId();
       static PString PSystem::appIdString();
    
    Return the application id used in the constructor either as DWord ('myAp') or as PString ("myAp").