Back to index

lightning-sunbird  0.9+nobinonly
BrowserHeaders.pch.h
Go to the documentation of this file.
00001 // ===============================================================================
00002 //     Appearance_DebugHeaders.pch++      1995-1998 Metrowerks Inc. All rights reserved.
00003 // ===============================================================================
00004 
00005 #ifndef __BROWSERHEADERS_PCH_H__
00006 #define __BROWSERHEADERS_PCH_H__
00007 
00008 //
00009 //     Source for precompiled header for PowerPlant headers
00010 //
00011 //     This file #includes most header files for the PowerPlant library,
00012 //     as well as most of the Toolbox headers used by the PowerPlant library
00013 //     with all debugging symbols defined.
00014 
00015 #if __option(precompile)
00016        #if __MWERKS__ >= 0x2100
00017               // slightly larger but much faster generation of pch files
00018               #pragma faster_pch_gen on
00019        #endif
00020 
00021 
00022               // Option for using PowerPlant namespace
00023               #define PP_Uses_PowerPlant_Namespace             0      // off, don't use PowerPlant namespace
00024 
00025               // establish some essential PowerPlant macros:
00026               #define PP_StdDialogs_Option       PP_StdDialogs_ClassicOnly   // use classic standard dialog implementation
00027 
00028         #include <ControlDefinitions.h>
00029         
00030               // include powerplant headers
00031               #if wantDebugging
00032                      #include <PP_DebugHeaders.cp>
00033               #else
00034                      #include <PP_ClassHeaders.cp>
00035               #endif
00036 
00037         // include mozilla prefix file
00038               #if wantDebugging
00039                   #include "MacPrefix_debug.h"
00040               #else
00041                   #include "MacPrefix.h"
00042               #endif
00043 
00044               #if wantProfiles
00045                   #define USE_PROFILES 1
00046               #else
00047                   #define USE_PROFILES 1
00048         #endif
00049                                           
00050               //     Support for automatically naming the precompiled header file ...
00051               #if __POWERPC__
00052                      #if wantDebugging
00053                             #pragma precompile_target "BrowserHeadersDebug_pch"
00054                      #else
00055                             #pragma precompile_target "BrowserHeaders_pch"
00056                      #endif
00057               #else
00058                      #error "target currently unsupported"     
00059               #endif
00060 
00061 #else
00062 
00063               // Load the precompiled header file
00064               #if __POWERPC__
00065                      #if wantDebugging
00066                             #include "BrowserHeadersDebug_pch"
00067                      #else
00068                             #include "BrowserHeaders_pch"             
00069                      #endif
00070               #else
00071                      #error "target currently unsupported"     
00072               #endif
00073 
00074 
00075 #endif
00076 
00077 #endif // __BROWSERHEADERS_PCH_H__