|
1 // Copyright (c) 2005-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 #include <lbs/lbsprivacyextnotifiers.h> |
|
18 |
|
19 |
|
20 /** |
|
21 Get the requester information contained in this class |
|
22 |
|
23 @param aRequesterInfo Reference to a TLbsExternalRequestInfo object |
|
24 that the requester information is written to. |
|
25 */ |
|
26 EXPORT_C void TLbsPrivacyNotifierParams::GetRequesterInfo(TLbsExternalRequestInfo& aRequesterInfo) const |
|
27 { |
|
28 aRequesterInfo = iRequesterInfo; |
|
29 } |
|
30 |
|
31 /** |
|
32 Set the requester information for this class |
|
33 |
|
34 @param aRequesterInfo Reference to a TLbsExternalRequestInfo object |
|
35 to set the requester info from. |
|
36 */ |
|
37 EXPORT_C void TLbsPrivacyNotifierParams::SetRequesterInfo(const TLbsExternalRequestInfo& aRequesterInfo) |
|
38 { |
|
39 iRequesterInfo = aRequesterInfo; |
|
40 } |
|
41 |
|
42 /** |
|
43 Default C++ constructor. |
|
44 */ |
|
45 EXPORT_C TLbsPrivacyNotifierParams::TLbsPrivacyNotifierParams() |
|
46 { |
|
47 } |
|
48 |
|
49 /** |
|
50 Get the response type contained in this class |
|
51 |
|
52 @param aResponse Reference to a TLbsPrivacyNotifierResponse |
|
53 object that the response type is written to. |
|
54 */ |
|
55 EXPORT_C void TLbsPrivacyResponseParams::GetResponseType(TLbsPrivacyNotifierResponse& aResponse) const |
|
56 { |
|
57 aResponse = iResponse; |
|
58 } |
|
59 |
|
60 /** |
|
61 Set the response type for this class |
|
62 |
|
63 @param aResponse Reference to a TLbsPrivacyNotifierResponse |
|
64 object to set the response type from. |
|
65 */ |
|
66 EXPORT_C void TLbsPrivacyResponseParams::SetResponseType(const TLbsPrivacyNotifierResponse& aResponse) |
|
67 { |
|
68 iResponse = aResponse; |
|
69 } |
|
70 |
|
71 /** |
|
72 Default C++ constructor. |
|
73 */ |
|
74 EXPORT_C TLbsPrivacyResponseParams::TLbsPrivacyResponseParams() |
|
75 { |
|
76 } |
|
77 |