diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2013-08-23 17:46:38 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2013-08-23 17:46:38 +0000 |
| commit | f034231a6a1fd5d6395206c1651de8cd9402cca3 (patch) | |
| tree | f561dabc721ad515599172c16da3a4400b7f4aec /source/Commands/CommandObjectQuit.h | |
Notes
Diffstat (limited to 'source/Commands/CommandObjectQuit.h')
| -rw-r--r-- | source/Commands/CommandObjectQuit.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/source/Commands/CommandObjectQuit.h b/source/Commands/CommandObjectQuit.h new file mode 100644 index 000000000000..aab0e26cce59 --- /dev/null +++ b/source/Commands/CommandObjectQuit.h @@ -0,0 +1,46 @@ +//===-- CommandObjectQuit.h -------------------------------------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +#ifndef liblldb_CommandObjectQuit_h_ +#define liblldb_CommandObjectQuit_h_ + +// C Includes +// C++ Includes +// Other libraries and framework includes +// Project includes +#include "lldb/Interpreter/CommandObject.h" + +namespace lldb_private { + +//------------------------------------------------------------------------- +// CommandObjectQuit +//------------------------------------------------------------------------- + +class CommandObjectQuit : public CommandObjectParsed +{ +public: + + CommandObjectQuit (CommandInterpreter &interpreter); + + virtual + ~CommandObjectQuit (); + +protected: + virtual bool + DoExecute (Args& args, + CommandReturnObject &result); + + bool + ShouldAskForConfirmation (bool& is_a_detach); + +}; + +} // namespace lldb_private + +#endif // liblldb_CommandObjectQuit_h_ |
