diff -r 8b9e023e329f -r 1ac40e087278 telephonyprotocols/pdplayer/src/PDPCPR.cpp --- a/telephonyprotocols/pdplayer/src/PDPCPR.cpp Mon Jun 21 16:59:31 2010 +0300 +++ b/telephonyprotocols/pdplayer/src/PDPCPR.cpp Thu Jul 15 19:58:53 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" @@ -31,7 +31,7 @@ #include #include #include -#include "pdpprovision.h" +#include "PDPProvision.h" #include #include #include "pdpcpravailabilitylistener.h" @@ -44,19 +44,12 @@ using namespace ESock; - //-========================================================= // // CPDPConnectionProvider methods // //-========================================================= -//We reserve space for two preallocated activities that may start concurrently on the CPR -//node: destroy and data client stop. -static const TUint KDefaultMaxPreallocatedActivityCount = 2; -static const TUint KMaxPreallocatedActivitySize = sizeof(MeshMachine::CNodeRetryParallelActivity) + sizeof(MeshMachine::APreallocatedOriginators<4>); -static const TUint KPDPCPRPreallocatedActivityBufferSize = KDefaultMaxPreallocatedActivityCount * KMaxPreallocatedActivitySize; - namespace PDPCprLinkCharacteristicActivity { DECLARE_DEFINE_NODEACTIVITY(ECFActivityParamRequest, PDPCprLinkCharacteristic, TCFScpr::TGetParamsRequest) @@ -112,7 +105,7 @@ * @return void */ { - CCoreConnectionProvider::ConstructL(KPDPCPRPreallocatedActivityBufferSize); + CCoreConnectionProvider::ConstructL(); } void CPDPConnectionProvider::StopListener()