|
1 // Copyright (c) 2006-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 the License "Symbian Foundation License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // @file CT_LbsClientStep_NotifyPosUpdate.h |
|
15 // This contains the header file for Notify Position Update Tests |
|
16 // |
|
17 // |
|
18 |
|
19 #ifndef __CT_LBS_CLIENT_STEP_NOTIFY_POS_UPDATE_H__ |
|
20 #define __CT_LBS_CLIENT_STEP_NOTIFY_POS_UPDATE_H__ |
|
21 |
|
22 #include "ctlbsclientstep.h" |
|
23 #include "ctlbsclientserver.h" |
|
24 #include "ctlbsclientnotifyposupdao.h" |
|
25 #include <lbsadmin.h> |
|
26 |
|
27 _LIT(KNumPositions, "num_positions"); |
|
28 |
|
29 // Literals used |
|
30 _LIT(KLbsClientStep_NotifyPosUpdate, "LbsClientStep_NotifyPosUpdate"); |
|
31 |
|
32 |
|
33 |
|
34 class CT_LbsClientStep_NotifyPosUpdate : public CT_LbsClientStep, MT_NotifyPosUpdateObserver |
|
35 { |
|
36 public: |
|
37 ~CT_LbsClientStep_NotifyPosUpdate(); |
|
38 |
|
39 static CT_LbsClientStep_NotifyPosUpdate* New(CT_LbsClientServer& aParent); |
|
40 virtual TVerdict doTestStepL(); |
|
41 |
|
42 void NotifyPositionUpdateCallback(TRequestStatus& aStatus); |
|
43 |
|
44 |
|
45 private: |
|
46 CT_LbsClientStep_NotifyPosUpdate(CT_LbsClientServer& aParent); |
|
47 |
|
48 void ConstructL(); |
|
49 void TempSetRequestorL(); |
|
50 |
|
51 |
|
52 private: |
|
53 |
|
54 // To allow changing admin settings. |
|
55 CLbsAdmin* iLbsAdmin; |
|
56 |
|
57 TBool iRequestedAssData; |
|
58 TBool iReceivedAssData; |
|
59 |
|
60 }; |
|
61 |
|
62 #endif //__CT_LBS_CLIENT_STEP_NOTIFY_POS_UPDATE_H__ |