// the caller should delete the returned pointer
static wxEpollDispatcher *Create();
+ virtual ~wxEpollDispatcher();
+
// implement base class pure virtual methods
virtual bool RegisterFD(int fd, wxFDIOHandler* handler, int flags = wxFDIO_ALL);
virtual bool ModifyFD(int fd, wxFDIOHandler* handler, int flags = wxFDIO_ALL);
virtual bool UnregisterFD(int fd);
- virtual void Dispatch(int timeout = TIMEOUT_INFINITE);
+ virtual bool Dispatch(int timeout = TIMEOUT_INFINITE);
private:
// ctor is private, use Create()