GlobalSessionMonitor.h
Go to the documentation of this file.
1 #pragma once
2 #include <bzscore/sync.h>
3 #include "../../GDBServerFoundation/IGDBTarget.h"
4 
5 namespace MSP430Proxy
6 {
7  using namespace GDBServerFoundation;
8 
11  {
12  private:
13  BazisLib::Mutex m_Mutex;
14  ISyncGDBTarget *pSession;
15 
16  public:
18 
21  bool RegisterSession(ISyncGDBTarget *pTarget);
22 
24  void UnregisterSession(ISyncGDBTarget *pTarget);
25 
26  public:
28 
29  private:
30  static BOOL CALLBACK CtrlHandler(DWORD dwType);
31  };
32 
34 }