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

  1. //  cmnctrlsMac.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)    // cmnctrls bundle resource ID
  49. {
  50.     'CMNC',         // cmnctrls 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.         },
  58.         'FREF',                // local resource IDs for 'FREF's
  59.         {
  60.             0, 128
  61.         }
  62.     }
  63. };
  64.  
  65. resource 'FREF' (128, purgeable)    // cmnctrls application
  66. {
  67.     'APPL', 0,
  68.     ""
  69. };
  70.  
  71. type 'CMNC' as 'STR ';
  72.  
  73. resource 'CMNC' (0, purgeable)
  74. {
  75.     "CommonControls Application"
  76. };
  77.  
  78. #ifdef _MPPC_
  79.  
  80. resource 'cfrg' (0)
  81. {
  82.     {
  83.         kPowerPC,
  84.         kFullLib,
  85.         kNoVersionNum,
  86.         kNoVersionNum,
  87.         kDefaultStackSize,
  88.         kNoAppSubFolder,
  89.         kIsApp,
  90.         kOnDiskFlat,
  91.         kZeroOffset,
  92.         kWholeFork,
  93.         "cmnctrls"
  94.     }
  95. };
  96.  
  97. #endif //_MPPC_
  98.