20 lines
478 B
C++
20 lines
478 B
C++
#include "232NetworkCommIF.h"
|
|
|
|
C232NetworkCommIF::C232NetworkCommIF(CAbstractNetworkCommIF *DeviceHandle)
|
|
{
|
|
mDeviceHandle = DeviceHandle;
|
|
mNetworkProtocol = new CNetworkProtocol(this);
|
|
}
|
|
C232NetworkCommIF::~C232NetworkCommIF()
|
|
{
|
|
delete mNetworkProtocol;
|
|
}
|
|
|
|
int C232NetworkCommIF::NewFrameReceived(QByteArray Frame)
|
|
{
|
|
//FWD to device...
|
|
//Nothing to do with the data here, up it goes to the device!
|
|
mDeviceHandle->NewFrameReceived(Frame);
|
|
return 1;
|
|
}
|