job: Add JobManagerInterface to emit JobStarted signal

This adds the JobManagerInterface helper object to emit a signal when a job is
started. It also renames the job prefix to be its own path so that the
JobManagerInterface can claim that as an object.
This commit is contained in:
Vicki Pfau 2024-06-27 19:55:32 -07:00
parent 8412adcd4a
commit 8e3fc1afeb
4 changed files with 100 additions and 9 deletions

View file

@ -55,7 +55,7 @@ impl SteamOSManager {
fan_control: FanControl::new(connection.clone()),
wifi_debug_mode: WifiDebugMode::Off,
should_trace: variant().await? == HardwareVariant::Galileo,
job_manager: JobManager::new(connection.clone()),
job_manager: JobManager::new(connection.clone()).await?,
connection,
channel,
})