Browse Source

adjust precomp hdrs

cxgeorge 24 years ago
parent
commit
e7d7f4e0d6

+ 8 - 0
panda/src/device/analogNode.cxx

@@ -16,9 +16,17 @@
 //
 ////////////////////////////////////////////////////////////////////
 
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "device_headers.h"
+#endif
+
 #pragma hdrstop
 
+#if !defined(WIN32_VC) || defined(NO_PCH)
+#include "analogNode.h"
+#include "config_device.h"
+#endif
+
 ////////////////////////////////////////////////////////////////////
 // Static variables
 ////////////////////////////////////////////////////////////////////

+ 10 - 0
panda/src/device/buttonNode.cxx

@@ -16,9 +16,19 @@
 //
 ////////////////////////////////////////////////////////////////////
 
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "device_headers.h"
+#endif
+
 #pragma hdrstop
 
+#if !defined(WIN32_VC) || defined(NO_PCH)
+#include "buttonNode.h"
+#include "config_device.h"
+#endif
+
+#include <buttonEventDataTransition.h>
+
 ////////////////////////////////////////////////////////////////////
 // Static variables
 ////////////////////////////////////////////////////////////////////

+ 9 - 0
panda/src/device/clientAnalogDevice.cxx

@@ -16,9 +16,18 @@
 //
 ////////////////////////////////////////////////////////////////////
 
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "device_headers.h"
+#endif
+
 #pragma hdrstop
 
+#if !defined(WIN32_VC) || defined(NO_PCH)
+#include "clientAnalogDevice.h"
+
+#include <indent.h>
+#endif
+
 TypeHandle ClientAnalogDevice::_type_handle;
 
 

+ 8 - 0
panda/src/device/clientBase.cxx

@@ -16,9 +16,17 @@
 //
 ////////////////////////////////////////////////////////////////////
 
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "device_headers.h"
+#endif
+
 #pragma hdrstop
 
+#if !defined(WIN32_VC) || defined(NO_PCH)
+#include "clientBase.h"
+#include "config_device.h"
+#endif
+
 TypeHandle ClientBase::_type_handle;
 
 ////////////////////////////////////////////////////////////////////

+ 9 - 0
panda/src/device/clientButtonDevice.cxx

@@ -16,9 +16,18 @@
 //
 ////////////////////////////////////////////////////////////////////
 
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "device_headers.h"
+#endif
+
 #pragma hdrstop
 
+#if !defined(WIN32_VC) || defined(NO_PCH)
+#include "clientButtonDevice.h"
+
+#include <indent.h>
+#endif
+
 TypeHandle ClientButtonDevice::_type_handle;
 
 ////////////////////////////////////////////////////////////////////

+ 10 - 0
panda/src/device/clientDevice.cxx

@@ -16,9 +16,19 @@
 //
 ////////////////////////////////////////////////////////////////////
 
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "device_headers.h"
+#endif
+
 #pragma hdrstop
 
+#if !defined(WIN32_VC) || defined(NO_PCH)
+#include "clientDevice.h"
+#include "clientBase.h"
+
+#include <indent.h>
+#endif
+
 TypeHandle ClientDevice::_type_handle;
 
 ////////////////////////////////////////////////////////////////////

+ 9 - 0
panda/src/device/clientDialDevice.cxx

@@ -16,9 +16,18 @@
 //
 ////////////////////////////////////////////////////////////////////
 
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "device_headers.h"
+#endif
+
 #pragma hdrstop
 
+#if !defined(WIN32_VC) || defined(NO_PCH)
+#include "clientDialDevice.h"
+
+#include <indent.h>
+#endif
+
 TypeHandle ClientDialDevice::_type_handle;
 
 

+ 7 - 0
panda/src/device/clientTrackerDevice.cxx

@@ -16,7 +16,14 @@
 //
 ////////////////////////////////////////////////////////////////////
 
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "device_headers.h"
+#endif
+
 #pragma hdrstop
 
+#if !defined(WIN32_VC) || defined(NO_PCH)
+#include "clientTrackerDevice.h"
+#endif
+
 TypeHandle ClientTrackerDevice::_type_handle;

+ 20 - 0
panda/src/device/config_device.cxx

@@ -16,9 +16,29 @@
 //
 ////////////////////////////////////////////////////////////////////
 
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "device_headers.h"
+#endif
+
 #pragma hdrstop
 
+#if !defined(WIN32_VC) || defined(NO_PCH)
+#include "config_device.h"
+#include "analogNode.h"
+#include "buttonNode.h"
+#include "clientAnalogDevice.h"
+#include "clientBase.h"
+#include "clientButtonDevice.h"
+#include "clientDevice.h"
+#include "clientDialDevice.h"
+#include "clientTrackerDevice.h"
+#include "dialNode.h"
+#include "mouse.h"
+#include "trackerNode.h"
+#endif
+
+#include <dconfig.h>
+
 Configure(config_device);
 NotifyCategoryDef(device, "");
 

+ 0 - 6
panda/src/device/device_headers.h

@@ -16,12 +16,7 @@
 //
 ////////////////////////////////////////////////////////////////////
 
-#include <buttonEvent.h>
-#include <buttonEventDataTransition.h>
-#include <buttonHandle.h>
-#include <dconfig.h>
 #include <indent.h>
-#include <mouseData.h>
 
 #include "analogNode.h"
 #include "buttonNode.h"
@@ -34,7 +29,6 @@
 #include "config_device.h"
 #include "dialNode.h"
 #include "mouse.h"
-#include "trackerData.h"
 #include "trackerNode.h"
 
 #pragma hdrstop

+ 8 - 0
panda/src/device/dialNode.cxx

@@ -16,9 +16,17 @@
 //
 ////////////////////////////////////////////////////////////////////
 
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "device_headers.h"
+#endif
+
 #pragma hdrstop
 
+#if !defined(WIN32_VC) || defined(NO_PCH)
+#include "dialNode.h"
+#include "config_device.h"
+#endif
+
 ////////////////////////////////////////////////////////////////////
 // Static variables
 ////////////////////////////////////////////////////////////////////

+ 11 - 0
panda/src/device/mouse.cxx

@@ -15,9 +15,20 @@
 // [email protected] .
 //
 ////////////////////////////////////////////////////////////////////
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "device_headers.h"
+#endif
+
 #pragma hdrstop
 
+#if !defined(WIN32_VC) || defined(NO_PCH)
+#include "mouse.h"
+#endif
+
+#include <mouseData.h>
+#include <buttonHandle.h>
+#include <buttonEvent.h>
+
 ////////////////////////////////////////////////////////////////////
 // Static variables
 ////////////////////////////////////////////////////////////////////

+ 5 - 0
panda/src/device/trackerData.cxx

@@ -16,9 +16,14 @@
 //
 ////////////////////////////////////////////////////////////////////
 
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "device_headers.h"
+#endif
+
 #pragma hdrstop
 
+#include "trackerData.h"
+
 ////////////////////////////////////////////////////////////////////
 //     Function: TrackerData::Copy Assignment Operator
 //       Access: Public

+ 8 - 0
panda/src/device/trackerNode.cxx

@@ -16,9 +16,17 @@
 //
 ////////////////////////////////////////////////////////////////////
 
+#if defined(WIN32_VC) && !defined(NO_PCH)
 #include "device_headers.h"
+#endif
+
 #pragma hdrstop
 
+#if !defined(WIN32_VC) || defined(NO_PCH)
+#include "trackerNode.h"
+#include "config_device.h"
+#endif
+
 ////////////////////////////////////////////////////////////////////
 // Static variables
 ////////////////////////////////////////////////////////////////////