posmsgpluginreferenceimpl/inc/epos_tomasuplposutility.h
changeset 0 0ce1b5ce9557
equal deleted inserted replaced
-1:000000000000 0:0ce1b5ce9557
       
     1 /*
       
     2 * Copyright (c)  Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Helper class used to obtain supl information
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef T_TOMASUPLPOSUTILITY_H
       
    20 #define T_TOMASUPLPOSUTILITY_H
       
    21 
       
    22 
       
    23 class COMASuplInfoRequest;
       
    24 
       
    25 
       
    26 /**
       
    27 * An utility class that is used by an instance of COMASuplPosSession to 
       
    28 * determine POS parameters
       
    29 */
       
    30 class TOmaSuplPosUtility 
       
    31     {
       
    32     
       
    33     public:
       
    34         
       
    35         /**
       
    36          * Provides the position estimates. This is method is invoked by an
       
    37          * instance of COMASuplPosSession
       
    38          */
       
    39         static void GetPositionEstimatesL( COMASuplPosition*& aPosition );
       
    40         
       
    41         /**
       
    42          * Provides the requested POS parameters. This is method is invoked by an
       
    43          * instance of COMASuplPosSession
       
    44          */        
       
    45         static void GetPosParametersL( COMASuplInfoRequestList*& aInfoRequestList );
       
    46         
       
    47     private:
       
    48     
       
    49         /**
       
    50          * Provides the requested assistance data
       
    51          */
       
    52         static void GetRequestedAsstData( COMASuplInfoRequest*& aReqElement );
       
    53         
       
    54         /**
       
    55          * Provides velocity information
       
    56          */
       
    57         static void GetVelocityL( COMASuplInfoRequest*& aReqElement );
       
    58     
       
    59         /**
       
    60          * Provides SET capabilities
       
    61          */        
       
    62         static void GetSetCapabilities( COMASuplInfoRequest*& aReqElement );
       
    63     
       
    64         /**
       
    65          * Provides the POS payload
       
    66          */        
       
    67         static void GetPosPayloadL( COMASuplInfoRequest*& aReqElement );
       
    68     
       
    69         /**
       
    70          * Provides the position estimates
       
    71          */        
       
    72         static void GetPositionL( COMASuplInfoRequest*& aReqElement );
       
    73         
       
    74     };
       
    75 
       
    76 
       
    77 #endif // T_TOMASUPLPOSUTILITY_H