|
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_START_H |
|
22 #define LBS_SUPL_START_H |
|
23 |
|
24 #include "suplmessagebase.h" |
|
25 #include <lbs/lbsnetcommon.h> |
|
26 |
|
27 |
|
28 /** |
|
29 Encapsulation for received SUPL START messages. |
|
30 |
|
31 @internalTechnology |
|
32 */ |
|
33 NONSHARABLE_CLASS(CSuplStart) : public CSuplMessageBase |
|
34 { |
|
35 public: |
|
36 IMPORT_C static CSuplStart* NewL(); |
|
37 IMPORT_C static CSuplStart* NewLC(); |
|
38 virtual ~CSuplStart(); |
|
39 |
|
40 public: |
|
41 |
|
42 /** Set the capabilities parameter */ |
|
43 IMPORT_C TInt SetCapabilities(TLbsNetPosCapabilities& aCapabilities); |
|
44 |
|
45 /** Set the location ID parameter */ |
|
46 IMPORT_C TInt SetLocationId(const CSuplLocationId& aLocationId); |
|
47 |
|
48 /** Set the QoP parameter */ |
|
49 IMPORT_C TInt SetQoP(TLbsNetPosRequestQuality& aQuality); |
|
50 |
|
51 private: |
|
52 /** Constructor */ |
|
53 CSuplStart(); |
|
54 |
|
55 /** Second stage constructor */ |
|
56 void ConstructL(); |
|
57 |
|
58 /** Prohibit copy constructor */ |
|
59 CSuplStart(const CSuplStart&); |
|
60 |
|
61 /** Prohibit assigment operator */ |
|
62 CSuplStart& operator= (const CSuplStart&); |
|
63 }; |
|
64 |
|
65 #endif // LBS_SUPL_START_H |