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

CP_Environment::CP_InterfaceStyle Class Reference

A singleton class to manage the interface style used in CPLAT applications.

Inheritance diagram for CP_Environment::CP_InterfaceStyle:

CP_NoCopy List of all members.

Public Types

enum  CP_E_InterfaceStyle { CP_E_InterfaceStyle_MDI = (1 << 0), CP_E_InterfaceStyle_MenuBar = (1 << 1), CP_E_InterfaceStyle_SDI = (1 << 2) }

Public Member Functions

CP_E_InterfaceStyle GetStyle ()
void SetStyle (CP_E_InterfaceStyle inMenuBarStyle)
Constructor / Destructor
 CP_InterfaceStyle ()
 Constructor.
virtual ~CP_InterfaceStyle () throw ()
 Destructor.

Static Public Member Functions

Instance
static CP_InterfaceStyleInstance ()

Protected Attributes

CP_E_InterfaceStyle fInterfaceStyle

Static Protected Attributes

static CP_InterfaceStylefsInstance = NULL

Member Enumeration Documentation

enum CP_Environment::CP_InterfaceStyle::CP_E_InterfaceStyle
 

Enumeration values:
CP_E_InterfaceStyle_MDI 
CP_E_InterfaceStyle_MenuBar 
CP_E_InterfaceStyle_SDI 


Constructor & Destructor Documentation

CP_Environment::CP_InterfaceStyle::CP_InterfaceStyle  ) 
 

virtual CP_Environment::CP_InterfaceStyle::~CP_InterfaceStyle  )  throw () [virtual]
 


Member Function Documentation

static CP_InterfaceStyle* CP_Environment::CP_InterfaceStyle::Instance  )  [static]
 

CP_E_InterfaceStyle CP_Environment::CP_InterfaceStyle::GetStyle  ) 
 

void CP_Environment::CP_InterfaceStyle::SetStyle CP_E_InterfaceStyle  inMenuBarStyle  ) 
 


Member Data Documentation

CPLAT_Begin_Namespace_CPLAT CP_Environment::CP_InterfaceStyle * CP_Environment::CP_InterfaceStyle::fsInstance = NULL [static, protected]
 

CP_E_InterfaceStyle CP_Environment::CP_InterfaceStyle::fInterfaceStyle [protected]
 

Single instance of this class.


The documentation for this class was generated from the following files:
Generated on Tue Sep 20 20:22:25 2005 for CPLAT_MacOS by  doxygen 1.4.0