ICU-624 Added notes on synchronizing the script codes, and added to the C++ API the constants

X-SVN-Rev: 3042
This commit is contained in:
George Rhoten 2000-11-29 03:50:58 +00:00
parent a4a49dca69
commit 1f271c0575
2 changed files with 28 additions and 2 deletions

View File

@ -179,8 +179,11 @@ typedef enum UCharDirection UCharDirection;
* Script range as defined in the Unicode standard.
*/
/** Generated from Unicode Data files
* @draft
/* Please keep these values in sync with EUnicodeScript */
/**
* Generated from Unicode Data files
* These are the same values as Unicode::EUnicodeScript
* @draft
*/
enum UCharScript {
/* Script names */

View File

@ -135,6 +135,10 @@ public:
GENERAL_TYPES_COUNT = 30
};
/* Please keep these values in sync with UCharScript */
/**
* These are the same values as uchar.h::UCharScript
*/
enum EUnicodeScript
{
kBasicLatin,
@ -149,6 +153,8 @@ public:
kArmenian,
kHebrew,
kArabic,
kSyriac,
kThaana,
kDevanagari,
kBengali,
kGurmukhi,
@ -158,11 +164,20 @@ public:
kTelugu,
kKannada,
kMalayalam,
kSinhala,
kThai,
kLao,
kTibetan,
kMyanmar,
kGeorgian,
kHangulJamo,
kEthiopic,
kCherokee,
kUnifiedCanadianAboriginalSyllabics,
kogham,
kRunic,
kKhmer,
kMongolian,
kLatinExtendedAdditional,
kGreekExtended,
kGeneralPunctuation,
@ -182,15 +197,23 @@ public:
kGeometricShape,
kMiscSymbol,
kDingbat,
kBraillePatterns,
kCJKRadicalsSupplement,
kKangxiRadicals,
kIdeographicDescriptionCharacters,
kCJKSymbolPunctuation,
kHiragana,
kKatakana,
kBopomofo,
kHangulCompatibilityJamo,
kKanbun,
kBopomofoExtended,
kEnclosedCJKLetterMonth,
kCJKCompatibility,
kCJKUnifiedIdeographExtensionA,
kCJKUnifiedIdeograph,
kYiSyllables,
kYiRadicals,
kHangulSyllable,
kHighSurrogate,
kHighPrivateUseSurrogate,