49 lines
1.7 KiB
C++
49 lines
1.7 KiB
C++
#include "vrclient_private.h"
|
|
#include "vrclient_defs.h"
|
|
#include "openvr_v1.0.12/ivrclientcore.h"
|
|
using namespace vr;
|
|
extern "C" {
|
|
#include "struct_converters.h"
|
|
}
|
|
#include "cppIVRClientCore_IVRClientCore_003.h"
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
vr::EVRInitError cppIVRClientCore_IVRClientCore_003_Init(void *linux_side, EVRApplicationType eApplicationType, const char * pStartupInfo)
|
|
{
|
|
return ((IVRClientCore*)linux_side)->Init((vr::EVRApplicationType)eApplicationType, (const char *)pStartupInfo);
|
|
}
|
|
|
|
void cppIVRClientCore_IVRClientCore_003_Cleanup(void *linux_side)
|
|
{
|
|
((IVRClientCore*)linux_side)->Cleanup();
|
|
}
|
|
|
|
vr::EVRInitError cppIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid(void *linux_side, const char * pchInterfaceVersion)
|
|
{
|
|
return ((IVRClientCore*)linux_side)->IsInterfaceVersionValid((const char *)pchInterfaceVersion);
|
|
}
|
|
|
|
void * cppIVRClientCore_IVRClientCore_003_GetGenericInterface(void *linux_side, const char * pchNameAndVersion, EVRInitError * peError)
|
|
{
|
|
return ((IVRClientCore*)linux_side)->GetGenericInterface((const char *)pchNameAndVersion, (vr::EVRInitError *)peError);
|
|
}
|
|
|
|
bool cppIVRClientCore_IVRClientCore_003_BIsHmdPresent(void *linux_side)
|
|
{
|
|
return ((IVRClientCore*)linux_side)->BIsHmdPresent();
|
|
}
|
|
|
|
const char * cppIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError(void *linux_side, EVRInitError eError)
|
|
{
|
|
return ((IVRClientCore*)linux_side)->GetEnglishStringForHmdError((vr::EVRInitError)eError);
|
|
}
|
|
|
|
const char * cppIVRClientCore_IVRClientCore_003_GetIDForVRInitError(void *linux_side, EVRInitError eError)
|
|
{
|
|
return ((IVRClientCore*)linux_side)->GetIDForVRInitError((vr::EVRInitError)eError);
|
|
}
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|