Chris Lattner | 24943d2 | 2010-06-08 16:52:24 +0000 | [diff] [blame] | 1 | //===-- CommandObjectHelp.h -------------------------------------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | #ifndef liblldb_CommandObjectHelp_h_ |
| 11 | #define liblldb_CommandObjectHelp_h_ |
| 12 | |
| 13 | // C Includes |
| 14 | // C++ Includes |
| 15 | // Other libraries and framework includes |
| 16 | // Project includes |
| 17 | #include "lldb/Interpreter/CommandObject.h" |
| 18 | |
| 19 | namespace lldb_private { |
| 20 | |
| 21 | //------------------------------------------------------------------------- |
| 22 | // CommandObjectHelp |
| 23 | //------------------------------------------------------------------------- |
| 24 | |
| 25 | class CommandObjectHelp : public CommandObject |
| 26 | { |
| 27 | public: |
| 28 | |
| 29 | CommandObjectHelp (); |
| 30 | |
| 31 | virtual |
| 32 | ~CommandObjectHelp (); |
| 33 | |
Chris Lattner | 24943d2 | 2010-06-08 16:52:24 +0000 | [diff] [blame] | 34 | virtual bool |
Greg Clayton | 63094e0 | 2010-06-23 01:19:29 +0000 | [diff] [blame] | 35 | Execute (CommandInterpreter &interpreter, |
| 36 | Args& command, |
Chris Lattner | 24943d2 | 2010-06-08 16:52:24 +0000 | [diff] [blame] | 37 | CommandReturnObject &result); |
| 38 | |
| 39 | virtual int |
Greg Clayton | 63094e0 | 2010-06-23 01:19:29 +0000 | [diff] [blame] | 40 | HandleCompletion (CommandInterpreter &interpreter, |
| 41 | Args &input, |
Chris Lattner | 24943d2 | 2010-06-08 16:52:24 +0000 | [diff] [blame] | 42 | int &cursor_index, |
| 43 | int &cursor_char_position, |
| 44 | int match_start_point, |
| 45 | int max_return_elements, |
Jim Ingham | 802f8b0 | 2010-06-30 05:02:46 +0000 | [diff] [blame] | 46 | bool &word_complete, |
Chris Lattner | 24943d2 | 2010-06-08 16:52:24 +0000 | [diff] [blame] | 47 | StringList &matches); |
| 48 | |
| 49 | }; |
| 50 | |
| 51 | } // namespace lldb_private |
| 52 | |
| 53 | #endif // liblldb_CommandObjectHelp_h_ |