vrpn: Add VRPN headers to parser-inc, remove CPPPARSER workarounds

This commit is contained in:
Sam Edwards 2018-11-03 22:45:34 -06:00
parent b5bf6cd73c
commit 0b91b3eeb3
7 changed files with 24 additions and 10 deletions

View File

@ -0,0 +1,4 @@
#pragma once
class vrpn_Analog_Remote;
typedef void vrpn_ANALOGCB;

View File

@ -0,0 +1,4 @@
#pragma once
class vrpn_Button_Remote;
typedef void vrpn_BUTTONCB;

View File

@ -0,0 +1,3 @@
#pragma once
#define VRPN_CALLBACK

View File

@ -0,0 +1,3 @@
#pragma once
class vrpn_Connection;

View File

@ -0,0 +1,4 @@
#pragma once
class vrpn_Dial_Remote;
typedef void vrpn_DIALCB;

View File

@ -0,0 +1,6 @@
#pragma once
class vrpn_Tracker_Remote;
typedef void vrpn_TRACKERCB;
typedef void vrpn_TRACKERACCCB;
typedef void vrpn_TRACKERVELCB;

View File

@ -16,16 +16,6 @@
#include "pandabase.h"
#ifdef CPPPARSER
// For correct interrogate parsing of UNC's vrpn library.
#if defined(WIN32_VC) || defined(WIN64_VC)
#define SOCKET int
#else
#define linux
typedef struct timeval timeval;
#endif
#endif
// VPRN misses an include to this in vrpn_Shared.h.
#include <stdint.h>