|
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 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 ctlbsclientstep_reset_assistance.h |
|
15 // |
|
16 // |
|
17 |
|
18 #ifndef __CT_LBS_CLIENT_STEP_RESET_ASSISTANCE_H__ |
|
19 #define __CT_LBS_CLIENT_STEP_RESET_ASSISTANCE_H__ |
|
20 |
|
21 #include "ctlbsclientstep.h" |
|
22 #include "ctlbsclientserver.h" |
|
23 #include "ctlbsclientnotifyposupdao.h" |
|
24 #include <lbsadmin.h> |
|
25 |
|
26 // Literals used |
|
27 _LIT(KLbsClientStep_ResetAssistance, "LbsClientStep_ResetAssistance"); |
|
28 |
|
29 |
|
30 |
|
31 class CT_LbsClientStep_ResetAssistance : public CT_LbsClientStep, MT_NotifyPosUpdateObserver |
|
32 { |
|
33 public: |
|
34 ~CT_LbsClientStep_ResetAssistance(); |
|
35 |
|
36 static CT_LbsClientStep_ResetAssistance* New(CT_LbsClientServer& aParent); |
|
37 virtual TVerdict doTestStepL(); |
|
38 |
|
39 void NotifyPositionUpdateCallback(TRequestStatus& aStatus); |
|
40 |
|
41 |
|
42 private: |
|
43 CT_LbsClientStep_ResetAssistance(CT_LbsClientServer& aParent); |
|
44 |
|
45 void ConstructL(); |
|
46 void TempSetRequestorL(); |
|
47 TInt64 DoRequests(TBool aCold, TBool aReset); |
|
48 |
|
49 |
|
50 private: |
|
51 |
|
52 // To allow changing admin settings. |
|
53 CLbsAdmin* iLbsAdmin; |
|
54 |
|
55 TBool iRequestedAssData; |
|
56 TBool iReceivedAssData; |
|
57 |
|
58 }; |
|
59 |
|
60 #endif //__CT_LBS_CLIENT_STEP_RESET_ASSISTANCE_H__ |