- wxGSocketIOHandler(GSocket* socket);
- int GetFlags() const;
- void RemoveFlag(wxFDIODispatcherEntryFlags flag);
- void AddFlag(wxFDIODispatcherEntryFlags flag);
+ wxGSocketIOHandler(GSocket* socket)
+ {
+ m_socket = socket;
+ m_flags = 0;
+ }
+
+ int GetFlags() const { return m_flags; }
+ void RemoveFlag(wxFDIODispatcherEntryFlags flag) { m_flags &= ~flag; }
+ void AddFlag(wxFDIODispatcherEntryFlags flag) { m_flags |= flag; }