1use super::Platform;
2
3pub struct TestPlatform;
4
5impl TestPlatform {
6 pub fn new() -> Self {
7 TestPlatform
8 }
9}
10
11impl Platform for TestPlatform {
12 fn font_system(&self) -> std::sync::Arc<dyn crate::PlatformTextSystem> {
13 todo!()
14 }
15
16 fn open_window(
17 &self,
18 handle: crate::AnyWindowHandle,
19 options: crate::WindowOptions,
20 ) -> Box<dyn crate::PlatformWindow> {
21 todo!()
22 }
23
24 fn dispatcher(&self) -> std::sync::Arc<dyn crate::PlatformDispatcher> {
25 todo!()
26 }
27}