diff -r 630d2f34d719 -r 07a122eea281 telephonyprotocols/rawipnif/rawipnif2/src/RawIP2FlowFactory.cpp --- a/telephonyprotocols/rawipnif/rawipnif2/src/RawIP2FlowFactory.cpp Tue Aug 31 16:23:08 2010 +0300 +++ b/telephonyprotocols/rawipnif/rawipnif2/src/RawIP2FlowFactory.cpp Wed Sep 01 12:40:21 2010 +0100 @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2006-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" @@ -19,14 +19,9 @@ @file */ - -#include "OstTraceDefinitions.h" -#ifdef OST_TRACE_COMPILER_IN_USE -#include "RawIP2FlowFactoryTraces.h" -#endif - #include "RawIP2FlowFactory.h" #include "RawIP2Flow.h" +#include "bttlog.h" using namespace ESock; @@ -63,11 +58,14 @@ CSubConnectionFlowBase* CRawIP2FlowFactory::DoCreateFlowL(ESock::CProtocolIntfBase* aProtocol, ESock::TFactoryQueryBase& aQuery) { +#ifdef __BTT_LOGGING__ + iTheLogger = CBttLogger::NewL(KNifSubDir, KRefFile, User::FastCounter()); +#endif // __BTT_LOGGING__ - OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CRAWIP2FLOWFACTORY_DOCREATEFLOWL_1, "Raw IP logging started."); + _LOG_L1C1(_L8("Raw IP logging started.")); const TDefaultFlowFactoryQuery& query = static_cast(aQuery); - CRawIP2Flow* s = new (ELeave) CRawIP2Flow(*this, query.iSCprId, aProtocol); + CRawIP2Flow* s = new (ELeave) CRawIP2Flow(*this, query.iSCprId, aProtocol, iTheLogger); CleanupStack::PushL(s); s->ConstructL(); CleanupStack::Pop(s);