1 //===-- CommandObjectQuit.h -------------------------------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 #ifndef LLDB_SOURCE_COMMANDS_COMMANDOBJECTQUIT_H
10 #define LLDB_SOURCE_COMMANDS_COMMANDOBJECTQUIT_H
12 #include "lldb/Interpreter/CommandObject.h"
14 namespace lldb_private
{
18 class CommandObjectQuit
: public CommandObjectParsed
{
20 CommandObjectQuit(CommandInterpreter
&interpreter
);
22 ~CommandObjectQuit() override
;
25 void DoExecute(Args
&args
, CommandReturnObject
&result
) override
;
27 bool ShouldAskForConfirmation(bool &is_a_detach
);
30 } // namespace lldb_private
32 #endif // LLDB_SOURCE_COMMANDS_COMMANDOBJECTQUIT_H