home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 February: Tool Chest / Dev.CD Feb 00 TC.toast / pc / what's new? / sample code / human interface toolbox / packagetool / sample package / htmlsample sources / htmlsample.r < prev    next >
Encoding:
Text File  |  1999-12-02  |  1.6 KB  |  69 lines

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