home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / BC_502 / CATALG.PAK / CATAMAC.R < prev    next >
Encoding:
Text File  |  1997-05-06  |  1.9 KB  |  111 lines

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