use super::PlatformInterface;
use anyhow::Result;
pub struct MacOSPlatform {
}
impl MacOSPlatform {
pub fn new() -> Self {
MacOSPlatform {}
}
}
impl PlatformInterface for MacOSPlatform {
fn initialize(&self) -> Result<()> {
println!("Initializing MacOS platform...");
Ok(())
}
fn cleanup(&self) -> Result<()> {
println!("Cleaning up MacOS platform...");
Ok(())
}
fn terminal_size(&self) -> (u16, u16) {
(80, 24)
}
}