diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/socketengine.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/socketengine.h b/include/socketengine.h index a2179d951..d4d6c4c1c 100644 --- a/include/socketengine.h +++ b/include/socketengine.h @@ -255,7 +255,9 @@ class CoreExport SocketEngine /** Add an event handler to the base socket engine. AddFd(EventHandler*, int) should call this. */ - bool AddFd(EventHandler* eh); + bool AddFdRef(EventHandler* eh); + + void DelFdRef(EventHandler* eh); template <typename T> void ResizeDouble(std::vector<T>& vect) @@ -327,7 +329,7 @@ public: * required you must do this yourself. * @param eh The event handler object to remove */ - virtual void DelFd(EventHandler* eh); + virtual void DelFd(EventHandler* eh) = 0; /** Returns true if a file descriptor exists in * the socket engine's list. |