common/tools/ats/smoketest/lbs/common/inc/ctlbsstepconfighybridmodule.h
author Maciej Seroka <maciejs@symbian.org>
Tue, 10 Nov 2009 13:50:58 +0000
changeset 748 e13acd883fbe
child 872 17498133d9ad
permissions -rw-r--r--
Added new smoketest

// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of the License "Symbian Foundation License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
// This is the header file for the hybrid module configuration test step
// 
//

#ifndef CTLBSSTEPCONFIGHYBRIDMODULE_H
#define CTLBSSTEPCONFIGHYBRIDMODULE_H

#include "ctlbsstep.h"
#include "ctlbsserver.h"
#include <ctlbsagpshandler.h>

// Literals used
_LIT(KLbsStep_ConfigHybridModule, "LbsStep_ConfigHybridModule");

class CT_LbsStep_ConfigHybridModule : public CT_LbsStep, MT_ResponseObserver
	{
public:
	static CT_LbsStep_ConfigHybridModule* New(CT_LbsServer& aParent);
	virtual TVerdict doTestStepPreambleL();
	virtual TVerdict doTestStepL();
	virtual TVerdict doTestStepPostambleL();

	// from MT_ResponseObserver
	virtual void ProcessAGpsResponseMessage(const TT_LbsAGpsResponseMsg::TModuleResponseType aResponse);

private:
	CT_LbsStep_ConfigHybridModule(CT_LbsServer& aParent);

	// Communication channel between A-Gps module and Test Harness
	CT_LbsAGpsHandler* iAGpsHandler;
	
	// Configuration counter
	TInt iConfigCtr;

	// Partial verdict
	TVerdict iVerdict;
	};

#endif //  CTLBSSTEPCONFIGHYBRIDMODULE_H