37 lines
1.6 KiB
Rust
37 lines
1.6 KiB
Rust
#[cfg(not(coverage))]
|
|
struct ActivationContext {
|
|
window: gtk::ApplicationWindow,
|
|
server_entry: gtk::Entry,
|
|
camera_combo: gtk::ComboBoxText,
|
|
camera_quality_combo: gtk::ComboBoxText,
|
|
microphone_combo: gtk::ComboBoxText,
|
|
speaker_combo: gtk::ComboBoxText,
|
|
keyboard_combo: gtk::ComboBoxText,
|
|
mouse_combo: gtk::ComboBoxText,
|
|
widgets: super::ui_components::LauncherWidgets,
|
|
preview: Option<Rc<super::preview::LauncherPreview>>,
|
|
popouts: Rc<RefCell<[Option<super::ui_components::PopoutWindowHandle>; 2]>>,
|
|
diagnostics_popout: Rc<RefCell<Option<gtk::ApplicationWindow>>>,
|
|
log_popout: Rc<RefCell<Option<gtk::ApplicationWindow>>>,
|
|
camera_quality_syncing: Rc<Cell<bool>>,
|
|
power_tx: std::sync::mpsc::Sender<PowerMessage>,
|
|
power_rx: std::sync::mpsc::Receiver<PowerMessage>,
|
|
power_request_in_flight: Rc<Cell<bool>>,
|
|
relay_tx: std::sync::mpsc::Sender<RelayMessage>,
|
|
relay_rx: std::sync::mpsc::Receiver<RelayMessage>,
|
|
relay_request_in_flight: Rc<Cell<bool>>,
|
|
caps_tx: std::sync::mpsc::Sender<CapsMessage>,
|
|
caps_rx: std::sync::mpsc::Receiver<CapsMessage>,
|
|
caps_request_in_flight: Rc<Cell<bool>>,
|
|
diagnostics_network: Rc<RefCell<NetworkTelemetry>>,
|
|
diagnostics_process: Rc<RefCell<ProcessCpuSampler>>,
|
|
next_power_probe: Rc<Cell<Instant>>,
|
|
next_diagnostics_probe: Rc<Cell<Instant>>,
|
|
next_diagnostics_sample: Rc<Cell<Instant>>,
|
|
preview_session_active: Rc<Cell<bool>>,
|
|
clipboard_tx: std::sync::mpsc::Sender<ClipboardMessage>,
|
|
clipboard_rx: std::sync::mpsc::Receiver<ClipboardMessage>,
|
|
log_tx: std::sync::mpsc::Sender<String>,
|
|
log_rx: std::sync::mpsc::Receiver<String>,
|
|
}
|