shellheaders.c

Go to the documentation of this file.
00001 
00002 /*  $Id: shellheaders.c 355 2005-01-11 22:48:55Z andreradke $    */
00003 
00004 /*
00005  *  MacHeaders.c
00006  *
00007  *  Script to generate the 'MacHeaders<xxx>' precompiled header for Metrowerks C/C++.
00008  *  Copyright  1993 metrowerks inc.  All rights reserved.
00009  */
00010 
00011 /*
00012  *  Required for c-style toolbox glue function: c2pstr and p2cstr
00013  *  the inverse operation (pointers_in_A0) is performed at the end ...
00014  */
00015 
00016 #if !(powerc || __CFM68K__)
00017  #pragma d0_pointers on
00018 #endif
00019 
00020 //for carbon compatibility
00021 //Code change by Timothy Paustian Saturday, April 29, 2000 10:52:35 PM
00022 //#define TARGET_OS_MAC
00023 #define ACCESSOR_CALLS_ARE_FUNCTIONS 0
00024 #define OPAQUE_TOOLBOX_STRUCTS 0 
00025 
00026 /*
00027  *  To allow the use of ToolBox calls which have now become obsolete on PowerPC, but
00028  *  which are still needed for System 6 applications, we need to #define OBSOLETE.  If
00029  *  your application will never use these calls then you can comment out this #define.
00030  *  NB: This is only for 68K ...
00031  */
00032 
00033 #define     MSL_USE_PRECOMPILED_HEADERS 0
00034 #define     OLDROUTINENAMES     0
00035 #define     OLDROUTINELOCATIONS 0
00036 #define     CGLUESUPPORTED 0
00037 
00038 //#if !defined(powerc) && !defined(OBSOLETE)
00039 // #define OBSOLETE 1
00040 //#endif
00041 
00042 /*
00043  *  Metrowerks-specific definitions
00044  *
00045  *  These definitions are commonly used but not in Apple's headers. We define
00046  *  them in our precompiled header so we can use the Apple headers without modification.
00047  */
00048 
00049 #define PtoCstr     p2cstr
00050 #define CtoPstr     c2pstr
00051 #define PtoCString  p2cstr
00052 #define CtoPString  c2pstr
00053 
00054 #define topLeft(r)  (((Point *) &(r))[0])
00055 #define botRight(r) (((Point *) &(r))[1])
00056 
00057 #define TRUE        true
00058 #define FALSE       false
00059 
00060 #ifndef powerc
00061  #include <MixedMode.h>
00062  long GetCurrentA5(void)
00063   ONEWORDINLINE(0x200D);
00064 #endif
00065 
00066 /*
00067  *  Apple #include files
00068  *
00069  *  Uncomment any additional #includes you want to add to MacHeaders.
00070  */
00071 
00072 #pragma syspath_once on
00073 
00074 //  #include <ADSP.h>
00075     #include <AEObjects.h>
00076     #include <AEPackObject.h>
00077     #include <AERegistry.h>
00078     #include <AEUserTermTypes.h>
00079 //  #include <AIFF.h>
00080     #include <Aliases.h>
00081     #include <AppleEvents.h>
00082 //  #include <AppleGuide.h>
00083     #include <AppleScript.h>
00084 //  #include <AppleTalk.h>
00085 //  #include <ASDebugging.h>
00086 //  #include <ASRegistry.h>
00087 //  #include <Balloons.h>
00088 //  #include <CMApplication.h>
00089 //  #include <CMComponent.h>
00090 //  #include <CodeFragments.h>
00091     #include <ColorPicker.h>
00092 //  #include <CommResources.h>
00093 //  #include <Components.h>
00094     #include <ConditionalMacros.h>
00095 //  #include <Connections.h>
00096 //  #include <ConnectionTools.h>
00097     #include <Controls.h>
00098 
00099 //Code change by Timothy Paustian Saturday, April 29, 2000 9:29:50 PM
00100 //Changed to allow Use of Universal Headers 3.3.1
00101     #include <ControlDefinitions.h>
00102 //  #include <ControlStrip.h>
00103 //  #include <CRMSerialDevices.h>
00104 //  #include <CTBUtilities.h>
00105 //  #include <CursorCtl.h>
00106 //  #include <CursorDevices.h>
00107 //  #include <DatabaseAccess.h>
00108 //  #include <DeskBus.h>
00109     #include <Devices.h>
00110     #include <Dialogs.h>
00111 //  #include <Dictionary.h>
00112 //  #include <DisAsmLookup.h>
00113 //  #include <Disassembler.h>
00114     #include <DiskInit.h>
00115 //  #include <Disks.h>
00116 //  #include <Displays.h>
00117 //  #include <Drag.h>
00118 //  #include <Editions.h>
00119 //  #include <ENET.h>
00120     #include <EPPC.h>
00121 //  #include <ErrMgr.h>
00122     #include <Errors.h>
00123     #include <Events.h>
00124 //  #include <fenv.h>
00125     #include <Files.h>
00126 //  #include <FileTransfers.h>
00127 //  #include <FileTransferTools.h>
00128     #include <FileTypesAndCreators.h>
00129 //  #include <Finder.h>
00130     #include <FixMath.h>
00131     #include <Folders.h>
00132     #include <Fonts.h>
00133 //  #include <fp.h>
00134 //  #include <FragLoad.h>
00135 //  #include <FSM.h>
00136     #include <Gestalt.h>
00137 //  #include <HyperXCmd.h>
00138     #include <Icons.h>
00139 //  #include <ImageCodec.h>
00140 //  #include <ImageCompression.h>
00141 //  #include <IntlResources.h>
00142 //  #include <Language.h>
00143     #include <Lists.h>
00144     #include <LowMem.h>
00145 //  #include <MachineExceptions.h>
00146 //  #include <MacTCP.h>
00147 //  #include <MediaHandlers.h>
00148     #include <Memory.h>
00149     #include <Menus.h>
00150 //  #include <MIDI.h>
00151     #include <MixedMode.h>
00152 //  #include <Movies.h>
00153 //  #include <MoviesFormat.h>
00154 //  #include <Notification.h>
00155 //  #include <OSA.h>
00156 //  #include <OSAComp.h>
00157 //  #include <OSAGeneric.h>
00158     #include <OSUtils.h>
00159     #include <Packages.h>
00160 //  #include <Palettes.h>
00161 //  #include <Picker.h>
00162 //  #include <PictUtil.h>
00163 //  #include <PictUtils.h>
00164     #include <PLStringFuncs.h>
00165 //  #include <Power.h>
00166 //  #include <PPCToolbox.h>
00167     #include <Printing.h>
00168     #include <Processes.h>
00169 //  #include <QDOffscreen.h>
00170     #include <Quickdraw.h>
00171 //  #include <QuickdrawText.h>
00172 //  #include <QuickTimeComponents.h>
00173     #include <Resources.h>
00174 //  #include <Retrace.h>
00175 //  #include <ROMDefs.h>
00176 #ifndef powerc
00177 //  #include <SANE.h>
00178 #endif
00179     #include <Scrap.h>
00180 //Code change by Timothy Paustian Sunday, May 7, 2000 1:48:21 PM
00181     #include <Script.h>
00182 //  #include <SCSI.h>
00183     #include <SegLoad.h>
00184 //  #include <Serial.h>
00185 //  #include <ShutDown.h>
00186 //  #include <Slots.h>
00187     #include <Sound.h>
00188 //  #include <SoundComponents.h>
00189 //  #include <SoundInput.h>
00190 //  #include <Speech.h>
00191     #include <StandardFile.h>
00192 //  #include <Start.h>
00193     #include <Strings.h>
00194 //  #include <Terminals.h>
00195 //  #include <TerminalTools.h>
00196     #include <TextEdit.h>
00197 //  #include <TextServices.h>
00198     #include <TextUtils.h>
00199     #include <Threads.h>
00200 //  #include <Timer.h>
00201     #include <ToolUtils.h>
00202 //  #include <Translation.h>
00203 //  #include <TranslationExtensions.h>
00204     #include <Traps.h>
00205 //  #include <TSMTE.h>
00206     #include <Types.h>
00207 //  #include <Unmangler.h>
00208 //  #include <Video.h>
00209     #include <Windows.h>
00210 //  #include <WorldScript.h>
00211 
00212 /*
00213  *  required for c-style toolbox glue function: c2pstr and p2cstr
00214  *  (match the inverse operation at the start of the file ...
00215  */
00216 
00217 #if !(powerc || __CFM68K__)
00218  #pragma d0_pointers reset
00219 #endif
00220 
00221     #define MACVERSION 1
00222     #define fldebug 1
00223     #define flnewfeatures 1
00224     #define version42orgreater 1
00225     #define version5orgreater 1
00226     #define flcomponent 1
00227     #define isFrontier 1
00228     #undef dropletcomponent
00229     #undef fliowa
00230     #define threadverbs 1
00231     #define oplanglists 1
00232     #ifdef __powerc
00233         #define noextended 1
00234     #else
00235         #define noextended 0
00236     #endif
00237     #define macBirdRuntime 1
00238     #undef appRunsCards /*for Applet Toolkit, Iowa Runtime is baked in*/
00239     #define iowaRuntimeInApp /*iowa code knows it's in an app*/
00240     #define iowaRuntime /*iowa code knows it's not compiling in Card Editor*/
00241     #define cmdPeriodKillsCard
00242     #define IOAinsideApp /*all the IOA's are baked into the app*/
00243     #undef coderesource /*we're not running inside a code resource*/
00244     #include <stdlib.h>
00245     #include <stdio.h>
00246     #include <standard.h>
00247     #include "quickdraw.h"
00248     #include "dialogs.h"
00249     #include "threads.h"
00250 
00251 #pragma syspath_once off

Generated on Wed May 31 18:20:01 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6