home *** CD-ROM | disk | FTP | other *** search
- /****
- File.....: FakeStart.h
- Date.....: Thursday, April 04, 1996
- By.......: Ken Earle. No rights reserved.
- ****/
-
- #pragma once
-
- // For finding the Finder
- #define kostypeCreatorMac 'MACS'
- #define kostypeFinder 'FNDR'
-
- // Generic alert ID
- #define kCannotFunctionAlertID 1000
- // STR# for the alert messages
- #define kErrorStringID 1000
- // STR# for other strings
- #define kGeneralStringID 1001
-
- // Error indices into STR# 1000
- typedef enum ErrorIndex
- {
- eGeneralFailure_ErrorIndex = 1,
- eMachineTooOld_ErrorIndex = 2,
- ePreSystem7_ErrorIndex = 3,
- eNoAppleEvents_ErrorIndex = 4,
- eApplicationNotFound_ErrorIndex = 5,
- eMemoryOut_ErrorIndex = 6
- } ErrorIndex;
-
- // Indices into STR# 1001
- typedef enum GeneralIndex
- {
- eAppCreator_GeneralIndex = 1 // app's creator, eg "JAGO"
- } GeneralIndex;
-
- // Describing the "real" application
- #define realApplication_type 'APPL'
- // CHANGE STR# 1001 string 1 to override this default.
- #define kDefaultAppCreator 'JAGO'
-
- // CHANGE this to TRUE if your real app is AppleEvent-aware.
- #define APP_IS_AE_AWARE FALSE
-
- #define NUM_HANDLES_TOP 100 // maximum memory fragments
-
- // Globals for system 7
- typedef struct SysDetails
- {
- Boolean hasGestalt,
- hasSystem7,
- hasFSS,
- hasAE,
- hasColor,
- dummy;
- } SysDetails;
-
-
- // Element in a linked list of FSSpec
- typedef struct FSSpecElement
- {
- struct FSSpecElement *next;
- FSSpec fss;
- } FSSpecElement, *FSSpecElementPtr;
-
- // Mockup of a typical SIZE resource, 10 bytes
- typedef struct SIZE
- {
- short someFlags;
- long preferredSize;
- long minimumSize;
- } SIZE, *SIZEPtr;
-