blob: 5f661cc341c0502434714f0d9b06012da4652b53 [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
Kate Stoneb9c1b512016-09-06 20:57:50 +000025class CommandObjectVersion : public CommandObjectParsed {
Johnny Chen31c39da2010-12-23 20:21:44 +000026public:
Kate Stoneb9c1b512016-09-06 20:57:50 +000027 CommandObjectVersion(CommandInterpreter &interpreter);
Johnny Chen31c39da2010-12-23 20:21:44 +000028
Kate Stoneb9c1b512016-09-06 20:57:50 +000029 ~CommandObjectVersion() override;
Johnny Chen31c39da2010-12-23 20:21:44 +000030
Jim Ingham5a988412012-06-08 21:56:10 +000031protected:
Kate Stoneb9c1b512016-09-06 20:57:50 +000032 bool DoExecute(Args &args, CommandReturnObject &result) override;
Johnny Chen31c39da2010-12-23 20:21:44 +000033};
34
35} // namespace lldb_private
36
Pavel Labath1fb7e202015-09-02 09:33:09 +000037#endif // liblldb_CommandObjectVersion_h_