summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-02-08 22:25:06 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-02-08 22:25:06 +0100
commitb01820c079a605654d6307f6e57d65b339deef7d (patch)
tree1d139fc6a9b91a29a4dae9a86d061468fa2063f9 /include
parentdd43a49fc43c1ec07b41e19a8bd3649fadccad70 (diff)
Rename SocketEngine::AddFd() and DelFd() to AddFdRef() and DelFdRef()
Diffstat (limited to 'include')
-rw-r--r--include/socketengine.h6
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.