diff --git a/src/testbench.h b/src/testbench.h index 0fb35fbd..fa5d398b 100755 --- a/src/testbench.h +++ b/src/testbench.h @@ -60,9 +60,11 @@ public: iPortIncrement++; } - // connect protocol signal + // connect protocol signals QObject::connect ( &Protocol, SIGNAL ( MessReadyForSending ( CVector ) ), this, SLOT ( OnSendProtMessage ( CVector ) ) ); + QObject::connect ( &Protocol, SIGNAL ( CLMessReadyForSending ( CHostAddress, CVector ) ), + this, SLOT ( OnSendCLMessage ( CHostAddress, CVector ) ) ); // connect and start the timer (testbench heartbeat) QObject::connect ( &Timer, SIGNAL ( timeout() ), @@ -295,4 +297,12 @@ public slots: // send the next message Protocol.Reset(); } + + void OnSendCLMessage ( CHostAddress InetAddr, CVector vecMessage ) + { + // silence unused warning + (void) InetAddr; + + OnSendProtMessage ( vecMessage ); + } };