12 lines
260 B
C++
12 lines
260 B
C++
|
|
#include "comms.h"
|
||
|
|
|
||
|
|
static iosender::StreamComms *currentCommunicator = nullptr;
|
||
|
|
|
||
|
|
void iosender::Comms::SetCom(iosender::StreamComms *com) {
|
||
|
|
currentCommunicator = com;
|
||
|
|
}
|
||
|
|
|
||
|
|
iosender::StreamComms *iosender::Comms::GetCom() {
|
||
|
|
return currentCommunicator;
|
||
|
|
}
|