From 73c55a65fc2d3200adab6a48ffc28c66bbf9159b Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Tue, 18 Nov 2025 17:47:56 +0800 Subject: Impl DeleteLater on XcbUiApplication. --- include/cru/base/platform/unix/EventLoop.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/cru/base/platform/unix/EventLoop.h') 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(); -- cgit v1.2.3