diff options
| author | Yuqian Yang <crupest@crupest.life> | 2025-11-18 17:47:56 +0800 |
|---|---|---|
| committer | Yuqian Yang <crupest@crupest.life> | 2025-11-18 18:11:19 +0800 |
| commit | 73c55a65fc2d3200adab6a48ffc28c66bbf9159b (patch) | |
| tree | 6df433746fd55ac4d786dea25fa0cddcc36a6349 /include/cru/base/platform/unix/EventLoop.h | |
| parent | 95587a99ffb2680532879b0470d3cbb3bf9e736f (diff) | |
| download | cru-73c55a65fc2d3200adab6a48ffc28c66bbf9159b.tar.gz cru-73c55a65fc2d3200adab6a48ffc28c66bbf9159b.tar.bz2 cru-73c55a65fc2d3200adab6a48ffc28c66bbf9159b.zip | |
Impl DeleteLater on XcbUiApplication.
Diffstat (limited to 'include/cru/base/platform/unix/EventLoop.h')
| -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(); |
