LeviLamina
Loading...
Searching...
No Matches
IBreakIterator.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace cohtml::i18n {
6
7class IBreakIterator {
8public:
9 // virtual functions
10 // NOLINTBEGIN
11 virtual ~IBreakIterator() = default;
12
13 virtual void Destroy() = 0;
14
15 virtual void ClearText();
16
17 virtual int GetCurrentPosition();
18
19 virtual int MoveToCandidateAfter(int);
20
21 virtual int MoveToCandidateBefore(int index) = 0;
22
23 virtual int MoveToNext();
24
25 virtual int MoveToPrevious();
26
27 virtual int ResetToBeginning();
28
29 virtual int ResetToEnd();
30
31 virtual void SetText(char const*, uint);
32
33 virtual void SetTextRef(char const* utfBuffer) = 0;
34 // NOLINTEND
35
36public:
37 // virtual function thunks
38 // NOLINTBEGIN
39 MCNAPI void $ClearText();
40
41 MCNAPI int $GetCurrentPosition();
42
43 MCNAPI int $MoveToCandidateAfter(int);
44
45 MCNAPI int $MoveToNext();
46
47 MCNAPI int $MoveToPrevious();
48
49 MCNAPI int $ResetToBeginning();
50
51 MCNAPI int $ResetToEnd();
52
53 MCNAPI void $SetText(char const*, uint);
54 // NOLINTEND
55};
56
57} // namespace cohtml::i18n
Definition IBreakIterator.h:7
MCAPI void $SetText(char const *, uint)
MCAPI int $MoveToCandidateAfter(int)