1 /* |
|
2 * Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * Implementation of class CWlanSettingsUi. |
|
16 * |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 // INCLUDE FILES |
|
22 |
|
23 #include "wlansettingsui.h" |
|
24 #include "wlansettingsuiimpl.h" |
|
25 |
|
26 // ================= MEMBER FUNCTIONS ======================= |
|
27 |
|
28 // --------------------------------------------------------- |
|
29 // CWlanSettingsUi::NewLC |
|
30 // --------------------------------------------------------- |
|
31 // |
|
32 EXPORT_C CWlanSettingsUi* CWlanSettingsUi::NewL( CEikonEnv& aEikEnv ) |
|
33 { |
|
34 CWlanSettingsUi* ui = new ( ELeave ) CWlanSettingsUi(); |
|
35 CleanupStack::PushL( ui ); |
|
36 ui->iImpl = CWlanSettingsUiImpl::NewL( aEikEnv ); |
|
37 CleanupStack::Pop( ui ); |
|
38 return ui; |
|
39 } |
|
40 |
|
41 // --------------------------------------------------------- |
|
42 // CWlanSettingsUi::~CWlanSettingsUi |
|
43 // --------------------------------------------------------- |
|
44 // |
|
45 EXPORT_C CWlanSettingsUi::~CWlanSettingsUi() |
|
46 { |
|
47 delete iImpl; |
|
48 } |
|
49 |
|
50 // --------------------------------------------------------- |
|
51 // CWlanSettingsUi::RunSettingsL |
|
52 // --------------------------------------------------------- |
|
53 // |
|
54 EXPORT_C void CWlanSettingsUi::RunSettingsL( CMDBSession* aSession ) |
|
55 { |
|
56 iImpl->RunSettingsL( aSession ); |
|
57 } |
|
58 |
|
59 // --------------------------------------------------------- |
|
60 // CWlanSettingsUi::RunSettingsL |
|
61 // --------------------------------------------------------- |
|
62 // |
|
63 EXPORT_C void CWlanSettingsUi::RunSettingsL() |
|
64 { |
|
65 CommsDat::CMDBSession* session = CMDBSession::NewLC( KCDLatestVersion ); |
|
66 RunSettingsL( session ); |
|
67 CleanupStack::PopAndDestroy( session ); |
|
68 } |
|