|
1 /* |
|
2 * ============================================================================== |
|
3 * Name : wapisecuritysettingsimpl.inl |
|
4 * Part of : WAPI Security Settings UI |
|
5 * |
|
6 * Description : CWAPISecuritySettingsImpl inline functions |
|
7 * Version : %version: 5 % |
|
8 * |
|
9 * Copyright (c) 2008 Nokia Corporation. |
|
10 * This material, including documentation and any related |
|
11 * computer programs, is protected by copyright controlled by |
|
12 * Nokia Corporation. All rights are reserved. Copying, |
|
13 * including reproducing, storing, adapting or translating, any |
|
14 * or all of this material requires the prior written consent of |
|
15 * Nokia Corporation. This material also contains confidential |
|
16 * information which may not be disclosed to others without the |
|
17 * prior written consent of Nokia Corporation. |
|
18 * ============================================================================== |
|
19 */ |
|
20 |
|
21 |
|
22 #ifndef WAPISECURITYSETTINGSIMPL_INL |
|
23 #define WAPISECURITYSETTINGSIMPL_INL |
|
24 |
|
25 // --------------------------------------------------------- |
|
26 // CWAPISecuritySettingsImpl::GetUserCertInUse |
|
27 // --------------------------------------------------------- |
|
28 // |
|
29 inline void CWAPISecuritySettingsImpl::GetUserCertInUse( |
|
30 TInt& aUserCertInUse ) |
|
31 { |
|
32 aUserCertInUse = iUserCertInUse; |
|
33 } |
|
34 |
|
35 |
|
36 // --------------------------------------------------------- |
|
37 // CWAPISecuritySettingsImpl::GetCACertInUse |
|
38 // --------------------------------------------------------- |
|
39 // |
|
40 inline void CWAPISecuritySettingsImpl::GetCACertInUse( |
|
41 TInt& aCACertInUse ) |
|
42 { |
|
43 aCACertInUse = iCACertInUse; |
|
44 } |
|
45 |
|
46 |
|
47 // --------------------------------------------------------- |
|
48 // CWAPISecuritySettingsImpl::SetUserCertInUse |
|
49 // --------------------------------------------------------- |
|
50 // |
|
51 inline void CWAPISecuritySettingsImpl::SetUserCertInUse( |
|
52 const TInt aSelectedCert ) |
|
53 { |
|
54 iUserCertInUse = aSelectedCert; |
|
55 } |
|
56 |
|
57 |
|
58 // --------------------------------------------------------- |
|
59 // CWAPISecuritySettingsImpl::SetCACertInUse |
|
60 // --------------------------------------------------------- |
|
61 // |
|
62 inline void CWAPISecuritySettingsImpl::SetCACertInUse( |
|
63 const TInt aSelectedCert ) |
|
64 { |
|
65 iCACertInUse = aSelectedCert; |
|
66 } |
|
67 |
|
68 |
|
69 // --------------------------------------------------------- |
|
70 // CWAPISecuritySettingsImpl::GetCertificateLabels |
|
71 // --------------------------------------------------------- |
|
72 // |
|
73 inline void CWAPISecuritySettingsImpl::GetCertificateLabels( |
|
74 RArray<TBuf<KMaxLabelLength> >*& aUserCertificates, |
|
75 RArray<TBuf<KMaxLabelLength> >*& aCACertificates ) |
|
76 { |
|
77 aUserCertificates = iUserCertificates; |
|
78 aCACertificates = iCACertificates; |
|
79 } |
|
80 |
|
81 #endif |
|
82 |
|
83 // End of File |