blob: 416e3c02b2cb0d58734f6b43068c489798af5d55 [file] [log] [blame]
Chris Lattner24943d22010-06-08 16:52:24 +00001//===-- CommandObjectSource.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_CommandObjectSource_h_
11#define liblldb_CommandObjectSource_h_
12
13// C Includes
14// C++ Includes
15// Other libraries and framework includes
16// Project includes
17#include "lldb/Interpreter/CommandObject.h"
18#include "lldb/Core/STLUtils.h"
19
20namespace lldb_private {
21
22//-------------------------------------------------------------------------
23// CommandObjectSource
24//-------------------------------------------------------------------------
25
26class CommandObjectSource : public CommandObject
27{
28public:
29
30 CommandObjectSource ();
31
32 virtual
33 ~CommandObjectSource ();
34
35 STLStringArray &
36 GetCommands ();
37
38 virtual bool
39 Execute (Args& command,
40 CommandContext *context,
41 CommandInterpreter *interpreter,
42 CommandReturnObject &result);
43
44};
45
46} // namespace lldb_private
47
48#endif // liblldb_CommandObjectSource_h_