1 //===-- CommandObjectQuit.h -------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef liblldb_CommandObjectQuit_h_
11 #define liblldb_CommandObjectQuit_h_
15 // Other libraries and framework includes
17 #include "lldb/Interpreter/CommandObject.h"
19 namespace lldb_private {
21 //-------------------------------------------------------------------------
23 //-------------------------------------------------------------------------
25 class CommandObjectQuit : public CommandObjectParsed {
27 CommandObjectQuit(CommandInterpreter &interpreter);
29 ~CommandObjectQuit() override;
32 bool DoExecute(Args &args, CommandReturnObject &result) override;
34 bool ShouldAskForConfirmation(bool &is_a_detach);
37 } // namespace lldb_private
39 #endif // liblldb_CommandObjectQuit_h_