LeviLamina
Loading...
Searching...
No Matches
IDebuggerController.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace Scripting {
6
8public:
9 // IDebuggerController inner types define
10 using MessageHandler = ::std::function<void(::std::string_view)>;
11
12public:
13 // virtual functions
14 // NOLINTBEGIN
15 virtual ~IDebuggerController() = default;
16
17 virtual bool attach(
18 bool performHandshake,
19 ::std::optional<::std::string> targetModuleUuid,
20 ::std::function<void(::std::string_view)> handler
21 ) = 0;
22
23 virtual void detach() = 0;
24
25 virtual bool closed() const = 0;
26
27 virtual void pumpMessages() = 0;
28 // NOLINTEND
29
30public:
31 // virtual function thunks
32 // NOLINTBEGIN
33
34 // NOLINTEND
35};
36
37} // namespace Scripting
Definition IDebuggerController.h:7