diff -r a2efdd544abf -r b47902b73a93 datasourceadaptation/gpsdatasourceadaptation/common/inc/utilfunctions.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/datasourceadaptation/gpsdatasourceadaptation/common/inc/utilfunctions.h Fri Jun 04 10:34:15 2010 +0100 @@ -0,0 +1,35 @@ +// Copyright (c) 2008-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: +// utility fucntions etc for various bits of the location server +// +// + +/** + @file + @InternalComponent +*/ + +#ifndef __LBSUTILFUNCTIONS_H__ +#define __LBSUTILFUNCTIONS_H__ + +#include +#include + +TInt CopyPositionTypes(TPositionInfoBase& aTo, const TPositionInfoBase& aFrom); +TInt CopyPositionTypes2(TPositionInfoBase& aTo, const TPositionInfoBase& aFrom); +TInt CopyGenericPositionType(TPositionInfoBase& aTo, const TPositionInfoBase& aFrom); +TInt SupportedType(const TUint32& aType, const TInt& aSize); +TBool Partial(const TPosition& aPos); + +#endif // __LBSUTILFUNCTIONS_H__