blob: 30ba9d1235d9a82c43a60e448bf54d3921ecf095 [file] [log] [blame]
Johnny Chen31c39da2010-12-23 20:21:44 +00001//===-- CommandObjectVersion.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_CommandObjectVersion_h_
11#define liblldb_CommandObjectVersion_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// CommandObjectVersion
23//-------------------------------------------------------------------------
24
Jim Ingham5a988412012-06-08 21:56:10 +000025class CommandObjectVersion : public CommandObjectParsed
Johnny Chen31c39da2010-12-23 20:21:44 +000026{
27public:
28
29 CommandObjectVersion (CommandInterpreter &interpreter);
30
Pavel Labath1fb7e202015-09-02 09:33:09 +000031 ~CommandObjectVersion() override;
Johnny Chen31c39da2010-12-23 20:21:44 +000032
Jim Ingham5a988412012-06-08 21:56:10 +000033protected:
Pavel Labath1fb7e202015-09-02 09:33:09 +000034 bool
35 DoExecute(Args& args,
36 CommandReturnObject &result) override;
Johnny Chen31c39da2010-12-23 20:21:44 +000037};
38
39} // namespace lldb_private
40
Pavel Labath1fb7e202015-09-02 09:33:09 +000041#endif // liblldb_CommandObjectVersion_h_