brintos

brintos / llvm-project-archived public Read only

0
0
Text · 930 B · c27c0d1 Raw
33 lines · c
1//===-- CommandObjectQuit.h -------------------------------------*- C++ -*-===//2//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-exception6//7//===----------------------------------------------------------------------===//8 9#ifndef LLDB_SOURCE_COMMANDS_COMMANDOBJECTQUIT_H10#define LLDB_SOURCE_COMMANDS_COMMANDOBJECTQUIT_H11 12#include "lldb/Interpreter/CommandObject.h"13 14namespace lldb_private {15 16// CommandObjectQuit17 18class CommandObjectQuit : public CommandObjectParsed {19public:20  CommandObjectQuit(CommandInterpreter &interpreter);21 22  ~CommandObjectQuit() override;23 24protected:25  void DoExecute(Args &args, CommandReturnObject &result) override;26 27  bool ShouldAskForConfirmation(bool &is_a_detach);28};29 30} // namespace lldb_private31 32#endif // LLDB_SOURCE_COMMANDS_COMMANDOBJECTQUIT_H33