Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CP_StPortSaver Class Reference

List of all members.

Public Member Functions

Constructor / Destructor
 CP_StPortSaver ()
 Constructor.
virtual ~CP_StPortSaver ()
 Destructor.
Save / Restore
void Save ()
void Restore ()

Protected Attributes

GWorldPtr fSavedPort
GDHandle fSavedDevice

Constructor & Destructor Documentation

CPLAT_Begin_Namespace_CPLAT CP_StPortSaver::CP_StPortSaver  ) 
 

Constructor. This routine calls save and the destructor will call restore.

CP_StPortSaver::~CP_StPortSaver  )  [virtual]
 

Destructor. This will restore the last saved port.


Member Function Documentation

void CP_StPortSaver::Save  ) 
 

Saved the current MacOS GWorld.

void CP_StPortSaver::Restore  ) 
 

Restore a previously saved MacOS GWorld.


Member Data Documentation

GWorldPtr CP_StPortSaver::fSavedPort [protected]
 

GDHandle CP_StPortSaver::fSavedDevice [protected]
 

Saved GWorldPtr


The documentation for this class was generated from the following files:
Generated on Sat Sep 17 20:02:16 2005 for CPLAT by  doxygen 1.4.0