IOHandlerCursesGUI.h revision 360784
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 liblldb_IOHandlerCursesGUI_h_ 10#define liblldb_IOHandlerCursesGUI_h_ 11 12#include "lldb/Core/IOHandler.h" 13 14namespace lldb_private { 15 16class IOHandlerCursesGUI : public IOHandler { 17public: 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 34protected: 35 curses::ApplicationAP m_app_ap; 36}; 37 38} // namespace lldb_private 39 40#endif // liblldb_IOHandlerCursesGUI_h_ 41