summaryrefslogtreecommitdiff
path: root/include/socketengine.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/socketengine.h')
-rw-r--r--include/socketengine.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/include/socketengine.h b/include/socketengine.h
index 330e3911c..ce701beff 100644
--- a/include/socketengine.h
+++ b/include/socketengine.h
@@ -29,8 +29,11 @@
*/
enum EventType
{
+ /** Read event */
EVENT_READ = 0,
+ /** Write event */
EVENT_WRITE = 1,
+ /** Error event */
EVENT_ERROR = 2
};
@@ -139,9 +142,13 @@ class CoreExport EventHandler : public Extensible
/** Pointer to read event. We delete this so the buffer can't be used
* after the socket is deleted, and so it doesn't leak memory
*/
- void * m_readEvent;
- void * m_writeEvent;
- void * m_acceptEvent;
+ void* m_readEvent;
+ /** Pointer to a write event.
+ */
+ void* m_writeEvent;
+ /** Pointer to an accept event.
+ */
+ void* m_acceptEvent;
#endif
};
@@ -286,3 +293,4 @@ public:
};
#endif
+