home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / Tools & Goodies / IntlTest / Sources / Part.r < prev    next >
Encoding:
Text File  |  1996-09-12  |  3.6 KB  |  190 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                Part.r
  4. //    Release Version:    $ ODF 2 $
  5. //
  6. //    Copyright:            (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #define SystemSevenOrBetter 1            // we want the extended types
  11. #define    SystemSevenOrLater    1            // Types.r uses this variable
  12.  
  13. #include "Types.r"
  14. #include "SysTypes.r"
  15. #include "CodeFragmentTypes.r"
  16.  
  17. #ifndef __ODTYPES_R__
  18. #include "ODTypes.r"
  19. #endif
  20.  
  21. #ifndef DEFINES_K
  22. #include "Defines.k"
  23. #endif
  24.  
  25. #ifndef BINDING_K
  26. #include "Binding.k"
  27. #endif
  28.  
  29. //-------------------------------------------------------------------------------------
  30. // .rsrc resources
  31. //-------------------------------------------------------------------------------------
  32.  
  33. include "MacIcons.rsrc" not 'ckid';
  34.  
  35. //-------------------------------------------------------------------------------------
  36. // Code Fragment Resource
  37. //-------------------------------------------------------------------------------------
  38.  
  39. resource 'cfrg' (0) {
  40.     {    /* array memberArray: 2 elements */
  41.         /* [1] */
  42. #ifdef FW_BUILD_MAC68K
  43.         kMotorola,
  44. #else
  45.         kPowerPC,
  46. #endif
  47.         kFullLib,
  48.         kNoVersionNum,
  49.         kNoVersionNum,
  50.         kDefaultStackSize,
  51.         kNoAppSubFolder,
  52.         kIsLib,
  53.         kOnDiskFlat,
  54.         kZeroOffset,
  55.         kWholeFork,
  56.         kODFIntlTestEditor,
  57.         /* [2] */
  58. #ifdef FW_BUILD_MAC68K
  59.         kMotorola,
  60. #else
  61.         kPowerPC,
  62. #endif
  63.         kFullLib,
  64.         kNoVersionNum,
  65.         kNoVersionNum,
  66.         kDefaultStackSize,
  67.         kNoAppSubFolder,
  68.         kIsLib,
  69.         kOnDiskFlat,
  70.         kZeroOffset,
  71.         kWholeFork,
  72.         "ODFIntlTest"
  73.     }
  74. };
  75.  
  76. //-------------------------------------------------------------------------------------
  77. // NMAP Resources
  78. //-------------------------------------------------------------------------------------
  79.  
  80. resource kODNameMappings (kKindCategoryMapId) {
  81.     kODKind,
  82.     {    /* array Types: 1 elements */
  83.         /* [1] */
  84.         kODFIntlTestKind,
  85.         kODIsAnISOStringList
  86.         {
  87.             {    /* array ClassIDs: 1 elements */
  88.                 /* [1] */
  89.                 kODCategoryPlainText
  90.             }
  91.         }
  92.     }
  93. };
  94.  
  95. resource kODNameMappings (kEditorKindMapId) {
  96.     kODEditorKinds,
  97.     {    /* array Types: 1 elements */
  98.         /* [1] */
  99.         kODFIntlTestEditor,
  100.         kODIsAnISOStringList
  101.         {
  102.             {    /* array ClassIDs: 1 elements */
  103.                 /* [1] */
  104.                 kODFIntlTestKind
  105.             }
  106.         }
  107.     }
  108. };
  109.  
  110. resource kODNameMappings (kEditorUserStringMapId) {
  111.     kODEditorUserString,
  112.     {    /* array Types: 1 elements */
  113.         /* [1] */
  114.         kODFIntlTestEditor,
  115.         kODIsINTLText
  116.         {
  117.             smRoman,
  118.             langEnglish,
  119.             kODFIntlTestEditorUserString
  120.         }
  121.     }
  122. };
  123.  
  124. resource kODNameMappings (kKindUserStringMapId) {
  125.     kODKindUserString,
  126.     {    /* array Types: 1 elements */
  127.         /* [1] */
  128.         kODFIntlTestKind,
  129.         kODIsINTLText
  130.         {
  131.             smRoman,
  132.             langEnglish,
  133.             kODFIntlTestKindUserString
  134.         }
  135.     }
  136. };
  137.  
  138. resource kODNameMappings (kCategoryUserStringMapId) {
  139.     kODCategoryUserString,
  140.     {    /* array Types: 1 elements */
  141.         /* [1] */
  142.         kODCategoryPlainText,
  143.         kODIsINTLText
  144.         {
  145.             smRoman,
  146.             langEnglish,
  147.             kODFIntlTestCategoryUserString
  148.         }
  149.     }
  150. };
  151.  
  152. resource kODNameMappings (kOldMacOSTypeMapId) {
  153.     kODKindOldMacOSType,
  154.     {    /* array KeyList: 1 elements */
  155.         /* [1] */
  156.         kODFIntlTestKind,
  157.         kODIsMacOSType {
  158.             kODFIntlTestOSType
  159.         }
  160.     }
  161. };
  162.  
  163. resource kODNameMappings (kEditorPlatformKinds) {
  164.     kODEditorPlatformKind,
  165.     {    /* array KeyList: 1 elements */
  166.         /* [1] */
  167.         kODFIntlTestEditor,
  168.         kODIsPltfmTypeSpac {
  169.             /* array PltfmTypeSpacList: 2 elements */
  170.             {
  171.                 /* [1] */
  172.                 kODPlatformFileType, 
  173.                 kTEXTOSType, 
  174.                 smRoman, 
  175.                 langEnglish, 
  176.                 kDragKindUserString1, 
  177.                 kODCategoryPlainText,
  178.                 /* [2] */
  179.                 kODPlatformDataType, 
  180.                 kTEXTOSType, 
  181.                 smRoman, 
  182.                 langEnglish, 
  183.                 kDragKindUserString2, 
  184.                 kODCategoryPlainText
  185.             }
  186.         }
  187.     }
  188. };
  189.  
  190.