|
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 "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 // @file CT_LbsSharedData.h |
|
15 // This contains CT_LbsSharedData |
|
16 // |
|
17 // |
|
18 |
|
19 |
|
20 #ifndef __T_LBS_SHARED_DATA_H__ |
|
21 #define __T_LBS_SHARED_DATA_H__ |
|
22 |
|
23 // system includes |
|
24 #include <e32cmn.h> |
|
25 |
|
26 // Lbs includes |
|
27 #include <lbspositioninfo.h> |
|
28 #include <lbscommon.h> |
|
29 |
|
30 #include <lbs/lbslogevent.h> |
|
31 #include <lbs/lbsselflocatelogevent.h> |
|
32 #include <lbs/lbsexternallocatelogevent.h> |
|
33 #include <lbs/lbstransmitlocationlogevent.h> |
|
34 #include <lbs/lbsnetworklocatelogevent.h> |
|
35 #include <lbs/lbsassistancedatalogevent.h> |
|
36 |
|
37 class CT_LbsSharedData : public CBase |
|
38 { |
|
39 public: |
|
40 static CT_LbsSharedData* NewL(); |
|
41 CT_LbsSharedData(); |
|
42 virtual ~CT_LbsSharedData(); |
|
43 |
|
44 protected: |
|
45 virtual void ConstructL(); |
|
46 |
|
47 public: |
|
48 RPointerArray<TAny> iVerifyPosInfoArr; |
|
49 RPointerArray<TAny> iCurrentPosInfoArr; |
|
50 |
|
51 // For logging, different type arrays to store multiple events |
|
52 RPointerArray<CLbsSelfLocateLogEvent> iSelfLocateLogInfoArr; |
|
53 RPointerArray<CLbsNetworkLocateLogEvent> iNetworkLocateLogInfoArr; |
|
54 RPointerArray<CLbsExternalLocateLogEvent> iExternalLocateLogInfoArr; |
|
55 RPointerArray<CLbsTransmitLocationLogEvent> iX3PLocateLogInfoArr; |
|
56 RPointerArray<CLbsAssistanceDataLogEvent> iAssistanceDataLogInfoArr; |
|
57 |
|
58 TPositionModuleInfo iVerifyModuleInfo; |
|
59 TPositionModuleInfo iCurrentModuleInfo; |
|
60 |
|
61 TPositionModuleStatus iVerifyModuleStatus; |
|
62 TPositionModuleStatus iCurrentModuleStatus; |
|
63 |
|
64 TPositionModuleStatusEvent iVerifyModuleStatusEvent; |
|
65 TPositionModuleStatusEvent iCurrentModuleStatusEvent; |
|
66 |
|
67 TPositionUpdateOptions iVerifyUpdateOpts; |
|
68 TPositionUpdateOptions iCurrentUpdateOpts; |
|
69 |
|
70 /** Flag used to indicate if the A-GPS integration test module is being used during testing. |
|
71 */ |
|
72 TBool iTestModuleInUse; |
|
73 }; |
|
74 |
|
75 #endif // __T_LBS_SHARED_DATA_H__ |