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 * Inline method definitions CWlanSettingsUiModel. |
|
16 * |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 #ifndef WLAN_SETTINGS_UI_MODEL_INL |
|
22 #define WLAN_SETTINGS_UI_MODEL_INL |
|
23 |
|
24 // ================= MEMBER FUNCTIONS ======================= |
|
25 |
|
26 // --------------------------------------------------------- |
|
27 // CWlanSettingsUiModel::ShowWlanAvail |
|
28 // --------------------------------------------------------- |
|
29 // |
|
30 TBool CWlanSettingsUiModel::ShowWlanAvail() |
|
31 { |
|
32 return iShowWlanAvail; |
|
33 } |
|
34 |
|
35 // --------------------------------------------------------- |
|
36 // CWlanSettingsUiModel::PowerSaving |
|
37 // --------------------------------------------------------- |
|
38 // |
|
39 TBool CWlanSettingsUiModel::PowerSaving() |
|
40 { |
|
41 return iPowerSaving; |
|
42 } |
|
43 |
|
44 // --------------------------------------------------------- |
|
45 // CWlanSettingsUiModel::SetShowWlanAvail |
|
46 // --------------------------------------------------------- |
|
47 // |
|
48 void CWlanSettingsUiModel::SetShowWlanAvail( TBool aShowWlanAvail ) |
|
49 { |
|
50 iShowWlanAvail = aShowWlanAvail; |
|
51 } |
|
52 |
|
53 // --------------------------------------------------------- |
|
54 // CWlanSettingsUiModel::SetPowerSaving |
|
55 // --------------------------------------------------------- |
|
56 // |
|
57 void CWlanSettingsUiModel::SetPowerSaving( TBool aPowerSaving ) |
|
58 { |
|
59 iPowerSaving = aPowerSaving; |
|
60 } |
|
61 |
|
62 // --------------------------------------------------------- |
|
63 // CWlanSettingsUiModel::PsmModeOn |
|
64 // --------------------------------------------------------- |
|
65 // |
|
66 TBool CWlanSettingsUiModel::PsmModeOn() |
|
67 { |
|
68 return iPsmMode; |
|
69 } |
|
70 |
|
71 #endif |
|