Brian Silverman | 26e4e52 | 2015-12-17 01:56:40 -0500 | [diff] [blame^] | 1 | |
2 | #include "HLUsageReporting.h" | ||||
3 | |||||
4 | HLUsageReportingInterface* HLUsageReporting::impl = nullptr; | ||||
5 | |||||
6 | void HLUsageReporting::SetImplementation(HLUsageReportingInterface* i) { | ||||
7 | impl = i; | ||||
8 | } | ||||
9 | |||||
10 | void HLUsageReporting::ReportScheduler() { | ||||
11 | if (impl != nullptr) { | ||||
12 | impl->ReportScheduler(); | ||||
13 | } | ||||
14 | } | ||||
15 | |||||
16 | void HLUsageReporting::ReportSmartDashboard() { | ||||
17 | if (impl != nullptr) { | ||||
18 | impl->ReportSmartDashboard(); | ||||
19 | } | ||||
20 | } |