diff -r 630d2f34d719 -r 07a122eea281 telephonyprotocols/pdplayer/inc/PDPCPR.h --- a/telephonyprotocols/pdplayer/inc/PDPCPR.h Tue Aug 31 16:23:08 2010 +0300 +++ b/telephonyprotocols/pdplayer/inc/PDPCPR.h Wed Sep 01 12:40:21 2010 +0100 @@ -1,4 +1,4 @@ -// Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2008-2009 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,29 +62,21 @@ */ { 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(); - -private: + +protected: CPDPConnectionProvider(ESock::CConnectionProviderFactoryBase& aFactory); - -protected: -#ifdef SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW void StartListener(); void StopListener(); + TUint32 Bearer(TUint aDynamicCaps, RMobilePhone::TMobilePhoneNetworkMode& aNetworkMode); void UpdateBearer(); - TUint32 Bearer(TUint aDynamicCaps, RMobilePhone::TMobilePhoneNetworkMode& aNetworkMode); -#endif - virtual ~CPDPConnectionProvider(); virtual void ReceivedL(const Messages::TRuntimeCtxId& aSender, const Messages::TNodeId& aRecipient, Messages::TSignatureBase& aMessage); void ConstructL();