LGlobalsContext is a PowerPlant class that is a mix-in for any class which needs to save the A5 or A4 (global variables) context for use in a Toolbox callback.
Methods :
The methods in this class are:
Data Members:
The data members in this class are:
Operation:
This class is defined as a null class for PowerPC or 68K CFM builds. Designed to be used in concert with StSetupGlobals.
Source files:
See also:
Purpose:
The constructor creates the object, saving global variables context. Assumes that the global variables register (either A5 or A4) is correct at this time. On PowerPC or 68K CFM, it does nothing.
Access :
Prototype:
inline LGlobalsContext();Parameters:
Purpose:
The destructor destroys the object.
Access :
Prototype:
inline ~LGlobalsContext();
Purpose:
Returns the value of mSavedGlobals.
Access :
Prototype:
inline SInt32 GetGlobals();Parameters:
Return:
The value of mSavedGlobals.
Purpose:
The saved globals in A5 or A4.
Access :
Prototype:
SInt32 mSavedGlobals;