scuffed-code/icu4c/source/layout/MPreFixups.h
2016-06-15 18:58:17 +00:00

45 lines
725 B
C++

// Copyright (C) 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
*
* (C) Copyright IBM Corp. 2002-2008 - All Rights Reserved
*
*/
#ifndef __MPREFIXUPS_H
#define __MPREFIXUPS_H
/**
* \file
* \internal
*/
#include "LETypes.h"
U_NAMESPACE_BEGIN
class LEGlyphStorage;
// Might want to make this a private member...
struct FixupData;
class MPreFixups : public UMemory
{
public:
MPreFixups(le_int32 charCount);
~MPreFixups();
void add(le_int32 baseIndex, le_int32 mpreIndex);
void apply(LEGlyphStorage &glyphStorage, LEErrorCode& success);
private:
FixupData *fFixupData;
le_int32 fFixupCount;
};
U_NAMESPACE_END
#endif