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:
Nathan Sobo
2021-06-07 17:21:34 -06:00
co-authored by Max Brunsfeld
parent 14b519f78d
commit 7b98994d1f
5 changed files with 46 additions and 46 deletions
+1 -1
View File
@@ -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()>);