begin identity dialog implementation

This commit is contained in:
yggverse 2024-11-17 16:28:45 +02:00
parent 12b4d441ca
commit 14c31734fd
18 changed files with 439 additions and 72 deletions

View file

@ -0,0 +1,19 @@
mod gemini;
mod unsupported;
use gemini::Gemini;
use unsupported::Unsupported;
use crate::profile::Profile;
use gtk::glib::Uri;
use std::rc::Rc;
/// Create new identity widget for Gemini protocol match given URI
pub fn new_gemini(profile: Rc<Profile>, auth_uri: Uri) -> Gemini {
Gemini::new(profile, auth_uri)
}
/// Create new identity widget for unknown request
pub fn new_unsupported() -> Unsupported {
Unsupported::new()
}