mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 05:45:46 +00:00
applet: Add operation completed callback
This commit is contained in:
parent
6209fe0c27
commit
19b2571aec
8 changed files with 34 additions and 9 deletions
|
@ -605,8 +605,10 @@ private:
|
|||
ASSERT(applet != nullptr);
|
||||
|
||||
applet->Initialize(storage_stack);
|
||||
storage_stack.clear();
|
||||
interactive_storage_stack.clear();
|
||||
while (!storage_stack.empty())
|
||||
storage_stack.pop();
|
||||
while (!interactive_storage_stack.empty())
|
||||
interactive_storage_stack.pop();
|
||||
applet->Execute([this](IStorage storage) { AppletStorageProxyOutData(storage); },
|
||||
[this](IStorage storage) { AppletStorageProxyOutInteractiveData(storage); },
|
||||
[this] { state_changed_event->Signal(); });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue