Debian Codegraph @

DebugAdapterClient/DapProcess.hpp

raw
1 #ifndef DAPPROCESS_HPP
2 #define DAPPROCESS_HPP
3
4 #include "cl_command_event.h"
5
6 #include <wx/process.h>
7
8 /// helper class that notifies when a process was terminated
9 class DapProcess : public wxProcess
10 {
11 wxEvtHandler* m_notifier = nullptr;
12
13 public:
14 DapProcess(wxEvtHandler* notifier);
15 virtual ~DapProcess();
16
17 void OnTerminate(int pid, int status) override;
18 };
19
20 #endif // DAPPROCESS_HPP