diff -r 2473f5e227f9 -r 8b72faa1200f telephonyprotocols/rawipnif/src/RawIPFlowFactory.cpp --- a/telephonyprotocols/rawipnif/src/RawIPFlowFactory.cpp Mon May 24 18:38:31 2010 +0100 +++ b/telephonyprotocols/rawipnif/src/RawIPFlowFactory.cpp Tue Jun 22 11:02:32 2010 +0100 @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2006-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" @@ -19,9 +19,14 @@ @file */ + +#include "OstTraceDefinitions.h" +#ifdef OST_TRACE_COMPILER_IN_USE +#include "RawIPFlowFactoryTraces.h" +#endif + #include "RawIPFlowFactory.h" #include "RawIPFlow.h" -#include "bttlog.h" using namespace ESock; @@ -58,14 +63,11 @@ CSubConnectionFlowBase* CRawIPFlowFactory::DoCreateFlowL(ESock::CProtocolIntfBase* aProtocol, ESock::TFactoryQueryBase& aQuery) { -#ifdef __BTT_LOGGING__ - iTheLogger = CBttLogger::NewL(KNifSubDir, KRefFile, User::FastCounter()); -#endif // __BTT_LOGGING__ - _LOG_L1C1(_L8("Raw IP logging started.")); + OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CRAWIPFLOWFACTORY_DOCREATEFLOWL_1, "Raw IP logging started."); const TDefaultFlowFactoryQuery& query = static_cast(aQuery); - CRawIPFlow* s = new (ELeave) CRawIPFlow(*this, query.iSCprId, aProtocol, iTheLogger); + CRawIPFlow* s = new (ELeave) CRawIPFlow(*this, query.iSCprId, aProtocol); CleanupStack::PushL(s); s->ConstructL(); CleanupStack::Pop(s);