748
|
1 |
// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
// All rights reserved.
|
|
3 |
// This component and the accompanying materials are made available
|
872
|
4 |
// under the terms of the License "Eclipse Public License v1.0"
|
748
|
5 |
// which accompanies this distribution, and is available
|
872
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
748
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
// This is the header file for the hybrid module configuration test step
|
|
15 |
//
|
|
16 |
//
|
|
17 |
|
|
18 |
#ifndef CTLBSSTEPCONFIGHYBRIDMODULE_H
|
|
19 |
#define CTLBSSTEPCONFIGHYBRIDMODULE_H
|
|
20 |
|
|
21 |
#include "ctlbsstep.h"
|
|
22 |
#include "ctlbsserver.h"
|
|
23 |
#include <ctlbsagpshandler.h>
|
|
24 |
|
|
25 |
// Literals used
|
|
26 |
_LIT(KLbsStep_ConfigHybridModule, "LbsStep_ConfigHybridModule");
|
|
27 |
|
|
28 |
class CT_LbsStep_ConfigHybridModule : public CT_LbsStep, MT_ResponseObserver
|
|
29 |
{
|
|
30 |
public:
|
|
31 |
static CT_LbsStep_ConfigHybridModule* New(CT_LbsServer& aParent);
|
|
32 |
virtual TVerdict doTestStepPreambleL();
|
|
33 |
virtual TVerdict doTestStepL();
|
|
34 |
virtual TVerdict doTestStepPostambleL();
|
|
35 |
|
|
36 |
// from MT_ResponseObserver
|
|
37 |
virtual void ProcessAGpsResponseMessage(const TT_LbsAGpsResponseMsg::TModuleResponseType aResponse);
|
|
38 |
|
|
39 |
private:
|
|
40 |
CT_LbsStep_ConfigHybridModule(CT_LbsServer& aParent);
|
|
41 |
|
|
42 |
// Communication channel between A-Gps module and Test Harness
|
|
43 |
CT_LbsAGpsHandler* iAGpsHandler;
|
|
44 |
|
|
45 |
// Configuration counter
|
|
46 |
TInt iConfigCtr;
|
|
47 |
|
|
48 |
// Partial verdict
|
|
49 |
TVerdict iVerdict;
|
|
50 |
};
|
|
51 |
|
|
52 |
#endif // CTLBSSTEPCONFIGHYBRIDMODULE_H
|