lbstest/lbstestproduct/lbshybridx3p/inc/ctlbshybridx3pstep.h
changeset 0 9cfd9a3ee49c
equal deleted inserted replaced
-1:000000000000 0:9cfd9a3ee49c
       
     1 /*
       
     2 * Copyright (c) 2009 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:
       
    15 *
       
    16 */
       
    17 #ifndef __CT_LBS_HYBRID_X3P_STEP_H__
       
    18 #define __CT_LBS_HYBRID_X3P_STEP_H__
       
    19 
       
    20 
       
    21 // EPOC includes.
       
    22 #include <test/testexecutestepbase.h>
       
    23 #include <lbs/test/ctlbsagpsmoduleeventlistener.h>
       
    24 
       
    25 #include "ctlbshybridx3pserver.h"
       
    26 
       
    27 const TUid KX3PRequestUid = {0x1028228F};
       
    28 /** Delta timout value used in all tests */
       
    29 const TInt KDelta = 2.0 * 1000 * 1000;	//2 seconds
       
    30 
       
    31 class CT_LbsHybridX3PStep :	public CTestStep, MT_AgpsModuleEventHandler
       
    32 {
       
    33 
       
    34 public:
       
    35 	virtual ~CT_LbsHybridX3PStep();
       
    36 
       
    37 	virtual TVerdict doTestStepPreambleL();
       
    38 	virtual TVerdict doTestStepPostambleL();
       
    39 
       
    40 protected:
       
    41 	CT_LbsHybridX3PStep(CT_LbsHybridX3PServer& aParent);
       
    42 
       
    43 	void ConstructL();
       
    44 
       
    45 	TPosition iRefPos;
       
    46 	
       
    47 	CT_LbsHybridX3PServer& iParent;
       
    48 
       
    49 private: // from MT_AgpsModuleEventHandler
       
    50 	void OnSetGpsOptions(const TLbsGpsOptions& aGpsOptions);
       
    51 	
       
    52 private:
       
    53 	RPointerArray<TLbsGpsOptions> iExpectedModuleGpsOptions;
       
    54 	TInt iExpectedModuleGpsOptionsIndex;
       
    55 	
       
    56 	CT_AgpsModuleEventListener* iAgpsModuleEventListener;
       
    57 	
       
    58 };
       
    59 
       
    60 #endif // __CT_LBS_HYBRID_X3P_STEP_H__