Platform specific functions for the Microsoft Windows platform.
More...
#include <WindowsPlatform.h>
List of all members.
Public Member Functions |
virtual void | createWindow (int width, int height) |
| Create a native window on the target device.
|
virtual void | destroyWindow (void) |
| Close and clean-up the native window.
|
virtual WindowStatus | checkWindow (void) |
| Check status of the window.
|
Static Public Member Functions |
static Platform * | getInstance (void) |
| Get the singleton instance of this class.
|
static LRESULT CALLBACK | processWindow (HWND hWnd, UINT uiMsg, WPARAM wParam, LPARAM lParam) |
| Process callbacks to the window.
|
static void | log (const char *format,...) |
| Print a log message to the terminal.
|
Private Attributes |
MSG | message |
Static Private Attributes |
static Platform * | instance = NULL |
| The only instance of this class.
|
Detailed Description
Platform specific functions for the Microsoft Windows platform.
Member Function Documentation
Check status of the window.
- Returns:
- The status of the window.
Implements MaliSDK::Platform.
void MaliSDK::WindowsPlatform::createWindow |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
virtual |
Create a native window on the target device.
- Parameters:
-
[in] | width | The required width of the window. |
[in] | height | The required height of the window. |
Implements MaliSDK::Platform.
Platform * MaliSDK::WindowsPlatform::getInstance |
( |
void |
| ) |
|
|
static |
Get the singleton instance of this class.
If the instance does not exist, it is created.
- Returns:
- The only instance of this class.
Reimplemented from MaliSDK::Platform.
The documentation for this class was generated from the following files: