diff -r 000000000000 -r 9cfd9a3ee49c lbstest/lbstestproduct/lbshybridmultiple/inc/clbstestmtlrsessionsequence.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lbstest/lbstestproduct/lbshybridmultiple/inc/clbstestmtlrsessionsequence.h Tue Feb 02 01:50:39 2010 +0200 @@ -0,0 +1,50 @@ +// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "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: Stores information for a MTLR test sequence +// +// + +#ifndef __CT_LBS_TEST_MTLR_SESSION_SEQUENCE_H__ +#define __CT_LBS_TEST_MTLR_SESSION_SEQUENCE_H__ + +#include "clbstestsessionsequence.h" + +/** Class for representing a session sequence +*/ +class CTestMtlrSessionSequence : public CTestSessionSequence +{ +public: + static CTestMtlrSessionSequence* NewL(CLbsTestNgMessageHandler& aNgProxy, MHybridMultipleTestCallBack& aTestCallback, + TInt aSequenceNum, const TDesC& aConfigFileName, const TDesC& aConfigSection); + ~CTestMtlrSessionSequence(); + + void CheckRespondPrivacyRequest(CLbsNetworkProtocolBase::TLbsPrivacyResponse aPrivacyResponse); + +protected: + //NG Messages + void SendProcessPrivacyRequest(); + void SendProcessLocationRequest(); + void SendProcessStatusUpdate(); + +protected: + CTestMtlrSessionSequence(CLbsTestNgMessageHandler& aNgProxy, MHybridMultipleTestCallBack& aTestCallback); + void ConstructL(TInt aSequenceNum, const TDesC& aConfigFileName, const TDesC& aConfigSection); + +private: + //Indicates whether the sequence is an emergency sequence + TBool iEmergency; + //Contains the service type of the request (either MTLR or NI) + MLbsNetworkProtocolObserver::TLbsNetProtocolService iService; +}; + +#endif //__CT_LBS_TEST_MTLR_SESSION_SEQUENCE_H__