20 lines
299 B
Rust
20 lines
299 B
Rust
//! WebView 管理
|
|
|
|
use anyhow::Result;
|
|
|
|
pub struct WebViewManager;
|
|
|
|
impl WebViewManager {
|
|
pub fn new() -> Self {
|
|
Self
|
|
}
|
|
|
|
pub fn load_html(&self, _html: &str) -> Result<()> {
|
|
Ok(())
|
|
}
|
|
|
|
pub fn send_event(&self, _event: &str) -> Result<()> {
|
|
Ok(())
|
|
}
|
|
}
|