lbs/lbsclient/inc/ctlbsclientstepmodstatus.h
author Maciej Seroka <maciejs@symbian.org>
Tue, 03 Aug 2010 10:20:34 +0100
branchSymbian3
changeset 57 b8d18c84f71c
parent 6 c108117318cb
permissions -rw-r--r--
Re-enabled smoke test for Language-setting

// Copyright (c) 2006-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 "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
// @file ctlbsclientstepmodstatus.h
// This contains the header file for Module Status Tests
// 
//

#ifndef __CT_LBS_CLIENT_STEP_MOD_STAT_H__
#define __CT_LBS_CLIENT_STEP_MOD_STAT_H__

#include "ctlbsclientstep.h"
#include "ctlbsclientserver.h"

#include <lbscommon.h>

// Literals used
_LIT(KLbsClientStep_ModStatus, "LbsClientStep_ModStatus");

class CT_LbsClientStep_ModStat : public CT_LbsClientStep
	{
public:
	~CT_LbsClientStep_ModStat();

	static CT_LbsClientStep_ModStat* New(CT_LbsClientServer& aParent);
	virtual TVerdict doTestStepL();

private:

 	TBool DoRequestAndVerifyModStatusEventsL(TPositionModuleStatusEvent::TModuleEvent aReqEventsMask, TPositionModuleStatus& aModStatus, TPositionModuleId aModId /*= KPositionNullModuleId*/);
 	TBool DoRequestAndVerifyAGPSModStatusEventsL(TPositionModuleStatusEvent::TModuleEvent aReqEventsMask, TPositionModuleStatus& aModStatus);
	TInt DoRequestModStatusEventsWithError(TPositionModuleStatusEvent::TModuleEvent aReqEventsMask, TPositionModuleId aModId);
	
	TBool DoVerifyModStatus(TPositionModuleStatusEvent::TModuleEvent aExpectedModStatus,TPositionModuleId aModId);
	
	CT_LbsClientStep_ModStat(CT_LbsClientServer& aParent);
	};

#endif //__CT_LBS_CLIENT_STEP_MOD_STAT_H__