Panda3D
|
00001 // Filename: vrpn_interface.h 00002 // Created by: drose (25Jan01) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 #ifndef VRPN_INTERFACE_H 00016 #define VRPN_INTERFACE_H 00017 00018 #include "pandabase.h" 00019 00020 #ifdef CPPPARSER 00021 // For correct interrogate parsing of UNC's vrpn library. 00022 #if defined(WIN32_VC) || defined(WIN64_VC) 00023 #define _WIN32 00024 #define SOCKET int 00025 #else 00026 #define linux 00027 typedef struct timeval timeval; 00028 #endif 00029 #endif 00030 00031 #include "vrpn_Connection.h" 00032 #include "vrpn_Tracker.h" 00033 #include "vrpn_Analog.h" 00034 #include "vrpn_Button.h" 00035 #include "vrpn_Dial.h" 00036 00037 #ifdef sleep 00038 #undef sleep 00039 #endif 00040 00041 #endif