NLS Engine  v0.1
The Next Logical Step in game engine design.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines
Public Member Functions | Static Public Member Functions
OSInterface Class Reference
Inheritance diagram for OSInterface:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual boost::any CreateGUIWindow (int, int, std::string, WINDOW_FLAGS=WINDOW_OUTER_SIZE)=0
 Creates the platform specific window and returns the handle as a boost::any.
virtual void ShowInfo (std::string, std::string=NLS_I18N::TITLE_INFO)=0
 Displays a message alerting the user to some non-critical information. Displays a confirmation button. Parameters are: body text, window title. DOES NOT LOG TO DISK.
virtual void ShowWarning (std::string, std::string=NLS_I18N::TITLE_WARNING)=0
 Displays a message alerting the user to a non-critical problem. Displays a confirmation button. Parameters are: body text, window title. DOES NOT LOG TO DISK.
virtual void ShowError (std::string, std::string=NLS_I18N::TITLE_CRITICAL)=0
 Displays a message alerting the user to a critical problem. Displays a confirmation button. Parameters are: body text, window title. DOES NOT LOG TO DISK.
virtual void RouteMessages ()=0
 Handles message routing from the OS to the respective functions or methods.
virtual std::string GetPath (DIRS::TYPE)=0
 Returns the path to a known system- or user-specific location.
virtual void SetupTimer ()=0
virtual double GetElapsedTime ()=0

Static Public Member Functions

static void SetOS (OSInterfaceSPTR)
static OSInterfaceSPTR GetOS ()
static bool HasOS ()

Detailed Description

Definition at line 27 of file OSinterface.h.


Member Function Documentation

virtual boost::any OSInterface::CreateGUIWindow ( int  ,
int  ,
std::string  ,
WINDOW_FLAGS  = WINDOW_OUTER_SIZE 
) [pure virtual]

Creates the platform specific window and returns the handle as a boost::any.

Implemented in win32.

virtual std::string OSInterface::GetPath ( DIRS::TYPE  ) [pure virtual]

Returns the path to a known system- or user-specific location.

Implemented in win32.

virtual void OSInterface::RouteMessages ( ) [pure virtual]

Handles message routing from the OS to the respective functions or methods.

Implemented in win32.

virtual void OSInterface::ShowError ( std::string  ,
std::string  = NLS_I18N::TITLE_CRITICAL 
) [pure virtual]

Displays a message alerting the user to a critical problem. Displays a confirmation button. Parameters are: body text, window title. DOES NOT LOG TO DISK.

Implemented in win32.

virtual void OSInterface::ShowInfo ( std::string  ,
std::string  = NLS_I18N::TITLE_INFO 
) [pure virtual]

Displays a message alerting the user to some non-critical information. Displays a confirmation button. Parameters are: body text, window title. DOES NOT LOG TO DISK.

Implemented in win32.

virtual void OSInterface::ShowWarning ( std::string  ,
std::string  = NLS_I18N::TITLE_WARNING 
) [pure virtual]

Displays a message alerting the user to a non-critical problem. Displays a confirmation button. Parameters are: body text, window title. DOES NOT LOG TO DISK.

Implemented in win32.


The documentation for this class was generated from the following files: