coreapplicationuis/SysAp/Src/OfflineModeController/SysApOfflineModeControllerImpl.h
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
8 * |
8 * |
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: The stub implementation of MSysApOfflineModeController. |
14 * Description: |
15 * |
15 * CSysApOfflineModeController controls the offline mode. |
16 */ |
16 * It turns OFF RF, BT and WLAN when offline mode is enabled and turns them ON when |
|
17 * Offline mode is disabled |
|
18 * |
|
19 */ |
17 |
20 |
18 |
21 |
19 #ifndef SYSAPOFFLINEMODECONTROLLERIMPL_H |
22 #ifndef SYSAPOFFLINEMODECONTROLLERIMPL_H |
20 #define SYSAPOFFLINEMODECONTROLLERIMPL_H |
23 #define SYSAPOFFLINEMODECONTROLLERIMPL_H |
21 |
24 |
25 #include "MSysApOfflineModeController.h" |
28 #include "MSysApOfflineModeController.h" |
26 |
29 |
27 // FORWARD DECLARATIONS |
30 // FORWARD DECLARATIONS |
28 |
31 |
29 class CSysApAppUi; |
32 class CSysApAppUi; |
|
33 class CSysApCenRepOfflineModeObserver; |
30 |
34 |
31 // CLASS DECLARATION |
35 // CLASS DECLARATION |
32 /** |
36 /** |
33 * CSysApOfflineModeController |
37 * CSysApOfflineModeController |
34 * |
38 * |
158 TBool BtActiveBeforeOfflineMode(); |
162 TBool BtActiveBeforeOfflineMode(); |
159 |
163 |
160 private: |
164 private: |
161 |
165 |
162 CSysApAppUi& iSysApAppUi; |
166 CSysApAppUi& iSysApAppUi; |
|
167 |
|
168 /** |
|
169 * Instance of the Offline mode observer. Listens to offline mode changes |
|
170 */ |
|
171 CSysApCenRepOfflineModeObserver* iSysApCenRepOfflineModeObserver; |
163 |
172 |
164 TBool iOfflineModeActive; |
173 TBool iOfflineModeActive; |
165 TBool iDoNotActivateRF; |
174 TBool iDoNotActivateRF; |
166 }; |
175 }; |
167 |
176 |