diff --git a/src/channel.cpp b/src/channel.cpp index 75829284..284d1cc0 100755 --- a/src/channel.cpp +++ b/src/channel.cpp @@ -102,6 +102,10 @@ qRegisterMetaType ( "CHostAddress" ); QObject::connect( &Protocol, SIGNAL ( LicenceRequired ( ELicenceType ) ), SIGNAL ( LicenceRequired ( ELicenceType ) ) ); + + QObject::connect ( &Protocol, + SIGNAL ( ReqChannelLevelList ( bool ) ), + this, SLOT ( OnReqChannelLevelList ( bool ) ) ); } bool CChannel::ProtocolIsEnabled() diff --git a/src/channel.h b/src/channel.h index e92e9bad..25988d15 100755 --- a/src/channel.h +++ b/src/channel.h @@ -166,6 +166,8 @@ public: CNetworkTransportProps GetNetworkTransportPropsFromCurrentSettings(); + bool ChannelLevelsRequired() const { return bChannelLevelsRequired; } + protected: bool ProtocolIsEnabled(); @@ -217,6 +219,8 @@ protected: QMutex MutexSocketBuf; QMutex MutexConvBuf; + bool bChannelLevelsRequired; + public slots: void OnSendProtMessage ( CVector vecMessage ); void OnJittBufSizeChange ( int iNewJitBufSize ); @@ -250,6 +254,8 @@ public slots: void OnNewConnection() { emit NewConnection(); } + void OnReqChannelLevelList ( bool bOptIn ) { bChannelLevelsRequired = bOptIn; } + signals: void MessReadyForSending ( CVector vecMessage ); void NewConnection();