|
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 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @internalTechnology |
|
19 |
|
20 */ |
|
21 #ifndef LBS_SUPL_RESPONSE_H |
|
22 #define LBS_SUPL_RESPONSE_H |
|
23 |
|
24 #include "suplmessagebase.h" |
|
25 #include <lbs/lbsnetcommon.h> |
|
26 |
|
27 |
|
28 /** |
|
29 Encapsulation for received SUPL RESPONSE messages. |
|
30 |
|
31 @internalTechnology |
|
32 */ |
|
33 NONSHARABLE_CLASS(CSuplResponse) : public CSuplMessageBase |
|
34 { |
|
35 public: |
|
36 IMPORT_C static CSuplResponse* NewL(); |
|
37 |
|
38 public: |
|
39 virtual ~CSuplResponse(); |
|
40 |
|
41 public: |
|
42 |
|
43 /** Populates aMethod according to the INIT message */ |
|
44 IMPORT_C TInt GetPosMethod(TLbsNetPosRequestMethod& aMethod); |
|
45 |
|
46 /** Returns ETrue if the SlpAddress parameter is present */ |
|
47 IMPORT_C TBool SlpAddressPresent(); |
|
48 |
|
49 /** Populates aAddress with the SLP address */ |
|
50 IMPORT_C TInt GetSlpAddress(CSuplSlpAddress& aAddress); |
|
51 |
|
52 private: |
|
53 /** Constructor */ |
|
54 CSuplResponse(); |
|
55 |
|
56 /** second stage constructor */ |
|
57 void ConstructL(); |
|
58 |
|
59 /** Prohibit copy constructor */ |
|
60 CSuplResponse(const CSuplResponse&); |
|
61 |
|
62 /** Prohibit assigment operator */ |
|
63 CSuplResponse& operator= (const CSuplResponse&); |
|
64 }; |
|
65 |
|
66 #endif // LBS_SUPL_RESPONSE_H |