Neonode zForce(TM) SDK
|
Main structure for the SDK library. More...
Go to the source code of this file.
Classes | |
struct | zForce |
Main struct. More... | |
Typedefs | |
typedef struct zForce | zForce |
Functions | |
DLLEXTERNAL zForce * | zForce_GetInstance (void) |
Get a zForce Instance. More... | |
DLLEXTERNAL bool | zForce_Initialize (OsAbstractionLayer *osAbstractionLayer) |
Initializes zForce. More... | |
DLLEXTERNAL void | zForce_Uninitialize (void) |
Uninitializes zForce. More... | |
Main structure for the SDK library.
This structure contains the overrides and is always instantiated at the beginning of execution when using the library.
DLLEXTERNAL zForce* zForce_GetInstance | ( | void | ) |
Get a zForce Instance.
Get a zForceInstance. This is a singleton so subsequent calls returns the same instance.
On error, errno is set.
DLLEXTERNAL bool zForce_Initialize | ( | OsAbstractionLayer * | osAbstractionLayer | ) |
Initializes zForce.
Initializes the zForce SDK. Must be called only once.
On error, errno is set.
osAbstractionLayer | Pointer to OsAbstractionLayer instance or NULL. Non-NULL members of the OsAbstractionLayer are copied so the supplied instance of OsAbstractionLayer can be freed by the caller after this call returns. If this argument is NULL, or any members of the supplied OsAbstractionLayer instance are NULL, default / OS specific functions are used instead. |
DLLEXTERNAL void zForce_Uninitialize | ( | void | ) |
Uninitializes zForce.
Unitializes zForce, freeing all allocated resources. No part of the zForce SDK should be used after this call.
On error, errno is set.