![]() |
DeskUp 0.3
|
This struct is a wrapper that holds a call to create a window device. More...
#include <desk_up_window_bootstrap.h>

Public Attributes | |
| const char * | name |
| The name of the backend associated with the device call. | |
| DeskUpWindowDevice(* | createDevice )() |
| A pointer to function that creates a Device. | |
| bool(* | isAvailable )(void) |
| A pointer to function that is used to check whether if a given backend is available in the current device. | |
This struct is a wrapper that holds a call to create a window device.
Each backend packs all of it's functions in a device, which should be the only way to access it's calls. It fills backend-specific info in the device, as well as connecting all the implementations of the generic backend calls.
| DeskUpWindowDevice(* DeskUpWindowBootStrap::createDevice) () |
A pointer to function that creates a Device.
| bool(* DeskUpWindowBootStrap::isAvailable) (void) |
A pointer to function that is used to check whether if a given backend is available in the current device.
true if the backend is available in this device, false otherwise | const char* DeskUpWindowBootStrap::name |
The name of the backend associated with the device call.