update titan input struct

This commit is contained in:
yggverse 2025-01-19 11:31:35 +02:00
parent 3d84195714
commit eb90a60162

View File

@ -1,7 +1,20 @@
use gtk::glib::{GString, Uri};
use gtk::{
gio::{Cancellable, IOStream},
glib::{GString, Uri},
};
pub enum Input {
Response { base: Uri, title: GString },
Sensitive { base: Uri, title: GString },
Titan { base: Uri },
Response {
base: Uri,
title: GString,
},
Sensitive {
base: Uri,
title: GString,
},
Titan {
base: Uri,
cancellable: Cancellable,
stream: IOStream,
},
}