Changeset View
Changeset View
Standalone View
Standalone View
debuggers/common/miframestackmodel.h
Show All 28 Lines | |||||
29 | namespace MI { | 29 | namespace MI { | ||
30 | struct ResultRecord; | 30 | struct ResultRecord; | ||
31 | } | 31 | } | ||
32 | 32 | | |||
33 | class MIDebugSession; | 33 | class MIDebugSession; | ||
34 | class MIFrameStackModel : public KDevelop::FrameStackModel | 34 | class MIFrameStackModel : public KDevelop::FrameStackModel | ||
35 | { | 35 | { | ||
36 | public: | 36 | public: | ||
37 | MIFrameStackModel( MIDebugSession* session); | 37 | explicit MIFrameStackModel( MIDebugSession* session); | ||
38 | 38 | | |||
39 | MIDebugSession* session(); | 39 | MIDebugSession* session(); | ||
40 | 40 | | |||
41 | protected: // FrameStackModel overrides | 41 | protected: // FrameStackModel overrides | ||
42 | void fetchThreads() override; | 42 | void fetchThreads() override; | ||
43 | void fetchFrames(int threadNumber, int from, int to) override; | 43 | void fetchFrames(int threadNumber, int from, int to) override; | ||
44 | 44 | | |||
45 | private: | 45 | private: | ||
46 | void handleThreadInfo(const MI::ResultRecord& r); | 46 | void handleThreadInfo(const MI::ResultRecord& r); | ||
47 | }; | 47 | }; | ||
48 | 48 | | |||
49 | } // end of namespace KDevMI | 49 | } // end of namespace KDevMI | ||
50 | 50 | | |||
51 | #endif | 51 | #endif |