]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/layout/SubtableProcessor.h
ICU-62141.0.1.tar.gz
[apple/icu.git] / icuSources / layout / SubtableProcessor.h
index 7af9c16a190d4a1cc68a55412078cf97a97bff61..b75a1cdc6464cbbc1b8a40473870981260099aaa 100644 (file)
@@ -1,7 +1,6 @@
 /*
- * @(#)SubtableProcessor.h     1.6 00/03/15
  *
- * (C) Copyright IBM Corp. 1998-2003 - All Rights Reserved
+ * (C) Copyright IBM Corp. 1998-2013 - All Rights Reserved
  *
  */
 
 
 U_NAMESPACE_BEGIN
 
+class LEGlyphStorage;
+
 class SubtableProcessor : public UMemory {
 public:
-    virtual void process(LEGlyphID *glyphs, le_int32 *charIndices, le_int32 glyph) = 0;
+    virtual void process(LEGlyphStorage &glyphStorage, LEErrorCode &success) = 0;
     virtual ~SubtableProcessor();
 
 protected:
-    SubtableProcessor(const MorphSubtableHeader *morphSubtableHeader);
+    SubtableProcessor(const LEReferenceTo<MorphSubtableHeader> &morphSubtableHeader, LEErrorCode &success);
 
     SubtableProcessor();
 
@@ -32,7 +33,7 @@ protected:
     SubtableCoverage coverage;
     FeatureFlags subtableFeatures;
 
-    const MorphSubtableHeader *subtableHeader;
+    const LEReferenceTo<MorphSubtableHeader> subtableHeader;
 
 private: