]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/layout/ContextualGlyphInsertion.h
ICU-59180.0.1.tar.gz
[apple/icu.git] / icuSources / layout / ContextualGlyphInsertion.h
index d59c8d10777a7c1becfdcb56cb0a1cf8c96c6c11..526273257b0230d97fc4f4469ac49f945f464c7f 100644 (file)
@@ -1,7 +1,6 @@
-/*
- * @(#)ContextualGlyphInsertion.h      1.4 00/03/15
+/**
  *
  *
- * (C) Copyright IBM Corp. 1998-2003 - All Rights Reserved
+ * (C) Copyright IBM Corp. and Others 1998-2013 - All Rights Reserved
  *
  */
 
  *
  */
 
@@ -25,6 +24,11 @@ struct ContextualGlyphInsertionHeader : MorphStateTableHeader
 {
 };
 
 {
 };
 
+struct ContextualGlyphInsertionHeader2 : MorphStateTableHeader2
+{
+    le_uint32 insertionTableOffset;
+};
+
 enum ContextualGlyphInsertionFlags
 {
     cgiSetMark                  = 0x8000,
 enum ContextualGlyphInsertionFlags
 {
     cgiSetMark                  = 0x8000,
@@ -37,11 +41,17 @@ enum ContextualGlyphInsertionFlags
     cgiMarkedInsertCountMask    = 0x001F
 };
 
     cgiMarkedInsertCountMask    = 0x001F
 };
 
-struct LigatureSubstitutionStateEntry : StateEntry
+struct ContextualGlyphInsertionStateEntry : StateEntry
 {
     ByteOffset currentInsertionListOffset;
     ByteOffset markedInsertionListOffset;
 };
 
 {
     ByteOffset currentInsertionListOffset;
     ByteOffset markedInsertionListOffset;
 };
 
+struct ContextualGlyphInsertionStateEntry2 : StateEntry2
+{
+    le_uint16 currentInsertionListIndex;
+    le_uint16 markedInsertionListIndex;
+};
+
 U_NAMESPACE_END
 #endif
 U_NAMESPACE_END
 #endif