Rename PlatformLifecycle to MainThreadPlatform
Don't love it, but at least it's accurate. Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
co-authored by
Max Brunsfeld
parent
14b519f78d
commit
7b98994d1f
@@ -27,7 +27,7 @@ use std::{
|
||||
sync::Arc,
|
||||
};
|
||||
|
||||
pub(crate) trait Lifecycle {
|
||||
pub(crate) trait MainThreadPlatform {
|
||||
fn on_menu_command(&self, callback: Box<dyn FnMut(&str, Option<&dyn Any>)>);
|
||||
fn on_become_active(&self, callback: Box<dyn FnMut()>);
|
||||
fn on_resign_active(&self, callback: Box<dyn FnMut()>);
|
||||
|
||||
Reference in New Issue
Block a user