os/textandloc/fontservices/textshaperplugin/IcuSource/layout/MPreFixups.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/textandloc/fontservices/textshaperplugin/IcuSource/layout/MPreFixups.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,42 @@
     1.4 +/*
     1.5 + *
     1.6 + * (C) Copyright IBM Corp. 2002-2004 - All Rights Reserved
     1.7 + *
     1.8 + */
     1.9 +
    1.10 +#ifndef __MPREFIXUPS_H
    1.11 +#define __MPREFIXUPS_H
    1.12 +
    1.13 +/**
    1.14 + * \file
    1.15 + * \internal
    1.16 + */
    1.17 +
    1.18 +#include "LETypes.h"
    1.19 +
    1.20 +U_NAMESPACE_BEGIN
    1.21 +
    1.22 +class LEGlyphStorage;
    1.23 +
    1.24 +// Might want to make this a private member...
    1.25 +struct FixupData;
    1.26 +
    1.27 +class MPreFixups : public UMemory
    1.28 +{
    1.29 +public:
    1.30 +    MPreFixups(le_int32 charCount);
    1.31 +   ~MPreFixups();
    1.32 +
    1.33 +    void add(le_int32 baseIndex, le_int32 mpreIndex);
    1.34 +    
    1.35 +    void apply(LEGlyphStorage &glyphStorage, LEErrorCode& success);
    1.36 +
    1.37 +private:
    1.38 +    FixupData *fFixupData;
    1.39 +    le_int32   fFixupCount;
    1.40 +};
    1.41 +
    1.42 +U_NAMESPACE_END
    1.43 +#endif
    1.44 +
    1.45 +