home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / BC_502 / DLLTRAC.PAK / DLLTMAC.R next >
Encoding:
Text File  |  1997-05-06  |  1.6 KB  |  106 lines

  1. //    DLLTMac.r: Macintosh-specific resources
  2.  
  3. #include "types.r"
  4. #include "ftab.r"
  5. #include "CodeFrag.r"
  6.  
  7. resource 'SIZE' (-1)
  8. {
  9.     reserved,
  10.     acceptSuspendResumeEvents,
  11.     reserved,
  12.     canBackground,                
  13.     doesActivateOnFGSwitch,
  14.     backgroundAndForeground,    
  15.     dontGetFrontClicks,            
  16.     ignoreAppDiedEvents,        
  17.     is32BitCompatible,            
  18.     isHighLevelEventAware,
  19.     localAndRemoteHLEvents,
  20.     isStationeryAware,
  21.     useTextEditServices,
  22.     reserved,
  23.     reserved,
  24.     reserved,
  25.  
  26. // Set different sizes depending on whether we're compiling for
  27. //  PowerMacintosh or 68K
  28.  
  29. #ifdef _MPPC_
  30.  
  31.     2500 * 1024,
  32.     2500 * 1024
  33.  
  34. #else //!_MPPC_
  35.  
  36. #ifdef _DEBUG
  37.     3000 * 1024,
  38.     3000 * 1024
  39. #else
  40.     2000 * 1024,
  41.     2000 * 1024
  42. #endif //DEBUG
  43.  
  44. #endif //_MPPC
  45.  
  46. };
  47.  
  48. resource 'BNDL' (128, purgeable)    // DllTrace bundle resource ID
  49. {
  50.     'DLLT',            // DllTrace signature
  51.     0,                        // resource ID of signature resource:
  52.                             // should be 0
  53.      {
  54.         'ICN#',                // mapping local IDs in 'FREF's to 'ICN#' IDs
  55.         {
  56.             0, 128,
  57.             1, 129
  58.         },
  59.         'FREF',                // local resource IDs for 'FREF's
  60.         {
  61.             0, 128,
  62.             1, 129
  63.         }
  64.     }
  65. };
  66.  
  67. resource 'FREF' (128, purgeable)    // DllTrace application
  68. {
  69.     'APPL', 0,
  70.     ""
  71. };
  72.  
  73. resource 'FREF' (129, purgeable)    // DllTrace document
  74. {
  75.     'DLLT', 1,
  76.     ""
  77. };
  78.  
  79. type 'DLLT' as 'STR ';
  80.  
  81. resource 'DLLT' (0, purgeable)
  82. {
  83.     "DllTrace Application"
  84. };
  85.  
  86. #ifdef _MPPC_
  87.  
  88. resource 'cfrg' (0)
  89. {
  90.     {
  91.         kPowerPC,
  92.         kFullLib,
  93.         kNoVersionNum,
  94.         kNoVersionNum,
  95.         kDefaultStackSize,
  96.         kNoAppSubFolder,
  97.         kIsApp,
  98.         kOnDiskFlat,
  99.         kZeroOffset,
  100.         kWholeFork,
  101.         "DllTrace"
  102.     }
  103. };
  104.  
  105. #endif //_MPPC_
  106.