1 //===-- CommandObjectQuit.h -------------------------------------*- C++ -*-===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 #ifndef liblldb_CommandObjectQuit_h_ 11 #define liblldb_CommandObjectQuit_h_ 12 13 // C Includes 14 // C++ Includes 15 // Other libraries and framework includes 16 // Project includes 17 #include "lldb/Interpreter/CommandObject.h" 18 19 namespace lldb_private { 20 21 //------------------------------------------------------------------------- 22 // CommandObjectQuit 23 //------------------------------------------------------------------------- 24 25 class CommandObjectQuit : public CommandObjectParsed 26 { 27 public: 28 29 CommandObjectQuit (CommandInterpreter &interpreter); 30 31 virtual 32 ~CommandObjectQuit (); 33 34 protected: 35 virtual bool 36 DoExecute (Args& args, 37 CommandReturnObject &result); 38 39 bool 40 ShouldAskForConfirmation (bool& is_a_detach); 41 42 }; 43 44 } // namespace lldb_private 45 46 #endif // liblldb_CommandObjectQuit_h_ 47