diff -r e8c1ea2c6496 -r 8758140453c0 lbs/common/src/ctlbsclientlog.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lbs/common/src/ctlbsclientlog.cpp Thu Jan 21 12:53:44 2010 +0000 @@ -0,0 +1,69 @@ +// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of the License "Symbian Foundation License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + + + +// INCLUDE FILES +#include "ctlbsclientlog.h" +#include + +// CONSTANTS + +// ================= MEMBER FUNCTIONS ======================= + +// C++ default constructor can NOT contain any code, that +// might leave. +// +CT_LbsClientLog::CT_LbsClientLog() + { + } + +// EPOC default constructor can leave. +void CT_LbsClientLog::ConstructL(CTestExecuteLogger& aLogger) + { + iLogger = aLogger; + } + +// Two-phased constructor. +EXPORT_C CT_LbsClientLog* CT_LbsClientLog::NewL(CTestExecuteLogger& aLogger) + { + CT_LbsClientLog* self = NewLC(aLogger); + CleanupStack::Pop(); + return self; + } + +// Two-phased constructor. +EXPORT_C CT_LbsClientLog* CT_LbsClientLog::NewLC(CTestExecuteLogger& aLogger) + { + CT_LbsClientLog* self = new (ELeave) CT_LbsClientLog; + CleanupStack::PushL(self); + self->ConstructL(aLogger); + return self; + } + +// Destructor +CT_LbsClientLog::~CT_LbsClientLog() + { + } + +void CT_LbsClientLog::Put(const TDesC& aLine) + { + INFO_PRINTF1(aLine); + } + +void CT_LbsClientLog::PutError(const TDesC& aLine) + { + ERR_PRINTF1(aLine); + }