Add a facility for delaying quit until critical tasks finish
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
parent
6e5ec2a00d
commit
b8994c2a89
7 changed files with 70 additions and 4 deletions
|
@ -58,6 +58,8 @@ impl super::ForegroundPlatform for ForegroundPlatform {
|
|||
|
||||
fn on_resign_active(&self, _: Box<dyn FnMut()>) {}
|
||||
|
||||
fn on_quit(&self, _: Box<dyn FnMut()>) {}
|
||||
|
||||
fn on_event(&self, _: Box<dyn FnMut(crate::Event) -> bool>) {}
|
||||
|
||||
fn on_open_files(&self, _: Box<dyn FnMut(Vec<std::path::PathBuf>)>) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue