mirror of
https://github.com/lora-aprs/LoRa_APRS_iGate.git
synced 2026-01-07 01:00:10 +01:00
33 lines
676 B
C++
33 lines
676 B
C++
|
|
#include "System.h"
|
|
|
|
System::System(BoardConfig const *const boardConfig, std::shared_ptr<Configuration> userConfig) : _boardConfig(boardConfig), _userConfig(userConfig), _isWifiEthConnected(false) {
|
|
}
|
|
|
|
System::~System() {
|
|
}
|
|
|
|
BoardConfig const *const System::getBoardConfig() const {
|
|
return _boardConfig;
|
|
}
|
|
|
|
std::shared_ptr<Configuration> System::getUserConfig() const {
|
|
return _userConfig;
|
|
}
|
|
|
|
TaskManager &System::getTaskManager() {
|
|
return _taskManager;
|
|
}
|
|
|
|
Display &System::getDisplay() {
|
|
return _display;
|
|
}
|
|
|
|
bool System::isWifiEthConnected() const {
|
|
return _isWifiEthConnected;
|
|
}
|
|
|
|
void System::connectedViaWifiEth(bool status) {
|
|
_isWifiEthConnected = status;
|
|
}
|