Debian Codegraph @

DebugAdapterClient/DAPWatchesView.h

raw
1 #ifndef DAPWATCHESVIEW_H
2 #define DAPWATCHESVIEW_H
3
4 #include "DAPVariableListCtrl.hpp"
5 #include "UI.h"
6 #include "clModuleLogger.hpp"
7
8 class DebugAdapterClient;
9 class DAPWatchesView : public DAPWatchesViewBase
10 {
11 DAPVariableListCtrl* m_list = nullptr;
12 DebugAdapterClient* m_plugin = nullptr;
13 clModuleLogger& LOG;
14
15 protected:
16 void OnNewWatch(wxCommandEvent& event);
17 void OnDeleteWatch(wxCommandEvent& event);
18 void OnDeleteAll(wxCommandEvent& event);
19 void OnDeleteAllUI(wxUpdateUIEvent& event);
20 void OnDeleteWatchUI(wxUpdateUIEvent& event);
21
22 public:
23 DAPWatchesView(wxWindow* parent, DebugAdapterClient* plugin, clModuleLogger& log);
24 virtual ~DAPWatchesView();
25
26 /**
27 * @brief update the watches in the context of the current frame
28 * @param current_frame_id
29 */
30 void Update(int current_frame_id);
31 void UpdateChildren(int varId, dap::VariablesResponse* response);
32 };
33 #endif // DAPWATCHESVIEW_H