Proton/vrclient_x64/cppIVRDriverManager_IVRDriverManager_001.cpp

25 lines
709 B
C++
Raw Normal View History

2018-01-18 22:29:49 +03:00
#include "vrclient_private.h"
#include "vrclient_defs.h"
2018-01-31 19:31:32 +03:00
#include "openvr_v1.0.12/ivrclientcore.h"
2018-01-18 22:29:49 +03:00
using namespace vr;
extern "C" {
#include "struct_converters.h"
}
#include "cppIVRDriverManager_IVRDriverManager_001.h"
#ifdef __cplusplus
extern "C" {
#endif
uint32_t cppIVRDriverManager_IVRDriverManager_001_GetDriverCount(void *linux_side)
{
return ((IVRDriverManager*)linux_side)->GetDriverCount();
}
uint32_t cppIVRDriverManager_IVRDriverManager_001_GetDriverName(void *linux_side, DriverId_t nDriver, char * pchValue, uint32_t unBufferSize)
{
return ((IVRDriverManager*)linux_side)->GetDriverName((vr::DriverId_t)nDriver, (char *)pchValue, (uint32_t)unBufferSize);
}
#ifdef __cplusplus
}
#endif