summaryrefslogtreecommitdiff
path: root/core/include/fxcrt/fx_arb.h
blob: 5c4173822ea4de81bdbd9062a7b0657f6fbab837 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com

#ifndef CORE_INCLUDE_FXCRT_FX_ARB_H_
#define CORE_INCLUDE_FXCRT_FX_ARB_H_

#include "fx_system.h"

class IFX_BidiChar
{
public:
    static IFX_BidiChar* Create();
    virtual ~IFX_BidiChar() {}

    virtual void SetPolicy(bool bSeparateNeutral = true) = 0;
    virtual bool AppendChar(FX_WCHAR wch) = 0;
    virtual bool EndChar() = 0;
    virtual int32_t GetBidiInfo(int32_t &iStart, int32_t &iCount) = 0;
    virtual void Reset() = 0;
};

#endif  // CORE_INCLUDE_FXCRT_FX_ARB_H_