home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 …ember: Reference Library / Apple Developer Reference Library (December 1999) (Disk 1).iso / pc / what's new / sample code / human interface toolbox / packagetool / packagetool.r < prev    next >
Encoding:
Text File  |  1999-10-22  |  1.6 KB  |  70 lines

  1. /*
  2.     file PackageTool.r
  3.     
  4.     Description:
  5.     This file contains the MPW Rez declarations used in the PackagTool
  6.     application.
  7.     
  8.     PackageTool is an application illustrating how to create application
  9.     packages in Mac OS 9.  It provides a simple interface for converting
  10.     correctly formatted folders into packages and vice versa.
  11.  
  12.     by John Montbriand, 1999.
  13.  
  14.     Copyright: © 1999 by Apple Computer, Inc.
  15.     all rights reserved.
  16.     
  17.     Disclaimer:
  18.     You may incorporate this sample code into your applications without
  19.     restriction, though the sample code has been provided "AS IS" and the
  20.     responsibility for its operation is 100% yours.  However, what you are
  21.     not permitted to do is to redistribute the source as "DSC Sample Code"
  22.     after having made changes. If you're going to re-distribute the source,
  23.     we require that you make it clear in the source that the code was
  24.     descended from Apple Sample Code, but that you've made changes.
  25.     
  26.     Change History (most recent first):
  27.     10/19/99 created by John Montbriand
  28. */
  29.  
  30. #include "Processes.r"
  31. #include "CodeFragments.r"
  32.  
  33. include "PackageTool.rsrc";
  34.  
  35. resource 'SIZE' (-1, purgeable)  {
  36.     reserved,
  37.     acceptSuspendResumeEvents,
  38.     reserved,
  39.     canBackground,
  40.     doesActivateOnFGSwitch,
  41.     backgroundAndForeground,
  42.     dontGetFrontClicks,
  43.     ignoreAppDiedEvents,
  44.     is32BitCompatible,
  45.     isHighLevelEventAware,
  46.     localAndRemoteHLEvents,
  47.     isStationeryAware,
  48.     dontUseTextEditServices,
  49.     reserved,
  50.     reserved,
  51.     reserved,
  52.     1024 * 300,
  53.     1024 * 300
  54. };
  55.  
  56. resource 'cfrg' (0) {
  57.     {    kPowerPC,
  58.         kFullLib,
  59.         kNoVersionNum,
  60.         kNoVersionNum,
  61.         kDefaultStackSize,
  62.         kNoAppSubFolder,
  63.         kIsApp,
  64.         kOnDiskFlat,
  65.         kZeroOffset,
  66.         kWholeFork,
  67.         "PackageTool"
  68.     }
  69. };
  70.