MCPcopy Create free account
hub / github.com/GrapheneCt/NetStream / CommonGuiEventHandler

Function CommonGuiEventHandler

NetStream/source/dialog.cpp:22–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21namespace dialog {
22 void CommonGuiEventHandler(int32_t instanceSlot, CommonGuiDialog::DIALOG_CB buttonCode, void *pUserArg)
23 {
24 CommonGuiDialog::Dialog::Close(instanceSlot);
25 s_currentDialog = CURRENT_DIALOG_NONE;
26 event::BroadcastGlobalEvent(s_currentPlugin, DialogEvent, buttonCode);
27 s_currentPlugin = NULL;
28 }
29}
30
31void dialog::OpenPleaseWait(Plugin *workPlugin, const wchar_t *titleText, const wchar_t *messageText, bool withCancel)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected