home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 September / macformat-028.iso / mac / Shareware City / Developers / BoxMaker++ / BoxMaker++ ƒ / Sample Resources.r < prev   
Encoding:
C/C++ Source or Header  |  1995-06-14  |  743 b   |  39 lines  |  [TEXT/KAHL]

  1. #define SystemSevenOrLater 1
  2.  
  3. #include <Types.r>
  4.  
  5. #include "boxmaker templates.h"
  6. //
  7. // Include this if you want to limit the file types passed to your dropper:
  8. //
  9. resource 'typs' (128, Locked) {
  10.     {
  11.         'Test',
  12.         'This',
  13.         'That',
  14.         'More',
  15.         'Last'
  16.     }
  17. };
  18.  
  19. resource 'tycr' (128, Locked) {
  20.     {
  21.         'TEXT', 'ttxt',
  22.         'PICT', 'MPNT'
  23.     }
  24. };
  25. //
  26. // 'EnterFolders', 'PassInvisibles', and 'EnterInvisibles'
  27. // will all be set to false if the 'flgs' resource is absent.
  28. //
  29. // the flag 'passFolders' is set by the constructor. It can
  30. // not be changed by messing around with the 'flgs' resource
  31. // because the 'OpenDoc' handler may get upset about that.
  32. //
  33. resource 'flgs' (128) {
  34.     EnterFolders,
  35.     dontPassFolders,
  36.     dontEnterInvisibles,
  37.     dontPassInvisibles
  38. };
  39.