LLDB mainline
IOHandlerCursesGUI.h
Go to the documentation of this file.
1//===-- IOHandlerCursesGUI.h ------------------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLDB_CORE_IOHANDLERCURSESGUI_H
10#define LLDB_CORE_IOHANDLERCURSESGUI_H
11
12#include "lldb/Core/IOHandler.h"
13
14namespace lldb_private {
15namespace curses {
16class Application;
17} // namespace curses
18
20public:
22
24
25 void Run() override;
26
27 void Cancel() override;
28
29 bool Interrupt() override;
30
31 void GotEOF() override;
32
33 void Activate() override;
34
35 void Deactivate() override;
36
37 void TerminalSizeChanged() override;
38
39protected:
40 std::unique_ptr<curses::Application> m_app_up;
41};
42
43} // namespace lldb_private
44
45#endif // LLDB_CORE_IOHANDLERCURSESGUI_H
A class to manage flag bits.
Definition Debugger.h:80
IOHandlerCursesGUI(Debugger &debugger)
std::unique_ptr< curses::Application > m_app_up
IOHandler(Debugger &debugger, IOHandler::Type type)
Definition IOHandler.cpp:55
A class that represents a running process on the host machine.