os/textandloc/fontservices/textshaperplugin/IcuSource/layout/MPreFixups.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 /*
     2  *
     3  * (C) Copyright IBM Corp. 2002-2004 - All Rights Reserved
     4  *
     5  */
     6 
     7 #ifndef __MPREFIXUPS_H
     8 #define __MPREFIXUPS_H
     9 
    10 /**
    11  * \file
    12  * \internal
    13  */
    14 
    15 #include "LETypes.h"
    16 
    17 U_NAMESPACE_BEGIN
    18 
    19 class LEGlyphStorage;
    20 
    21 // Might want to make this a private member...
    22 struct FixupData;
    23 
    24 class MPreFixups : public UMemory
    25 {
    26 public:
    27     MPreFixups(le_int32 charCount);
    28    ~MPreFixups();
    29 
    30     void add(le_int32 baseIndex, le_int32 mpreIndex);
    31     
    32     void apply(LEGlyphStorage &glyphStorage, LEErrorCode& success);
    33 
    34 private:
    35     FixupData *fFixupData;
    36     le_int32   fFixupCount;
    37 };
    38 
    39 U_NAMESPACE_END
    40 #endif
    41 
    42