mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
begin multi-driver page client implementation
This commit is contained in:
parent
df8dea9534
commit
0c08a0fb2f
39 changed files with 741 additions and 1712 deletions
21
src/app/browser/window/tab/item/client/driver.rs
Normal file
21
src/app/browser/window/tab/item/client/driver.rs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
mod gemini;
|
||||
|
||||
use super::{Feature, Page};
|
||||
use gemini::Gemini;
|
||||
use std::rc::Rc;
|
||||
|
||||
/// Different protocols implementation
|
||||
pub struct Driver {
|
||||
pub gemini: Gemini,
|
||||
}
|
||||
|
||||
impl Driver {
|
||||
// Constructors
|
||||
|
||||
/// Build new `Self`
|
||||
pub fn build(page: &Rc<Page>) -> Self {
|
||||
Driver {
|
||||
gemini: Gemini::init(page),
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue