os/textandloc/fontservices/textshaperplugin/IcuSource/layout/NonContextualGlyphSubstProc.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
/*
sl@0
     2
 *
sl@0
     3
 * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
sl@0
     4
 *
sl@0
     5
 */
sl@0
     6
sl@0
     7
#ifndef __NONCONTEXTUALGLYPHSUBSTITUTIONPROCESSOR_H
sl@0
     8
#define __NONCONTEXTUALGLYPHSUBSTITUTIONPROCESSOR_H
sl@0
     9
sl@0
    10
/**
sl@0
    11
 * \file
sl@0
    12
 * \internal
sl@0
    13
 */
sl@0
    14
sl@0
    15
#include "LETypes.h"
sl@0
    16
#include "MorphTables.h"
sl@0
    17
#include "SubtableProcessor.h"
sl@0
    18
#include "NonContextualGlyphSubst.h"
sl@0
    19
sl@0
    20
U_NAMESPACE_BEGIN
sl@0
    21
sl@0
    22
class LEGlyphStorage;
sl@0
    23
sl@0
    24
class NonContextualGlyphSubstitutionProcessor : public SubtableProcessor
sl@0
    25
{
sl@0
    26
public:
sl@0
    27
    virtual void process(LEGlyphStorage &glyphStorage) = 0;
sl@0
    28
sl@0
    29
    static SubtableProcessor *createInstance(const MorphSubtableHeader *morphSubtableHeader);
sl@0
    30
sl@0
    31
protected:
sl@0
    32
    NonContextualGlyphSubstitutionProcessor();
sl@0
    33
    NonContextualGlyphSubstitutionProcessor(const MorphSubtableHeader *morphSubtableHeader);
sl@0
    34
sl@0
    35
    virtual ~NonContextualGlyphSubstitutionProcessor();
sl@0
    36
sl@0
    37
private:
sl@0
    38
    NonContextualGlyphSubstitutionProcessor(const NonContextualGlyphSubstitutionProcessor &other); // forbid copying of this class
sl@0
    39
    NonContextualGlyphSubstitutionProcessor &operator=(const NonContextualGlyphSubstitutionProcessor &other); // forbid copying of this class
sl@0
    40
};
sl@0
    41
sl@0
    42
U_NAMESPACE_END
sl@0
    43
#endif