home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 April: Mac OS SDK / Dev.CD Apr 99 SDK1.toast / Development Kits / Interfaces&Libraries / Universal / Interfaces / RIncludes / UnicodeConverter.r < prev    next >
Encoding:
Text File  |  1998-08-17  |  1.6 KB  |  58 lines  |  [TEXT/MPS ]

  1. /*
  2.      File:        UnicodeConverter.r
  3.  
  4.      Contains:    Types, constants, and prototypes for Unicode Converter
  5.  
  6.      Version:    Technology:    Mac OS 8
  7.                  Release:    Universal Interfaces 3.2
  8.  
  9.      Copyright:    © 1994-1998 by Apple Computer, Inc., all rights reserved.
  10.  
  11.      Bugs?:        For bug reports, consult the following page on
  12.                  the World Wide Web:
  13.  
  14.                      http://developer.apple.com/bugreporter/
  15.  
  16. */
  17.  
  18. #ifndef __UNICODECONVERTER_R__
  19. #define __UNICODECONVERTER_R__
  20.  
  21. #ifndef __CONDITIONALMACROS_R__
  22. #include "ConditionalMacros.r"
  23. #endif
  24.  
  25. #define kUnicodeUseFallbacksBit         0
  26. #define kUnicodeKeepInfoBit             1
  27. #define kUnicodeDirectionalityBits         2
  28. #define kUnicodeVerticalFormBit         4
  29. #define kUnicodeLooseMappingsBit         5
  30. #define kUnicodeStringUnterminatedBit     6
  31. #define kUnicodeTextRunBit                 7
  32. #define kUnicodeKeepSameEncodingBit     8
  33. #define kUnicodeForceASCIIRangeBit         9
  34. #define kUnicodeNoHalfwidthCharsBit     10
  35.  
  36. #define kUnicodeUseFallbacksMask         0x00000001
  37. #define kUnicodeKeepInfoMask             0x00000002
  38. #define kUnicodeDirectionalityMask         0x0000000C
  39. #define kUnicodeVerticalFormMask         0x00000010
  40. #define kUnicodeLooseMappingsMask         0x00000020
  41. #define kUnicodeStringUnterminatedMask     0x00000040
  42. #define kUnicodeTextRunMask             0x00000080
  43. #define kUnicodeKeepSameEncodingMask     0x00000100
  44. #define kUnicodeForceASCIIRangeMask     0x00000200
  45. #define kUnicodeNoHalfwidthCharsMask     0x00000400
  46.  
  47. #define kUnicodeDefaultDirection         0
  48. #define kUnicodeLeftToRight             1
  49. #define kUnicodeRightToLeft             2
  50.  
  51. #define kUnicodeDefaultDirectionMask     0x00
  52. #define kUnicodeLeftToRightMask         0x04
  53. #define kUnicodeRightToLeftMask         0x08
  54.  
  55.  
  56. #endif /* __UNICODECONVERTER_R__ */
  57.  
  58.