Move battery handling into dedicated monitor class
This commit is contained in:
@@ -1411,6 +1411,11 @@ void scenes::lobby::on_xr_event(const xr::event & event)
|
||||
if (next_scene)
|
||||
next_scene->on_xr_event(event);
|
||||
}
|
||||
void scenes::lobby::on_battery_update(battery::device device, const battery::battery_status & battery)
|
||||
{
|
||||
if (next_scene)
|
||||
next_scene->on_battery_update(device, battery);
|
||||
}
|
||||
|
||||
scene::meta & scenes::lobby::get_meta_scene()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user