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_
13 #include "lldb/Interpreter/CommandObject.h"
15 namespace lldb_private {
17 //-------------------------------------------------------------------------
19 //-------------------------------------------------------------------------
21 class CommandObjectQuit : public CommandObjectParsed {
23 CommandObjectQuit(CommandInterpreter &interpreter);
25 ~CommandObjectQuit() override;
28 bool DoExecute(Args &args, CommandReturnObject &result) override;
30 bool ShouldAskForConfirmation(bool &is_a_detach);
33 } // namespace lldb_private
35 #endif // liblldb_CommandObjectQuit_h_