| 19 | using Subscribers = std::vector<PowerManager::Subscriber *>; |
| 20 | |
| 21 | void NotifySubscribers(Subscribers & subscribers, Scheme const scheme) |
| 22 | { |
| 23 | for (auto & subscriber : subscribers) |
| 24 | subscriber->OnPowerSchemeChanged(scheme); |
| 25 | } |
| 26 | |
| 27 | void NotifySubscribers(Subscribers & subscribers, Facility const facility, bool enabled) |
| 28 | { |
no test coverage detected