Interface for Operating System classes. More...
#include <deOS.h>
Public Member Functions | |
Constructors and Destructors | |
| deOS () | |
| Creates a new operating system object. | |
| virtual | ~deOS () |
Management | |
| virtual int | GetScreenWidth ()=0 |
| Retrieves the width of the screen. | |
| virtual int | GetScreenHeight ()=0 |
| Retrieves the height of the screen. | |
Casting | |
Safely casts the operating system object to a specific operating system object. Use only those cast functions and do not cast yourself. If the cast is not possible an exception has to be thrown. The default implementation of the cast functions is to throw an exception. Simply overwrite the matching cast function for your subclass with a simple 'return this;'. | |
| virtual deOSUnix * | CastToOSUnix () |
| virtual deOSConsole * | CastToOSConsole () |
| virtual deOSWindows * | CastToOSWindows () |
| virtual deOSBeOS * | CastToOSBeOS () |
Interface for Operating System classes.
| deOS::deOS | ( | ) |
Creates a new operating system object.
| virtual deOS::~deOS | ( | ) | [virtual] |
| virtual deOSBeOS* deOS::CastToOSBeOS | ( | ) | [virtual] |
| virtual deOSConsole* deOS::CastToOSConsole | ( | ) | [virtual] |
Reimplemented in deOSConsole.
| virtual deOSUnix* deOS::CastToOSUnix | ( | ) | [virtual] |
| virtual deOSWindows* deOS::CastToOSWindows | ( | ) | [virtual] |
| virtual int deOS::GetScreenHeight | ( | ) | [pure virtual] |
Retrieves the height of the screen.
Implemented in deOSConsole.
| virtual int deOS::GetScreenWidth | ( | ) | [pure virtual] |
Retrieves the width of the screen.
Implemented in deOSConsole.
1.7.2