Files
allwpilib/wpilibc/wpilibC++/src/HLUsageReporting.cpp
Alex Henning 7c8124d76c Allowed sharing of common C++ code between RoboRIO and Simulation.
Change-Id: I8bf2bda9df389c13ae0567a62dbf0ca931ceb6f8
2014-08-08 18:36:03 -04:00

21 lines
399 B
C++

#include "HLUsageReporting.h"
HLUsageReportingInterface* HLUsageReporting::impl = 0;
void HLUsageReporting::SetImplementation(HLUsageReportingInterface* i) {
impl = i;
}
void HLUsageReporting::ReportScheduler() {
if (impl != 0) {
impl->ReportScheduler();
}
}
void HLUsageReporting::ReportSmartDashboard() {
if (impl != 0) {
impl->ReportSmartDashboard();
}
}