31 #ifndef INCLUDED_ContextC_h_GUID_3790F330_2425_4486_4C9F_20C300D7DED3
32 #define INCLUDED_ContextC_h_GUID_3790F330_2425_4486_4C9F_20C300D7DED3
35 #include <osvr/ClientKit/Export.h>
64 const char applicationIdentifier[], uint32_t flags OSVR_CPP_ONLY(= 0));
85 OSVR_CLIENTKIT_EXPORT OSVR_ReturnCode
91 OSVR_CLIENTKIT_EXPORT OSVR_ReturnCode
Header declaring a type and values for simple C return codes.
Header declaring opaque types used by Client and ClientKit.
Header wrapping the C99 standard stdint header.
OSVR_ClientContext osvrClientInit(const char applicationIdentifier[], uint32_t flags=0)
Initialize the library.
OSVR_ReturnCode osvrClientCheckStatus(OSVR_ClientContext ctx)
Checks to see if the client context is fully started up and connected properly to a server...
OSVR_ReturnCode osvrClientShutdown(OSVR_ClientContext ctx)
Shutdown the library.
struct OSVR_ClientContextObject * OSVR_ClientContext
Opaque handle that should be retained by your application. You need only and exactly one...
Header providing basic C macros for defining API headers.
OSVR_ReturnCode osvrClientUpdate(OSVR_ClientContext ctx)
Updates the state of the context - call regularly in your mainloop.
OSVR_LogLevel
Log message severity levels.
void osvrClientLog(OSVR_ClientContext ctx, OSVR_LogLevel severity, const char *message)
Log a message from the client.
Header containing macros for source-level annotation.