mirror of
https://github.com/transistorfet/moa.git
synced 2024-05-31 17:41:34 +00:00
14 lines
335 B
Rust
14 lines
335 B
Rust
|
|
use moa::error::Error;
|
|
use moa::host::traits::{Host, WindowUpdater};
|
|
|
|
pub struct ConsoleFrontend;
|
|
|
|
impl Host for ConsoleFrontend {
|
|
fn add_window(&self, updater: Box<dyn WindowUpdater>) -> Result<(), Error> {
|
|
println!("console: add_window() is not supported from the console; ignoring request...");
|
|
Ok(())
|
|
}
|
|
}
|
|
|