MPreFixups.h revision 3171
114N/A/*
114N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
114N/A *
114N/A * This code is free software; you can redistribute it and/or modify it
114N/A * under the terms of the GNU General Public License version 2 only, as
114N/A * published by the Free Software Foundation. Oracle designates this
114N/A * particular file as subject to the "Classpath" exception as provided
114N/A * by Oracle in the LICENSE file that accompanied this code.
114N/A *
114N/A * This code is distributed in the hope that it will be useful, but WITHOUT
114N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
114N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
114N/A * version 2 for more details (a copy is included in the LICENSE file that
114N/A * accompanied this code).
114N/A *
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
/*
*
* (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