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)
void CreateMenuBar (CP_MenuBar *inMenuBar)
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  ) 
 

Constructor.

Exceptions:
none 

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

Desstructor.

Exceptions:
none 


Member Function Documentation

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

Returns the single instance of this object.

Exceptions:
none 
Returns:
CP_InterfaceStyle Returns the single instance of this class.

CP_E_InterfaceStyle CP_Environment::CP_InterfaceStyle::GetStyle  ) 
 

void CP_Environment::CP_InterfaceStyle::SetStyle CP_E_InterfaceStyle  inMenuBarStyle  ) 
 

void CP_Environment::CP_InterfaceStyle::CreateMenuBar CP_MenuBar inMenuBar  ) 
 

Type of interface used in CPLAT application.


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 Sat Sep 17 20:02:37 2005 for CPLAT by  doxygen 1.4.0