1 //===-- IOHandlerCursesGUI.h ------------------------------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 #ifndef LLDB_CORE_IOHANDLERCURSESGUI_H
10 #define LLDB_CORE_IOHANDLERCURSESGUI_H
12 #include "lldb/Core/IOHandler.h"
14 namespace lldb_private {
16 class IOHandlerCursesGUI : public IOHandler {
18 IOHandlerCursesGUI(Debugger &debugger);
20 ~IOHandlerCursesGUI() override;
24 void Cancel() override;
26 bool Interrupt() override;
28 void GotEOF() override;
30 void Activate() override;
32 void Deactivate() override;
35 curses::ApplicationAP m_app_ap;
38 } // namespace lldb_private
40 #endif // LLDB_CORE_IOHANDLERCURSESGUI_H