datasourceadaptation/gpsdatasourceadaptation/common/inc/utilfunctions.h
changeset 0 9cfd9a3ee49c
equal deleted inserted replaced
-1:000000000000 0:9cfd9a3ee49c
       
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // utility fucntions etc for various bits of the location server
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @InternalComponent
       
    21 */
       
    22 
       
    23 #ifndef __LBSUTILFUNCTIONS_H__
       
    24 #define __LBSUTILFUNCTIONS_H__
       
    25 
       
    26 #include <e32base.h>
       
    27 #include <lbspositioninfo.h>
       
    28 
       
    29 TInt CopyPositionTypes(TPositionInfoBase& aTo, const TPositionInfoBase& aFrom);
       
    30 TInt CopyPositionTypes2(TPositionInfoBase& aTo, const TPositionInfoBase& aFrom);
       
    31 TInt CopyGenericPositionType(TPositionInfoBase& aTo, const TPositionInfoBase& aFrom);
       
    32 TInt SupportedType(const TUint32& aType, const TInt& aSize);
       
    33 TBool Partial(const TPosition& aPos);
       
    34 
       
    35 #endif // __LBSUTILFUNCTIONS_H__