diff -r 2cd881e4a6fb -r 90477588756a locationmgmt/locmonitor/ConversionApi/ConversionClientApi/src/lbslocationinfoconverter.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/locationmgmt/locmonitor/ConversionApi/ConversionClientApi/src/lbslocationinfoconverter.cpp Fri Apr 09 17:19:12 2010 +0100 @@ -0,0 +1,117 @@ +/* +* Copyright (c) 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" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Class used by client applications to convert location +* information +* +*/ + +#include +#include +#include + + +EXPORT_C TVersion MLbsLocationInfoConverterObserver::Version() const + { + return TVersion(1, 0, 0); + } + + + +//---------------------------------------------------------------- +// CLbsLocationInfoConverter::NewL +// (other items were commented in a header). +//---------------------------------------------------------------- +EXPORT_C CLbsLocationInfoConverter* CLbsLocationInfoConverter::NewL( + MLbsLocationInfoConverterObserver& aObserver, + const TUid aConverterModuleId ) + { + CLbsLocationInfoConverter* self = new( ELeave ) CLbsLocationInfoConverter; + CleanupStack::PushL( self ); + self->ConstructL( aObserver,aConverterModuleId ); + CleanupStack::Pop( self ); + return self; + } + +//---------------------------------------------------------------- +// CLbsLocationInfoConverter::NewL +// (other items were commented in a header). +//---------------------------------------------------------------- +EXPORT_C CLbsLocationInfoConverter* CLbsLocationInfoConverter::NewL( + MLbsLocationInfoConverterObserver& aObserver ) + { + CLbsLocationInfoConverter* self = new( ELeave ) CLbsLocationInfoConverter; + CleanupStack::PushL( self ); + self->ConstructL( aObserver,TUid::Uid( KNullUidValue ) ); + CleanupStack::Pop( self ); + return self; + } + +//---------------------------------------------------------------- +// CLbsLocationInfoConverter::~CLbsLocationInfoConverter +// (other items were commented in a header). +//---------------------------------------------------------------- +EXPORT_C CLbsLocationInfoConverter::~CLbsLocationInfoConverter() + { + delete iLocationInfoConverterImpl; + iLocationInfoConverterImpl = NULL; + } + +//---------------------------------------------------------------- +// CLbsLocationInfoConverter::ConvertLocationInfoL +// (other items were commented in a header). +//---------------------------------------------------------------- +EXPORT_C void CLbsLocationInfoConverter::ConvertLocationInfoL( + CLbsLocationInfoBase& /*aLocationInfo*/, + const TLbsConversionPrefs /*aConversionPrefs*/, + const TLbsConversionOutputInfoMask /*aRequestedInfo*/ ) + { + } + +//---------------------------------------------------------------- +// CLbsLocationInfoConverter::ConvertLocationInfoL +// (other items were commented in a header). +//---------------------------------------------------------------- +EXPORT_C void CLbsLocationInfoConverter::ConvertLocationInfoL( + RLbsLocationInfoBaseArray& /*aLocationInfoArray*/, + const TLbsConversionPrefs /*aConversionPrefs*/, + const TLbsConversionOutputInfoMask /*aRequestedInfo*/ ) + { + } + +//---------------------------------------------------------------- +// CLbsLocationInfoConverter::CancelConvertLocationInfo +// (other items were commented in a header). +//---------------------------------------------------------------- +EXPORT_C void CLbsLocationInfoConverter::CancelConvertLocationInfo() + { + } + +//---------------------------------------------------------------- +// CLbsLocationInfoConverter::ConstructL +// (other items were commented in a header). +//---------------------------------------------------------------- +void CLbsLocationInfoConverter::ConstructL( + MLbsLocationInfoConverterObserver& /*aObserver*/, + const TUid /*aConverterModuleId*/ ) + { + } + +//---------------------------------------------------------------- +// CLbsLocationInfoConverter::CLbsLocationInfoConverter +// (other items were commented in a header). +//---------------------------------------------------------------- +CLbsLocationInfoConverter::CLbsLocationInfoConverter() + { + + }