LeviLamina
Loading...
Searching...
No Matches
TouchSystemWrapper.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/oreui/interface/ITouchSystem.h"
7
8// auto generated forward declare list
9// clang-format off
10class Vec2;
11namespace OreUI { struct GestureEventData; }
12namespace OreUI { struct TouchEventData; }
13namespace cohtml { struct GestureEventData; }
14namespace cohtml { struct MouseEventData; }
15namespace cohtml { struct TouchEventData; }
16// clang-format on
17
18namespace OreUI {
19
20class TouchSystemWrapper : public ::OreUI::ITouchSystem {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 64, ::std::function<void(::std::vector<::cohtml::TouchEventData>&)>> mTouchEventsCallback;
25 ::ll::TypedStorage<8, 64, ::std::function<void(::cohtml::GestureEventData&)>> mGestureEventCallback;
26 ::ll::TypedStorage<8, 64, ::std::function<void(::cohtml::MouseEventData const&)>> mMouseEventCallback;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 TouchSystemWrapper();
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual void sendTouchEvents(::std::vector<::OreUI::TouchEventData> const& events) /*override*/;
37
38 virtual void sendGestureEvent(::OreUI::GestureEventData const& event) /*override*/;
39
40 virtual void sendMouseMoveEvent(::Vec2 const& pos) /*override*/;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI TouchSystemWrapper(
47 ::std::function<void(::std::vector<::cohtml::TouchEventData>&)> const& touchEventsCallback,
48 ::std::function<void(::cohtml::GestureEventData&)> const& gestureEventCallback,
49 ::std::function<void(::cohtml::MouseEventData const&)> const& mouseEventCallback
50 );
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
56 MCAPI void* $ctor(
57 ::std::function<void(::std::vector<::cohtml::TouchEventData>&)> const& touchEventsCallback,
58 ::std::function<void(::cohtml::GestureEventData&)> const& gestureEventCallback,
59 ::std::function<void(::cohtml::MouseEventData const&)> const& mouseEventCallback
60 );
61 // NOLINTEND
62
63public:
64 // virtual function thunks
65 // NOLINTBEGIN
66 MCAPI void $sendTouchEvents(::std::vector<::OreUI::TouchEventData> const& events);
67
68 MCAPI void $sendGestureEvent(::OreUI::GestureEventData const& event);
69
70 MCAPI void $sendMouseMoveEvent(::Vec2 const& pos);
71 // NOLINTEND
72
73public:
74 // vftables
75 // NOLINTBEGIN
76 MCNAPI static void** $vftable();
77 // NOLINTEND
78};
79
80} // namespace OreUI
Definition TouchSystemWrapper.h:7
static MCAPI void ** $vftable()
Definition Vec2.h:5
Definition GestureEventData.h:7
Definition TouchEventData.h:7
Definition GestureEventData.h:7
Definition MouseEventData.h:7
Definition TouchEventData.h:7