Browse Source

retain old includes

cxgeorge 24 years ago
parent
commit
fdfad035fb

+ 19 - 0
panda/src/chancfg/chancfg.cxx

@@ -16,10 +16,29 @@
 //
 ////////////////////////////////////////////////////////////////////
 
+#ifdef WIN32_VC
 #include "chancfg_headers.h"
+#endif
+
 #pragma hdrstop
 
+#ifndef WIN32_VC
+#include "chancfg.h"
+#include <notify.h>
+#endif
+
 #include <algorithm>
+#include <displayRegion.h>
+#include <graphicsChannel.h>
+#include <hardwareChannel.h>
+#include <camera.h>
+#include <frustum.h>
+#include <perspectiveProjection.h>
+#include <renderRelation.h>
+#include <transformTransition.h>
+#include <dSearchPath.h>
+#include <dconfig.h>
+#include <filename.h>
 
 Configure(chanconfig);
 

+ 0 - 11
panda/src/chancfg/chancfg_headers.h

@@ -16,18 +16,7 @@
 //
 ////////////////////////////////////////////////////////////////////
 
-#include <camera.h>
-#include <dconfig.h>
-#include <displayRegion.h>
-#include <dSearchPath.h>
-#include <filename.h>
-#include <frustum.h>
-#include <graphicsChannel.h>
-#include <hardwareChannel.h>
 #include <notify.h>
-#include <perspectiveProjection.h>
-#include <renderRelation.h>
-#include <transformTransition.h>
 
 #include "chancfg.h"
 #include "chanlayout.h"

+ 11 - 0
panda/src/chancfg/chanlayout.cxx

@@ -16,9 +16,20 @@
 //
 ////////////////////////////////////////////////////////////////////
 
+#ifdef WIN32_VC
 #include "chancfg_headers.h"
+#endif
+
 #pragma hdrstop
 
+#ifndef WIN32_VC
+#include "chanlayout.h"
+#include "chanparse.h"
+#include "chanshare.h"
+
+#include <notify.h>
+#endif
+
 LayoutType* LayoutDB = (LayoutType*)0;
 
 class LayoutParseFunctor : public ChanParseFunctor {

+ 9 - 0
panda/src/chancfg/chanparse.cxx

@@ -16,9 +16,18 @@
 //
 ////////////////////////////////////////////////////////////////////
 
+#ifdef WIN32_VC
 #include "chancfg_headers.h"
+#endif
+
 #pragma hdrstop
 
+#ifndef WIN32_VC
+#include "chanparse.h"
+
+#include <notify.h>
+#endif
+
 const int ChanFileEOF = -1;
 
 static bool file_done;

+ 11 - 0
panda/src/chancfg/chansetup.cxx

@@ -16,9 +16,20 @@
 //
 ////////////////////////////////////////////////////////////////////
 
+#ifdef WIN32_VC
 #include "chancfg_headers.h"
+#endif
+
 #pragma hdrstop
 
+#ifndef WIN32_VC
+#include "chansetup.h"
+#include "chanparse.h"
+#include "chanshare.h"
+
+#include <notify.h>
+#endif
+
 SetupType* SetupDB = (SetupType*)0;
 
 class SetupParseFunctor : public ChanParseFunctor {

+ 11 - 0
panda/src/chancfg/chanwindow.cxx

@@ -16,9 +16,20 @@
 //
 ////////////////////////////////////////////////////////////////////
 
+#ifdef WIN32_VC
 #include "chancfg_headers.h"
+#endif
+
 #pragma hdrstop
 
+#ifndef WIN32_VC
+#include "chanwindow.h"
+#include "chanparse.h"
+#include "chanshare.h"
+
+#include <notify.h>
+#endif
+
 WindowType* WindowDB = (WindowType*)0;
 
 class WindowParseFunctor : public ChanParseFunctor {