diff -r 14460bf2a402 -r f50f4094acd7 telephonyprotocols/pdplayer/inc/PDPCPR.h --- a/telephonyprotocols/pdplayer/inc/PDPCPR.h Wed Jun 23 19:32:14 2010 +0300 +++ b/telephonyprotocols/pdplayer/inc/PDPCPR.h Tue Jul 06 15:36:38 2010 +0300 @@ -1,4 +1,4 @@ -// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of "Eclipse Public License v1.0" @@ -37,7 +37,7 @@ } - +#ifdef SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW namespace PDPCprStates { typedef MeshMachine::TNodeContext TContext; @@ -51,8 +51,8 @@ TUpdateBundle, PRStates::TRespondWithRetrievedParams ) - } +#endif class CPDPConnectionProvider : public CCoreConnectionProvider, MPDPCPRBearerObserver @@ -62,21 +62,29 @@ */ { friend class CPDPConnectionProviderFactory; +#ifdef SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW friend class PDPCprStates::TUpdateBundle; +#endif public: typedef CPDPConnectionProviderFactory FactoryType; static CPDPConnectionProvider* NewL(ESock::CConnectionProviderFactoryBase& aFactory); - + + // from MPDPCPRBearerObserver virtual void BearerChangeDetectedL(); - -protected: + +private: CPDPConnectionProvider(ESock::CConnectionProviderFactoryBase& aFactory); + +protected: +#ifdef SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW void StartListener(); void StopListener(); + void UpdateBearer(); TUint32 Bearer(TUint aDynamicCaps, RMobilePhone::TMobilePhoneNetworkMode& aNetworkMode); - void UpdateBearer(); +#endif + virtual ~CPDPConnectionProvider(); virtual void ReceivedL(const Messages::TRuntimeCtxId& aSender, const Messages::TNodeId& aRecipient, Messages::TSignatureBase& aMessage); void ConstructL();