Colin Riley | c9c55a2 | 2015-05-04 18:39:38 +0000 | [diff] [blame] | 1 | //===-- CommandObjectLanguage.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_CommandObjectLanguage_h_ |
| 11 | #define liblldb_CommandObjectLanguage_h_ |
| 12 | |
| 13 | // C Includes |
| 14 | // C++ Includes |
| 15 | |
Colin Riley | c9c55a2 | 2015-05-04 18:39:38 +0000 | [diff] [blame] | 16 | // Other libraries and framework includes |
| 17 | // Project includes |
| 18 | |
| 19 | #include "lldb/lldb-types.h" |
| 20 | #include "lldb/Interpreter/CommandObjectMultiword.h" |
| 21 | |
| 22 | namespace lldb_private { |
| 23 | class CommandObjectLanguage : public CommandObjectMultiword |
| 24 | { |
| 25 | public: |
| 26 | CommandObjectLanguage (CommandInterpreter &interpreter); |
| 27 | |
Pavel Labath | 1fb7e20 | 2015-09-02 09:33:09 +0000 | [diff] [blame^] | 28 | ~CommandObjectLanguage() override; |
Colin Riley | c9c55a2 | 2015-05-04 18:39:38 +0000 | [diff] [blame] | 29 | |
Pavel Labath | 1fb7e20 | 2015-09-02 09:33:09 +0000 | [diff] [blame^] | 30 | void |
| 31 | GenerateHelpText(Stream &output_stream) override; |
Colin Riley | c9c55a2 | 2015-05-04 18:39:38 +0000 | [diff] [blame] | 32 | |
| 33 | protected: |
| 34 | bool |
| 35 | DoExecute (Args& command, CommandReturnObject &result); |
| 36 | }; |
| 37 | } // namespace lldb_private |
| 38 | |
Pavel Labath | 1fb7e20 | 2015-09-02 09:33:09 +0000 | [diff] [blame^] | 39 | #endif // liblldb_CommandObjectLanguage_h_ |