blob: 9e6c90b5e870f2bc9098e0513643bff364f39ae1 [file] [log] [blame]
Chris Lattner24943d22010-06-08 16:52:24 +00001//===-- 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
19namespace lldb_private {
20
21//-------------------------------------------------------------------------
22// CommandObjectHelp
23//-------------------------------------------------------------------------
24
25class CommandObjectHelp : public CommandObject
26{
27public:
28
Greg Clayton238c0a12010-09-18 01:14:36 +000029 CommandObjectHelp (CommandInterpreter &interpreter);
Chris Lattner24943d22010-06-08 16:52:24 +000030
31 virtual
32 ~CommandObjectHelp ();
33
Chris Lattner24943d22010-06-08 16:52:24 +000034 virtual bool
Greg Clayton238c0a12010-09-18 01:14:36 +000035 Execute (Args& command,
Chris Lattner24943d22010-06-08 16:52:24 +000036 CommandReturnObject &result);
37
38 virtual int
Greg Clayton238c0a12010-09-18 01:14:36 +000039 HandleCompletion (Args &input,
Chris Lattner24943d22010-06-08 16:52:24 +000040 int &cursor_index,
41 int &cursor_char_position,
42 int match_start_point,
43 int max_return_elements,
Jim Ingham802f8b02010-06-30 05:02:46 +000044 bool &word_complete,
Chris Lattner24943d22010-06-08 16:52:24 +000045 StringList &matches);
46
47};
48
49} // namespace lldb_private
50
51#endif // liblldb_CommandObjectHelp_h_