Files
oak-gpui/crates/gpui3/src/platform/test.rs
T
2023-09-19 20:55:13 -06:00

28 lines
537 B
Rust

use super::Platform;
pub struct TestPlatform;
impl TestPlatform {
pub fn new() -> Self {
TestPlatform
}
}
impl Platform for TestPlatform {
fn font_system(&self) -> std::sync::Arc<dyn crate::PlatformTextSystem> {
todo!()
}
fn open_window(
&self,
handle: crate::AnyWindowHandle,
options: crate::WindowOptions,
) -> Box<dyn crate::PlatformWindow> {
todo!()
}
fn dispatcher(&self) -> std::sync::Arc<dyn crate::PlatformDispatcher> {
todo!()
}
}