diff options
Diffstat (limited to 'include/cru/base/platform')
| -rw-r--r-- | include/cru/base/platform/unix/EventLoop.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/cru/base/platform/unix/EventLoop.h b/include/cru/base/platform/unix/EventLoop.h index c7674a91..84d413fb 100644 --- a/include/cru/base/platform/unix/EventLoop.h +++ b/include/cru/base/platform/unix/EventLoop.h @@ -5,6 +5,7 @@ #endif #include "../../Base.h" +#include "../../Event.h" #include "../../Timer.h" #include "UnixFile.h" @@ -103,6 +104,8 @@ class UnixEventLoop : public Object { void SetPoll(int fd, PollEvents events, PollHandler action); void RemovePoll(int fd); + CRU_DEFINE_EVENT(AfterEachRound, std::nullptr_t) + private: bool CheckPoll(); bool CheckActionPipe(); |
