Acacia
atspi_text_interface.h
1
#ifndef INCLUDE_ACACIA_ATSPI_ATSPI_TEXT_INTERFACE_H_
2
#define INCLUDE_ACACIA_ATSPI_ATSPI_TEXT_INTERFACE_H_
3
4
#include "acacia/atspi/atspi_interface.h"
5
6
#include <string>
7
8
#include <atspi/atspi.h>
9
10
namespace
acacia {
11
19
class
AtspiTextInterface
:
public
AtspiInterface
<AtspiText> {
20
public
:
21
using
AtspiInterface<AtspiText>::AtspiInterface
;
22
28
std::string
toString
()
const override
;
29
35
int
getCaretOffset
()
const
;
36
42
int
getCharacterCount
()
const
;
43
52
std::string
getText
(
int
start_offset,
int
end_offset)
const
;
53
};
54
55
}
// namespace acacia
56
57
#endif
// INCLUDE_ACACIA_ATSPI_ATSPI_TEXT_INTERFACE_H_
acacia::AtspiInterface
Definition:
atspi_interface.h:18
acacia::AtspiTextInterface
Definition:
atspi_text_interface.h:19
acacia::AtspiTextInterface::getCharacterCount
int getCharacterCount() const
acacia::AtspiTextInterface::getText
std::string getText(int start_offset, int end_offset) const
acacia::AtspiTextInterface::getCaretOffset
int getCaretOffset() const
acacia::AtspiTextInterface::toString
std::string toString() const override
include
acacia
atspi
atspi_text_interface.h
Generated by
1.9.1