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 "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 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @internalTechnology |
|
19 |
|
20 */ |
|
21 |
|
22 #ifndef RRLP_ASSISTANCE_DATA_H |
|
23 #define RRLP_ASSISTANCE_DATA_H |
|
24 |
|
25 #include "rrlpmessagebase.h" |
|
26 #include <lbs/lbsassistancedatabase.h> |
|
27 #include <lbs/lbsassistancedatabuilderset.h> |
|
28 #include "lbspositioninfo.h" |
|
29 |
|
30 /** |
|
31 Encapsulation for received RRLP Assistance Data message |
|
32 |
|
33 @internalTechnology |
|
34 */ |
|
35 NONSHARABLE_CLASS(CRrlpAssistanceData) : public CRrlpMessageBase |
|
36 { |
|
37 public: |
|
38 /** static factory constructor */ |
|
39 IMPORT_C static CRrlpAssistanceData* NewL(); |
|
40 |
|
41 virtual ~CRrlpAssistanceData(); |
|
42 |
|
43 public: |
|
44 |
|
45 /** Returns ETrue if valid assistance data is present in the received message */ |
|
46 IMPORT_C TBool AssistanceDataPresent(); |
|
47 |
|
48 /** Populates aData with received assistance data, and aDataMask to |
|
49 indicate the assistance data parts present */ |
|
50 IMPORT_C TInt BuildAssistanceData(TLbsAsistanceDataGroup& aDataMask, |
|
51 RLbsAssistanceDataBuilderSet& aAssistanceDataBuilderSet); |
|
52 |
|
53 /** Returns ETrue if another RRLP Assitance Data message to be delivered */ |
|
54 IMPORT_C TBool MoreAssDataToBeSent(); |
|
55 |
|
56 protected: |
|
57 |
|
58 /** gets the extended reference elements */ |
|
59 TInt GetExtendedReference(TRrlpReference& aRrlpRef); |
|
60 |
|
61 private: |
|
62 /** default constructor */ |
|
63 CRrlpAssistanceData(); |
|
64 |
|
65 /** second stage constructor */ |
|
66 void ConstructL(); |
|
67 |
|
68 /** Prohibit copy constructor */ |
|
69 CRrlpAssistanceData(const CRrlpAssistanceData&); |
|
70 |
|
71 /** Prohibit assigment operator */ |
|
72 CRrlpAssistanceData& operator= (const CRrlpAssistanceData&); |
|
73 }; |
|
74 |
|
75 #endif // RRLP_ASSISTANCE_DATA_H |
|
76 |
|