#pragma once #include #include class ProtocolInformation { public: ProtocolInformation(); ~ProtocolInformation(); void disable(const char *protocol); bool isDisabled(const char *protocol) const; private: typedef std::pair ProtocolTimeout; typedef std::deque ProtocolTimeoutQueue; static void CALLBACK TimerProc(HWND hwnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTime); static ProtocolInformation *m_instance; ProtocolTimeoutQueue m_protocol_timeout; };