mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-14 20:12:29 +00:00
feat(event): add EventGetCurrentContext and EventPostClose
This commit is contained in:
parent
e7780e67fb
commit
8e61a4c428
2 changed files with 12 additions and 0 deletions
|
|
@ -71,6 +71,14 @@ void EventDoMessageLoop() {
|
|||
IEvtSchedulerProcess();
|
||||
}
|
||||
|
||||
HEVENTCONTEXT EventGetCurrentContext() {
|
||||
return PropGet(PROP_EVENTCONTEXT);
|
||||
}
|
||||
|
||||
void EventPostClose() {
|
||||
EventPostCloseEx(nullptr);
|
||||
}
|
||||
|
||||
void EventPostCloseEx(HEVENTCONTEXT contextHandle) {
|
||||
if (!contextHandle) {
|
||||
contextHandle = PropGet(PROP_EVENTCONTEXT);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue