/* Copyright (c) Microsoft Corporation. Licensed under the MIT License. */ /* Copyright (c) Microsoft Corporation. Licensed under the MIT License. */ /*************************************************************************** Author: ShonK Project: Kauai Reviewed: Copyright (c) Microsoft Corporation Mac standard header file - equivalent of windows.h. ***************************************************************************/ #ifndef SYMC /* Wings includes Mac headers explicitly (this isn't all of them): */ //NOTE: avoid including Traps.h because it defines a bunch of stuff //that we use as methods! #define __TRAPS__ #include #include #include //types.h #include //types.h #include //types.h #include //types.h #include //types.h, qdtext.h #include //quickdra.h #include //quickdra.h #include //quickdra.h #include //quickdra.h #include //types.h quickdra.h osutils.h #include //types.h quickdra.h events.h #include //quickdra.h events.h controls.h #include //quickdra.h windows.h #include //windows.h textedit.h #include //types.h osutils.h segload.h #include //types.h files.h #include //types.h files.h #include //types.h files.h #include // #include //types.h dialogs.h files.h #include //types.h quickdra.h intlreso.h #include //types.h script.h osutils.h #include #else //!SYMC #include #include #include #include #define __cdecl #define __pascal pascal #define GetDialogItem GetDItem #define GetDialogItemText GetIText #define SetDialogItemText SetIText #define UppercaseText(prgch,cch,scr) UpperText(prgch,cch) #define LowercaseText(prgch,cch,scr) LowerText(prgch,cch) #include inline long LMGetHeapEnd(void) { return *(long *)ApplLimit; } inline long LMGetCurrentA5(void) { return *(long *)CurrentA5; } #endif //!SYMC typedef GrafPort PRT; typedef GrafPort *PPRT; typedef CGrafPort *PCPRT; typedef GDHandle HGD; typedef WindowRecord SWND; typedef SWND *HWND; typedef RgnHandle HRGN; typedef GWorldPtr PGWR; typedef PixMapHandle HPIX; typedef BitMap *PBMP; typedef PicHandle HPIC; typedef PaletteHandle HPAL; typedef CTabHandle HCLT;