Checkpoint

This commit is contained in:
Nathan Sobo 2023-10-04 20:35:20 -06:00
parent c8bc68c267
commit 699a5d2944
12 changed files with 539 additions and 264 deletions

View file

@ -1,5 +1,5 @@
use super::Platform;
use crate::{Executor, ScreenId};
use crate::{DisplayId, Executor};
pub struct TestPlatform;
@ -47,11 +47,11 @@ impl Platform for TestPlatform {
unimplemented!()
}
fn screens(&self) -> Vec<std::rc::Rc<dyn crate::PlatformScreen>> {
fn displays(&self) -> Vec<std::rc::Rc<dyn crate::PlatformDisplay>> {
unimplemented!()
}
fn screen_by_id(&self, _id: ScreenId) -> Option<std::rc::Rc<dyn crate::PlatformScreen>> {
fn display(&self, _id: DisplayId) -> Option<std::rc::Rc<dyn crate::PlatformDisplay>> {
unimplemented!()
}