use crate::Result;
use std::{borrow::Cow, sync::Arc};
use tokio::{
sync::Mutex,
time::{sleep, Duration},
};
use zeroize::Zeroize;
#[derive(Clone)]
pub struct Clipboard {
timeout_seconds: u16,
}
impl Clipboard {
pub fn new() -> Result<Self> {
Self::new_timeout(90)
}
pub fn new_timeout(timeout_seconds: u16) -> Result<Self> {
Ok(Self { timeout_seconds })
}
pub async fn get_text(&self) -> Result<String> {
unimplemented!();
}
pub async fn set_text<'a, T: Into<Cow<'a, str>>>(
&self,
text: T,
) -> Result<()> {
unimplemented!();
}
pub async fn clear(&self) -> Result<()> {
unimplemented!();
}
pub async fn set_text_timeout<'a, T: Into<Cow<'a, str>>>(
&self,
text: T,
) -> Result<()> {
unimplemented!();
}
}