Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:42:45

0001 //===-- IOHandlerCursesGUI.h ------------------------------------*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 
0009 #ifndef LLDB_CORE_IOHANDLERCURSESGUI_H
0010 #define LLDB_CORE_IOHANDLERCURSESGUI_H
0011 
0012 #include "lldb/Core/IOHandler.h"
0013 
0014 namespace lldb_private {
0015 
0016 class IOHandlerCursesGUI : public IOHandler {
0017 public:
0018   IOHandlerCursesGUI(Debugger &debugger);
0019 
0020   ~IOHandlerCursesGUI() override;
0021 
0022   void Run() override;
0023 
0024   void Cancel() override;
0025 
0026   bool Interrupt() override;
0027 
0028   void GotEOF() override;
0029 
0030   void Activate() override;
0031 
0032   void Deactivate() override;
0033 
0034   void TerminalSizeChanged() override;
0035 
0036 protected:
0037   curses::ApplicationAP m_app_ap;
0038 };
0039 
0040 } // namespace lldb_private
0041 
0042 #endif // LLDB_CORE_IOHANDLERCURSESGUI_H