Skip to main content

offer_at_start

Function offer_at_start 

Source
pub fn offer_at_start(
    saved: EngineKind,
    saved_answers: bool,
    other_answers: bool,
) -> Option<EngineKind>
Expand description

The engine to offer at start, when the saved one does not answer and the other one does.

It is the only case QCode notices by itself. The saved engine answering is the person’s choice standing; neither answering is not a switch but a missing engine, which the repair strip is for. Anything else — an engine that answers again later, a second engine installed beside the first — is left alone: switching is the person’s to ask for, in the settings.