]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/lldb/include/lldb/Core/IOHandlerCursesGUI.h
sys/contrib/zstd: Import zstd 1.4.8
[FreeBSD/FreeBSD.git] / contrib / llvm-project / lldb / include / lldb / Core / IOHandlerCursesGUI.h
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
14 namespace lldb_private {
15
16 class IOHandlerCursesGUI : public IOHandler {
17 public:
18   IOHandlerCursesGUI(Debugger &debugger);
19
20   ~IOHandlerCursesGUI() override;
21
22   void Run() override;
23
24   void Cancel() override;
25
26   bool Interrupt() override;
27
28   void GotEOF() override;
29
30   void Activate() override;
31
32   void Deactivate() override;
33
34 protected:
35   curses::ApplicationAP m_app_ap;
36 };
37
38 } // namespace lldb_private
39
40 #endif // LLDB_CORE_IOHANDLERCURSESGUI_H