Changeset View
Changeset View
Standalone View
Standalone View
debuggers/lldb/lldbcommand.h
Show All 29 Lines | |||||
30 | /** | 30 | /** | ||
31 | * LLDB specific version of MICommand, when LLDB-MI implements all | 31 | * LLDB specific version of MICommand, when LLDB-MI implements all | ||
32 | * needed mi command, this class would be no longer needed. | 32 | * needed mi command, this class would be no longer needed. | ||
33 | */ | 33 | */ | ||
34 | class DebugSession; | 34 | class DebugSession; | ||
35 | class LldbCommand : public MI::MICommand | 35 | class LldbCommand : public MI::MICommand | ||
36 | { | 36 | { | ||
37 | protected: | 37 | protected: | ||
38 | LldbCommand(MI::CommandType type, const QString& arguments = QString(), | 38 | explicit LldbCommand(MI::CommandType type, const QString& arguments = QString(), | ||
39 | MI::CommandFlags flags = nullptr); | 39 | MI::CommandFlags flags = nullptr); | ||
40 | friend class KDevMI::LLDB::DebugSession; | 40 | friend class KDevMI::LLDB::DebugSession; | ||
41 | public: | 41 | public: | ||
42 | ~LldbCommand(); | 42 | ~LldbCommand(); | ||
43 | 43 | | |||
44 | QString cmdToSend() override; | 44 | QString cmdToSend() override; | ||
45 | QString miCommand() const override; | 45 | QString miCommand() const override; | ||
46 | 46 | | |||
47 | private: | 47 | private: | ||
48 | QString overrideCmd; | 48 | QString overrideCmd; | ||
49 | }; | 49 | }; | ||
50 | 50 | | |||
51 | } // end of namespace LLDB | 51 | } // end of namespace LLDB | ||
52 | } // end of namespace KDevMI | 52 | } // end of namespace KDevMI | ||
53 | 53 | | |||
54 | #endif // LLDBCOMMAND_H | 54 | #endif // LLDBCOMMAND_H |