diff -r 90477588756a -r 0c0ad64c882c locationmgmt/locmonitor/ConversionApi/ConversionPluginApi/src/lbslocinfoconverterpluginbase.cpp --- a/locationmgmt/locmonitor/ConversionApi/ConversionPluginApi/src/lbslocinfoconverterpluginbase.cpp Fri Apr 09 17:19:12 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,120 +0,0 @@ -/* -* 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: Implentation of functions shared between all -* implementations of the LBS Network Protocol Module -* interface/ECom plugin. -* -*/ - - -#include -#include - -#include -#include - - -// --------------------------------------------------------------------------- -// MLbsLocInfoConverterPluginObserver::ExtendedInterface() -// other items were commented in the header -// --------------------------------------------------------------------------- -// -EXPORT_C TVersion MLbsLocInfoConverterPluginObserver::Version() const - { - return TVersion( 1, 0, 0 ); - } - -// --------------------------------------------------------------------------- -// MLbsLocInfoConverterPluginObserver::ExtendedInterface() -// other items were commented in the header -// --------------------------------------------------------------------------- -// -EXPORT_C TAny* MLbsLocInfoConverterPluginObserver::ExtendedInterface( - TInt /*aFunctionNumber*/, - TAny* /*aPtr1*/, - TAny* /*aPtr2*/ ) - { - return NULL; - } - -// --------------------------------------------------------------------------- -// CLbsLocInfoConverterPluginBase::NewL() -// other items were commented in the header -// --------------------------------------------------------------------------- -// -EXPORT_C CLbsLocInfoConverterPluginBase* CLbsLocInfoConverterPluginBase::NewL( - TUid aImplementationUid, - TLbsLocInfoConverterPluginParams& aParams ) - { - TAny* ptr = REComSession::CreateImplementationL( aImplementationUid, - _FOFF( CLbsLocInfoConverterPluginBase, iDtor_ID_Key ), - reinterpret_cast( &aParams ) ); - - return reinterpret_cast(ptr); - } - -// --------------------------------------------------------------------------- -// CLbsLocInfoConverterPluginBase::~CLbsLocInfoConverterPluginBase() -// other items were commented in the header -// --------------------------------------------------------------------------- -// -EXPORT_C CLbsLocInfoConverterPluginBase::~CLbsLocInfoConverterPluginBase() - { - REComSession::DestroyedImplementation( iDtor_ID_Key ); - } - -// --------------------------------------------------------------------------- -// CLbsLocInfoConverterPluginBase::Version() -// other items were commented in the header -// --------------------------------------------------------------------------- -// -EXPORT_C TVersion CLbsLocInfoConverterPluginBase::Version() const - { - return TVersion( 1, 0, 0 ); - } - -// --------------------------------------------------------------------------- -// CLbsLocInfoConverterPluginBase::ExtendedInterface() -// other items were commented in the header -// --------------------------------------------------------------------------- -// -EXPORT_C TAny* CLbsLocInfoConverterPluginBase::ExtendedInterface( - TInt /*aFunctionNumber*/, - TAny* /*aPtr1*/, - TAny* /*aPtr2*/ ) - { - return NULL; - } - -// --------------------------------------------------------------------------- -// TLbsLocInfoConverterPluginParams::TLbsLocInfoConverterPluginParams() -// other items were commented in the header -// --------------------------------------------------------------------------- -// -EXPORT_C TLbsLocInfoConverterPluginParams::TLbsLocInfoConverterPluginParams( - MLbsLocInfoConverterPluginObserver& aObserver ):iObserver(aObserver) - { - iClassType = ELbsLocInfoConverterPluginParamsClass; - iClassSize = sizeof(TLbsLocInfoConverterPluginParams); - } - -// --------------------------------------------------------------------------- -// TLbsLocInfoConverterPluginParams::Observer() -// other items were commented in the header -// --------------------------------------------------------------------------- -// -EXPORT_C MLbsLocInfoConverterPluginObserver& TLbsLocInfoConverterPluginParams::Observer() const - { - return iObserver; - }