equal
deleted
inserted
replaced
|
1 // Copyright (c) 2007-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: |
|
14 // This contains the header file for MOLR UE Assisted No GPS Update during time t |
|
15 // |
|
16 // |
|
17 |
|
18 #ifndef CTLBSHYBRIDUEASSISTEDMOLRNOGPSUPDATE_H |
|
19 #define CTLBSHYBRIDUEASSISTEDMOLRNOGPSUPDATE_H |
|
20 |
|
21 // LBS test includes. |
|
22 #include "ctlbshybridmolrstep.h" |
|
23 #include <lbs/test/posserverwatch.h> |
|
24 |
|
25 // Literals used |
|
26 _LIT(KLbsHybridUEAssistedMOLRNoGPSUpdate,"LbsHybridUEAssistedMOLRNoGPSUpdate"); |
|
27 |
|
28 |
|
29 class CT_LbsHybridUEAssistedMOLRNoGPSUpdate: public CT_LbsHybridMOLRStep, public MPosServerObserver |
|
30 { |
|
31 public: |
|
32 static CT_LbsHybridUEAssistedMOLRNoGPSUpdate* New(CT_LbsHybridMOLRServer& aParent); |
|
33 enum TVerdict doTestStepL(); |
|
34 ~CT_LbsHybridUEAssistedMOLRNoGPSUpdate(); |
|
35 |
|
36 protected: |
|
37 // MPosServerObserver |
|
38 void OnGetLastKnownPosition(TInt32 aErr, const TPositionInfoBase& aPosInfo); |
|
39 void OnNotifyPositionUpdate(TInt32 aErr, const TPositionInfoBase& aPosInfo); |
|
40 |
|
41 |
|
42 protected: |
|
43 CT_LbsHybridUEAssistedMOLRNoGPSUpdate(CT_LbsHybridMOLRServer& aParent); |
|
44 void ConstructL(); |
|
45 |
|
46 private: |
|
47 enum TState |
|
48 { |
|
49 EInitializing, |
|
50 ERefLocReceived |
|
51 }; |
|
52 |
|
53 TState iState; |
|
54 TLbsNetSessionId iSessionId; |
|
55 }; |
|
56 |
|
57 #endif // CTLBSHYBRIDUEASSISTEDMOLRNOGPSUPDATE_H |