1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
30
31
32
33
40
43
44
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/* ... */
#ifndef TOUCHCONTROLLER_HPP
#define TOUCHCONTROLLER_HPP
#include <touchgfx/hal/Types.hpp>
namespace touchgfx
{
/* ... */
class TouchController
{
public:
/* ... */
virtual ~TouchController()
{
}{ ... }
/* ... */
virtual void init() = 0;
/* ... */
virtual bool sampleTouch(int32_t& x, int32_t& y) = 0;public:
...};
...}
/* ... */
#endif