equal
deleted
inserted
replaced
33 #include "lbs/lbspositioningstatus.h" |
33 #include "lbs/lbspositioningstatus.h" |
34 |
34 |
35 // Literals used |
35 // Literals used |
36 _LIT(KLbsMolrTracking, "LbsMolrTracking"); |
36 _LIT(KLbsMolrTracking, "LbsMolrTracking"); |
37 |
37 |
38 class CT_LbsMolrTracking : public CT_LbsHybridMOLRStep, public MTestFlowObserver, public MLbsPositioningStatusObserver |
38 class CT_LbsMolrTracking : public CT_LbsHybridMOLRStep, public MTestFlowObserver |
39 { |
39 { |
40 private: |
40 private: |
41 class CT_ClientData : public CBase |
41 class CT_ClientData : public CBase |
42 { |
42 { |
43 public: |
43 public: |
103 void OnGetLastKnownPositionL(TInt aObjectId, TInt32 aErr, const TPositionInfoBase& aPosInfo); |
103 void OnGetLastKnownPositionL(TInt aObjectId, TInt32 aErr, const TPositionInfoBase& aPosInfo); |
104 void OnNotifyPositionUpdateL(TInt aObjectId, TInt32 aErr, const TPositionInfoBase& aPosInfo); |
104 void OnNotifyPositionUpdateL(TInt aObjectId, TInt32 aErr, const TPositionInfoBase& aPosInfo); |
105 void StopTest(); |
105 void StopTest(); |
106 void OnSignalNetworkStep(TInt aSessionId, TInt aSessionStep); |
106 void OnSignalNetworkStep(TInt aSessionId, TInt aSessionStep); |
107 |
107 |
108 //MLbsPositioningStatusObserver |
|
109 void OnPositioningStatusUpdate(const CLbsPositioningStatus::TLbsPositioningStatus& aPositioningStatus); |
|
110 |
|
111 protected: |
108 protected: |
112 CT_LbsMolrTracking(CT_LbsHybridMOLRServer& aParent); |
109 CT_LbsMolrTracking(CT_LbsHybridMOLRServer& aParent); |
113 void ConstructL(); |
110 void ConstructL(); |
114 |
111 |
115 private: |
112 private: |
132 // used for "one off" tests |
129 // used for "one off" tests |
133 // =1 - LastKnownPosition test |
130 // =1 - LastKnownPosition test |
134 // =2 - MaxAge test |
131 // =2 - MaxAge test |
135 // =3 - EarlyComplete test |
132 // =3 - EarlyComplete test |
136 TInt iSpecialTestMode; |
133 TInt iSpecialTestMode; |
137 TInt iPositioningIndicatorCount; |
|
138 TInt iPosStatusCount; |
|
139 CLbsPositioningStatus* iLbsPositioningStatus; |
|
140 CLbsPositioningStatus::TLbsPositioningStatus iPositioningStatus; |
|
141 }; |
134 }; |
142 |
135 |
143 #endif //__CT_LBS_MOLR_TRACKING_H__ |
136 #endif //__CT_LBS_MOLR_TRACKING_H__ |
144 |
137 |