|
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: Stores information for a MTLR test sequence |
|
14 // |
|
15 // |
|
16 |
|
17 #ifndef __CT_LBS_TEST_MTLR_SESSION_SEQUENCE_H__ |
|
18 #define __CT_LBS_TEST_MTLR_SESSION_SEQUENCE_H__ |
|
19 |
|
20 #include "clbstestsessionsequence.h" |
|
21 |
|
22 /** Class for representing a session sequence |
|
23 */ |
|
24 class CTestMtlrSessionSequence : public CTestSessionSequence |
|
25 { |
|
26 public: |
|
27 static CTestMtlrSessionSequence* NewL(CLbsTestNgMessageHandler& aNgProxy, MHybridMultipleTestCallBack& aTestCallback, |
|
28 TInt aSequenceNum, const TDesC& aConfigFileName, const TDesC& aConfigSection); |
|
29 ~CTestMtlrSessionSequence(); |
|
30 |
|
31 void CheckRespondPrivacyRequest(CLbsNetworkProtocolBase::TLbsPrivacyResponse aPrivacyResponse); |
|
32 |
|
33 protected: |
|
34 //NG Messages |
|
35 void SendProcessPrivacyRequest(); |
|
36 void SendProcessLocationRequest(); |
|
37 void SendProcessStatusUpdate(); |
|
38 |
|
39 protected: |
|
40 CTestMtlrSessionSequence(CLbsTestNgMessageHandler& aNgProxy, MHybridMultipleTestCallBack& aTestCallback); |
|
41 void ConstructL(TInt aSequenceNum, const TDesC& aConfigFileName, const TDesC& aConfigSection); |
|
42 |
|
43 private: |
|
44 //Indicates whether the sequence is an emergency sequence |
|
45 TBool iEmergency; |
|
46 //Contains the service type of the request (either MTLR or NI) |
|
47 MLbsNetworkProtocolObserver::TLbsNetProtocolService iService; |
|
48 }; |
|
49 |
|
50 #endif //__CT_LBS_TEST_MTLR_SESSION_SEQUENCE_H__ |