Jelajahi Sumber

use precomp hdrs

cxgeorge 24 tahun lalu
induk
melakukan
ccd2b31f85

+ 2 - 0
panda/src/chancfg/Sources.pp

@@ -21,6 +21,8 @@
   #define INSTALL_CONFIG \
   #define INSTALL_CONFIG \
     layout_db setup_db window_db
     layout_db setup_db window_db
 
 
+  #define PRECOMPILED_HEADER chancfg_headers.h 
+
   #define IGATESCAN chancfg.h
   #define IGATESCAN chancfg.h
 
 
 #end lib_target
 #end lib_target

+ 2 - 15
panda/src/chancfg/chancfg.cxx

@@ -16,24 +16,11 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#include "chancfg.h"
-
-#include <dconfig.h>
-#include <notify.h>
-#include <filename.h>
-#include <transformTransition.h>
-#include <camera.h>
-#include <graphicsChannel.h>
-#include <hardwareChannel.h>
-#include <displayRegion.h>
-#include <perspectiveProjection.h>
-#include <frustum.h>
-#include <renderRelation.h>
-#include <dSearchPath.h>
+#include "chancfg_headers.h"
+#pragma hdrstop
 
 
 #include <algorithm>
 #include <algorithm>
 
 
-
 Configure(chanconfig);
 Configure(chanconfig);
 
 
 ConfigureFn(chanconfig) {
 ConfigureFn(chanconfig) {

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

@@ -0,0 +1,40 @@
+// Filename: xxx_headers.h
+// Created by:  georges (30May01)
+//
+////////////////////////////////////////////////////////////////////
+//
+// PANDA 3D SOFTWARE
+// Copyright (c) 2001, Disney Enterprises, Inc.  All rights reserved
+//
+// All use of this software is subject to the terms of the Panda 3d
+// Software license.  You should have received a copy of this license
+// along with this source code; you will also find a current copy of
+// the license at http://www.panda3d.org/license.txt .
+//
+// To contact the maintainers of this program write to
+// [email protected] .
+//
+////////////////////////////////////////////////////////////////////
+
+#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"
+#include "chanparse.h"
+#include "chansetup.h"
+#include "chanshare.h"
+#include "chanwindow.h"
+
+#pragma hdrstop
+

+ 2 - 5
panda/src/chancfg/chanlayout.cxx

@@ -16,11 +16,8 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#include "chanlayout.h"
-#include "chanparse.h"
-#include "chanshare.h"
-
-#include <notify.h>
+#include "chancfg_headers.h"
+#pragma hdrstop
 
 
 LayoutType* LayoutDB = (LayoutType*)0;
 LayoutType* LayoutDB = (LayoutType*)0;
 
 

+ 2 - 3
panda/src/chancfg/chanparse.cxx

@@ -16,9 +16,8 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#include "chanparse.h"
-
-#include <notify.h>
+#include "chancfg_headers.h"
+#pragma hdrstop
 
 
 const int ChanFileEOF = -1;
 const int ChanFileEOF = -1;
 
 

+ 2 - 5
panda/src/chancfg/chansetup.cxx

@@ -16,11 +16,8 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#include "chansetup.h"
-#include "chanparse.h"
-#include "chanshare.h"
-
-#include <notify.h>
+#include "chancfg_headers.h"
+#pragma hdrstop
 
 
 SetupType* SetupDB = (SetupType*)0;
 SetupType* SetupDB = (SetupType*)0;
 
 

+ 2 - 5
panda/src/chancfg/chanwindow.cxx

@@ -16,11 +16,8 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#include "chanwindow.h"
-#include "chanparse.h"
-#include "chanshare.h"
-
-#include <notify.h>
+#include "chancfg_headers.h"
+#pragma hdrstop
 
 
 WindowType* WindowDB = (WindowType*)0;
 WindowType* WindowDB = (WindowType*)0;
 
 

+ 2 - 0
panda/src/chat/Sources.pp

@@ -13,6 +13,8 @@
   #define INSTALL_HEADERS \
   #define INSTALL_HEADERS \
     chatHelpers.h chatInput.I chatInput.h
     chatHelpers.h chatInput.I chatInput.h
 
 
+  #define PRECOMPILED_HEADER chat_headers.h 
+
   #define IGATESCAN all
   #define IGATESCAN all
 
 
 #end lib_target
 #end lib_target

+ 2 - 1
panda/src/chat/chatHelpers.cxx

@@ -15,7 +15,8 @@
 // [email protected] .
 // [email protected] .
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
-#include "chatHelpers.h"
+#include "chat_headers.h"
+#pragma hdrstop
 
 
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 //     Function: add_line_wraps
 //     Function: add_line_wraps

+ 2 - 7
panda/src/chat/chatInput.cxx

@@ -15,13 +15,8 @@
 // [email protected] .
 // [email protected] .
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
-#include "chatInput.h"
-
-#include <buttonEventDataTransition.h>
-#include <buttonEventDataAttribute.h>
-#include <buttonEvent.h>
-#include <keyboardButton.h>
-#include <throw_event.h>
+#include "chat_headers.h"
+#pragma hdrstop
 
 
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 // Static variables
 // Static variables

+ 30 - 0
panda/src/chat/chat_headers.h

@@ -0,0 +1,30 @@
+// Filename: chat_headers.h
+// Created by:  georges (30May01)
+//
+////////////////////////////////////////////////////////////////////
+//
+// PANDA 3D SOFTWARE
+// Copyright (c) 2001, Disney Enterprises, Inc.  All rights reserved
+//
+// All use of this software is subject to the terms of the Panda 3d
+// Software license.  You should have received a copy of this license
+// along with this source code; you will also find a current copy of
+// the license at http://www.panda3d.org/license.txt .
+//
+// To contact the maintainers of this program write to
+// [email protected] .
+//
+////////////////////////////////////////////////////////////////////
+
+#include <buttonEvent.h>
+#include <buttonEventDataAttribute.h>
+#include <buttonEventDataTransition.h>
+#include <dconfig.h>
+#include <keyboardButton.h>
+#include <throw_event.h>
+#include "chatHelpers.h"
+#include "chatInput.h"
+#include "config_chat.h"
+
+#pragma hdrstop
+

+ 2 - 4
panda/src/chat/config_chat.cxx

@@ -16,10 +16,8 @@
 //
 //
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
-#include "config_chat.h"
-#include "chatInput.h"
-
-#include <dconfig.h>
+#include "chat_headers.h"
+#pragma hdrstop
 
 
 Configure(config_chat);
 Configure(config_chat);
 NotifyCategoryDef(chat, "");
 NotifyCategoryDef(chat, "");