author | hgs |
Thu, 07 Oct 2010 06:25:45 +0300 | |
changeset 77 | b01c07dfcf84 |
parent 74 | 1505405bc645 |
child 81 | 676b6116ca93 |
permissions | -rw-r--r-- |
0
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
1 |
/* |
46 | 2 |
* Copyright (c) 2005-2010 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 |
* |
|
16 |
*/ |
|
0
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
17 |
|
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
18 |
#ifndef SYSAPAPPUI_H |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
19 |
#define SYSAPAPPUI_H |
61 | 20 |
|
0
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
21 |
#include <aknappui.h> |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
22 |
#include "SysAp.hrh" |
46 | 23 |
#include <f32file.h> |
24 |
#include <W32STD.H> |
|
25 |
#include <coedef.h> |
|
0
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
26 |
#include <e32property.h> |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
27 |
#include <sysapcallback.h> |
46 | 28 |
#include <starterclient.h> |
51 | 29 |
#include <rmmcustomapi.h> |
30 |
||
31 |
||
46 | 32 |
#include "SysApTimer.h" |
33 |
#include "SysApLightsController.h" |
|
34 |
#include "coreapplicationuisprivatecrkeys.h" |
|
35 |
#include "sysapusbchargerdetector.h" |
|
0
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
36 |
#include "SysApAccessoryObserver.h" |
46 | 37 |
#include <hbsymbianvariant.h> |
51 | 38 |
#include <hbindicatorsymbian.h> |
46 | 39 |
//For Powermenu--CHbDevicePowerMenuSymbian |
40 |
#include "hbdevicepowermenusymbian.h" |
|
0
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
41 |
|
46 | 42 |
#include "sysappsmcontroller.h" |
61 | 43 |
#include "SysApMMCObserver.h" |
0
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
44 |
|
61 | 45 |
#ifdef RD_MULTIPLE_DRIVE |
46 |
#include "sysapdrivelist.h" |
|
47 |
#endif // RD_MULTIPLE_DRIVE |
|
48 |
||
46 | 49 |
#include <eikappui.h> |
77 | 50 |
#include <sysapcharginganimation.h> |
0
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
51 |
|
46 | 52 |
|
53 |
class CSysApFeatureManager; |
|
54 |
class CSysApNspsHandler; |
|
55 |
class CSysApPubSubObserver; |
|
56 |
class CSysApStartupController; |
|
57 |
class CSysApDefaultKeyHandler; |
|
58 |
class CSysApKeyManagement; |
|
59 |
class MSysApOfflineModeController; |
|
60 |
class CHbDevicePowerMenuSymbian; |
|
61 |
class CSysApShutdownImage; |
|
62 |
class CSysApKeySndHandler; |
|
63 |
class CSysApCenRepController; |
|
64 |
class CSysApCenRepLightSettingsObserver; |
|
65 |
class CSysApCenRepBtObserver; |
|
66 |
class CSysApCenRepHacSettingObserver; |
|
77 | 67 |
class CSysApCenRepSilentModeObserver; |
46 | 68 |
class CSysApAudioRoutingObserver; |
69 |
class CSysApSsSettingsObserver; |
|
70 |
class CSystemLock; |
|
71 |
class CSysApCenRepCallForwardingObserver; |
|
72 |
class CSysApBatteryInfoController; |
|
73 |
class MSysApBtSapController; |
|
74 |
class MSysApBtController; |
|
75 |
class CSysApCenRepLogsObserver; |
|
76 |
class MSysApUsbIndicator; |
|
77 |
class CKeyguardAccessApi; |
|
77 | 78 |
class CSysApChargingAnimation; |
51 | 79 |
class CHbIndicatorSymbian; |
80 |
class CSysApShutdownAnimation; |
|
46 | 81 |
|
51 | 82 |
class CSysApDefaultKeyHandler; |
61 | 83 |
class CSysApDriveUnlockHandler; |
84 |
class CSysApDriveEjectHandler; |
|
85 |
class CHbDeviceInputDialogSymbian; |
|
51 | 86 |
class CSysApEtelConnector; |
46 | 87 |
|
88 |
const TInt KBluetoothModulePowerModeOn ( 1 ); |
|
89 |
const TInt KDummyReason( -1 ); |
|
90 |
||
61 | 91 |
|
92 |
//CLASS DECLARATION |
|
93 |
/** |
|
94 |
* CSysApAppUi class. This class serves as a link between the other |
|
95 |
* SysAp classes and performs the most UI specific operations on SysAp's |
|
96 |
* responsibility. |
|
97 |
* |
|
98 |
* @lib sysap |
|
99 |
* @since 1.0 |
|
100 |
*/ |
|
46 | 101 |
|
102 |
class CSysApAppUi : public CAknAppUi, |
|
61 | 103 |
public MSysApMemoryCardObserver, |
0
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
104 |
public MSysApTimerResponder, |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
105 |
public MSysapCallback, |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
106 |
public MSysApPsmControllerNotifyCallback |
46 | 107 |
{ |
108 |
public: |
|
0
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
109 |
/** |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
110 |
* C++ default constructor. |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
111 |
* @param None |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
112 |
* @return void |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
113 |
*/ |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
114 |
CSysApAppUi(); |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
115 |
|
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
116 |
/** |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
117 |
* Destructor |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
118 |
* @param None |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
119 |
* @return void |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
120 |
*/ |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
121 |
virtual ~CSysApAppUi(); |
46 | 122 |
|
123 |
// from CCoeAppUiBase |
|
124 |
void PrepareToExit(); |
|
125 |
||
0
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
126 |
protected: // From MSysApTimerResponder |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
127 |
|
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
128 |
/** |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
129 |
* Handle events from CSysApTimer |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
130 |
* @param None |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
131 |
* @return void |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
132 |
*/ |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
133 |
void TimerExpiredL(); |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
134 |
|
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
135 |
private: // from MSysapCallback |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
136 |
/** |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
137 |
* Executes a command in SysAp. |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
138 |
* |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
139 |
* @since S60 3.1 |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
140 |
* @param[in] aCommand command identifier |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
141 |
* @return None |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
142 |
* @leave an error code, system wide/command specific |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
143 |
* |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
144 |
* @see MSysapCallback::TSysapCommand |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
145 |
*/ |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
146 |
void ExecCommandL( TSysapCommand aCommand ); |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
147 |
|
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
148 |
/** |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
149 |
* Executes a command in SysAp. |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
150 |
* |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
151 |
* @since S60 3.1 |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
152 |
* @param aCommand command identifier |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
153 |
* @param aParam command specific parameter data |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
154 |
* @return None |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
155 |
* @leave an error code, system wide/command specific |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
156 |
* |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
157 |
* @see MSysapCallback::TSysapCommand |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
158 |
*/ |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
159 |
void ExecCommandL( TSysapCommand aCommand, const TDesC8& aParam ); |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
160 |
|
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
161 |
/** |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
162 |
* Queries information from SysAp. |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
163 |
* |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
164 |
* @since S60 3.1 |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
165 |
* @param[in] aQuery query identifier |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
166 |
* @param[out] aReturn query specific return data |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
167 |
* @return None |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
168 |
* @leave an error code, system wide/command specific |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
169 |
* |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
170 |
* @see MSysapCallback::TSysapQuery |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
171 |
*/ |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
172 |
void ExecQueryL( TSysapQuery aQuery, TDes8& aReturn ); |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
173 |
|
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
174 |
/** |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
175 |
* Queries information from SysAp. |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
176 |
* |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
177 |
* @since S60 3.1 |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
178 |
* @param[in] aQuery query identifier |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
179 |
* @param[out] aReturn query specific return data |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
180 |
* @param[in] aParam query specific parameter data |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
181 |
* @return None |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
182 |
* @leave an error code, system wide/command specific |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
183 |
* |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
184 |
* @see MSysapCallback::TSysapQuery |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
185 |
*/ |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
186 |
void ExecQueryL( TSysapQuery aQuery, TDes8& aReturn, const TDesC8& aParam ); |
46 | 187 |
|
51 | 188 |
|
189 |
#ifdef RD_STARTUP_ANIMATION_CUSTOMIZATION |
|
190 |
void |
|
191 |
#else // RD_STARTUP_ANIMATION_CUSTOMIZATION |
|
192 |
TBool |
|
193 |
#endif // RD_STARTUP_ANIMATION_CUSTOMIZATION |
|
194 |
ShowAnimationL(); |
|
195 |
||
196 |
void PrepareForShutdownAnimation(); |
|
197 |
||
46 | 198 |
public: |
199 |
void ConstructL(); |
|
200 |
||
201 |
private: // from CEikAppUi |
|
202 |
/** |
|
203 |
* Handles a change to the application's resources which are shared across the environment. |
|
204 |
* |
|
205 |
* @since S60 3.1 |
|
206 |
* @param aType The type of resources that have changed. |
|
207 |
* @return None. |
|
208 |
*/ |
|
77 | 209 |
// void HandleResourceChangeL(TInt aType); |
46 | 210 |
|
211 |
private: |
|
0
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
212 |
/** |
46 | 213 |
* Takes care of command handling. |
214 |
* @param aCommand command to be handled |
|
215 |
* @return void |
|
216 |
*/ |
|
217 |
void HandleCommandL( TInt aCommand); |
|
218 |
||
219 |
/** |
|
220 |
* handles key events |
|
221 |
* @param TKeyEvent& aKeyEvent |
|
222 |
* @param TEventCode aType |
|
223 |
* @return TKeyResponse |
|
0
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
224 |
*/ |
46 | 225 |
TKeyResponse HandleKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType ); |
51 | 226 |
void HandleApplicationSpecificEventL(TInt aType,const TWsEvent& aEvent); |
46 | 227 |
|
228 |
public: |
|
77 | 229 |
|
230 |
/* |
|
231 |
* Get pointer to RTelServer |
|
232 |
* |
|
233 |
* @return pointer to RTelServer if iSysApEtelConnector is initialized. Otherwise return NULL. |
|
234 |
*/ |
|
235 |
RTelServer* GetTelServer(); |
|
236 |
||
46 | 237 |
// void CallFromMain(); |
238 |
||
239 |
/** |
|
240 |
* Returns the state of keylock |
|
241 |
* @param none |
|
242 |
* @return TBool the state of keylock |
|
243 |
*/ |
|
244 |
TBool KeyLockState() const; |
|
0
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
245 |
|
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
246 |
/** |
46 | 247 |
* Returns the state of devicelock |
248 |
* @param none |
|
249 |
* @return TBool the state of devicelock |
|
250 |
*/ |
|
251 |
TBool DeviceLockState() const; |
|
252 |
||
253 |
/** |
|
0
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
254 |
* Returns reference to SysAp's internal feature manager. |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
255 |
* |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
256 |
* @since S60 3.1 |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
257 |
* @return CSysApFeatureManager& |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
258 |
*/ |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
259 |
CSysApFeatureManager& SysApFeatureManager(); |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
260 |
|
46 | 261 |
/* |
262 |
* Called by SysApLightsController when the lights are switced on/off |
|
263 |
* @param aActivate If ETrue forwarding is activated, otherwise deactivated |
|
264 |
* @return void |
|
0
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
265 |
*/ |
46 | 266 |
void ActivateKeyeventForwardingForLights(TBool aActivate); |
267 |
||
268 |
TBool IsEncryptionOperationOngoingL() const; |
|
77 | 269 |
void HandleSendKeyEventL(); |
270 |
void HandleEndKeyEventL(); |
|
271 |
||
272 |
void ShowNoteL ( const TDesC& noteText )const; |
|
46 | 273 |
void ShowNotificationDialog(const TDesC& noteText)const; |
274 |
void PopupNote(); |
|
275 |
TBool ResourcesFreed() const; |
|
77 | 276 |
void ShowUiNoteL( const TSysApNoteIds aNote ); |
46 | 277 |
TInt StateOfProperty( const TUid& aCategory, const TUint aKey ) const; |
278 |
TBool OfflineModeActive(); |
|
279 |
void GoOnlineL( TBool aDoProfileChange = ETrue ); |
|
280 |
void GoOfflineL(); |
|
281 |
void SwitchFromOnlineToOfflineModeL(); |
|
282 |
||
283 |
void DoStateChangedL( const RStarterSession::TGlobalState aSwState ); |
|
284 |
TInt SetStarterState( const RStarterSession::TGlobalState aState ); |
|
285 |
TInt BluetoothPowerMode() const; |
|
286 |
void SetNetworkConnectionAllowed( TCoreAppUIsNetworkConnectionAllowed aNetworkConnectionAllowed ); |
|
287 |
RStarterSession& StarterSession(); |
|
288 |
TInt SetBtPowerState( TBool aBtState ); |
|
289 |
TBool SimSupported(); |
|
290 |
TBool BtSapEnabled(); |
|
291 |
void OfflineModeChangedL(); |
|
292 |
TBool UiReady() const; |
|
293 |
void DoShutdownL( const TBool aReset, const TInt aResetReason ); |
|
294 |
TBool IsDeviceModeKey( const TKeyEvent& aKeyEvent ) const; |
|
0
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
295 |
void SetUsbAttachStatus( const TBool aUsbAttached ); |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
296 |
TSysApUsbChargerDetector& UsbChargerDetector(); |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
297 |
|
51 | 298 |
void HandleAccessoryConnectedL( TAccMode aAccessoryState, TInt aPhysicalConnectionType ); |
0
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
299 |
|
46 | 300 |
void HandleAccessoryDisconnectedL(); |
301 |
void DoLightsTimeoutChangedL( const TInt aTimeout ); |
|
302 |
void SetHacIndicatorL(); |
|
303 |
void DoNotActivateBt(); |
|
304 |
void SetIhfIndicatorL(); |
|
305 |
void HandleLongPowerKeyPressedL(); |
|
306 |
void IgnoreZeroNetworkBarNotifications(TBool aIgnore); |
|
307 |
void InitCloseSimApplicationsL(); |
|
308 |
void CloseSimApplicationsL(); |
|
309 |
void DoSimChangedFromPreviousBootL(); |
|
310 |
void ShowAlarmIndicatorL( TBool aShowIndicator ); |
|
311 |
void AlertUiAlertingL( const TBool aAlerting ); |
|
312 |
void HandleForcedLightsVTRequireL( const TInt aLightsParameter ) const; |
|
313 |
void HandleForcedLightsSSRequireL( const TInt aLightsParameter ) const; |
|
314 |
void HandleForcedLightsATCRequireL( const TInt aLightsParameter ) const; |
|
315 |
void HandleLightsRequireL() const; |
|
316 |
void AlertUiKeyLockOff( const TBool aKeyLockOff ); |
|
317 |
void DoNotEnableKeylock(); |
|
318 |
void SwitchLightsOnSoftRejectL(); |
|
319 |
void SetDeviceLockEnabledL( const TBool aLockEnabled ); |
|
320 |
void HandleBatteryStatusL( const TInt aValue ); |
|
321 |
void BatteryEmptyL(); |
|
322 |
void ShowQueryL( const TSysApConfirmationQueryIds aQueryId, |
|
323 |
const TDesC& aValue = KNullDesC ); |
|
324 |
void HandleChargingStatusL( const TInt aValue ); |
|
325 |
void HandleChargerNotesL( const TInt aValue ); |
|
326 |
void UpdateBatteryBarsL( const TInt aState ); |
|
327 |
void ShowChargingNoteL(); |
|
328 |
void HandleCurrentCallStateChangeL( TInt aCurrentCallState ); |
|
329 |
TBool IsEmergencyCall(); |
|
330 |
CSysApCenRepController& CenRepController(); |
|
331 |
void HandleWlanIndicatorL( TInt aValue ); |
|
0
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
332 |
|
46 | 333 |
void SetKeyLockEnabledL(); |
334 |
void SetKeyLockDisabledL(); |
|
335 |
void SetLightsOnUnlockNoteL(); |
|
336 |
void SetLightsOnEcsQueryL(); |
|
337 |
void SetLightsOnSecurityQueryL(); |
|
338 |
TBool CheckLongPowerKeyPressed(); |
|
339 |
TBool ReleasePowerMenuCustomDialogMemory(); |
|
61 | 340 |
TBool NotifiedDialogIfRequiredAndReleaseMemory(); |
51 | 341 |
static TInt DoStopAnimTiming( TAny* aObject ); |
342 |
CEikStatusPane* StatusPane(); |
|
46 | 343 |
|
61 | 344 |
void EjectUsed( TInt aDrive ); |
345 |
||
346 |
void EjectMMCL(); |
|
347 |
||
348 |
#ifndef RD_MULTIPLE_DRIVE |
|
349 |
/** |
|
350 |
* Mounts MMC drive |
|
351 |
* @param None |
|
352 |
* @return TInt : error value from RFs::MountFileSystem() |
|
353 |
*/ |
|
354 |
TInt MountMMC(); |
|
355 |
||
356 |
/** |
|
357 |
* Dismounts MMC drive |
|
358 |
* @param None |
|
359 |
* @return TInt : error value from RFs::MountFileSystem() |
|
360 |
*/ |
|
361 |
TInt DismountMMC(); |
|
362 |
#endif // RD_MULTIPLE_DRIVE |
|
363 |
||
364 |
#ifndef RD_MULTIPLE_DRIVE |
|
365 |
/** |
|
366 |
* Unlocks MMC |
|
367 |
* @param None |
|
368 |
* @return void |
|
369 |
*/ |
|
370 |
void RunUnlockNotifierL( TSysApMemoryCardStatus aMemoryCardStatus = ESysApMemoryCardStatusNotKnown ); |
|
371 |
||
372 |
/** |
|
373 |
* From MSysApMemoryCardObserver. |
|
374 |
* Gets called by CSysApMMCObserver when an MMC is inserted/removed |
|
375 |
* @return void |
|
376 |
*/ |
|
377 |
void MMCStatusChangedL(); |
|
378 |
||
379 |
/** |
|
380 |
* Shows "MMC removed..." dialogs |
|
381 |
* @param None |
|
382 |
* @return void |
|
383 |
*/ |
|
384 |
void ShowMMCDismountedDialogL(); |
|
385 |
#else // RD_MULTIPLE_DRIVE |
|
386 |
||
387 |
/** |
|
388 |
* Updates PS key during boot |
|
389 |
* @return void |
|
390 |
*/ |
|
391 |
void MMCInsertedL(); |
|
392 |
||
393 |
/** |
|
394 |
* Unlocks MMC |
|
395 |
* @param None |
|
396 |
* @return void |
|
397 |
*/ |
|
398 |
void RunUnlockNotifierL(); |
|
399 |
||
400 |
/** |
|
401 |
* From MSysApMemoryCardObserver. |
|
402 |
* Gets called by CSysApMMCObserver when an MMC is inserted/removed |
|
403 |
* @param aDrive Changed drive |
|
404 |
* @return void |
|
405 |
*/ |
|
406 |
void MMCStatusChangedL( TInt aDrive ); |
|
407 |
||
408 |
/** |
|
409 |
* Shows "MMC removed..." dialogs |
|
410 |
* @param aDrive Drive to dismount |
|
411 |
* @param aEjectType Eject type used for the drive |
|
412 |
* @return void |
|
413 |
*/ |
|
414 |
TBool ShowMMCDismountedDialogL( |
|
415 |
TInt aDrive, CSysApDriveList::TDriveEjectType aEjectType ); |
|
416 |
#endif // RD_MULTIPLE_DRIVE |
|
417 |
||
418 |
#ifdef RD_MULTIPLE_DRIVE |
|
419 |
/* |
|
420 |
* Starts wait note for eject |
|
421 |
*/ |
|
422 |
void ShowEjectWaitNoteL( TInt aDriveToEject ); |
|
423 |
||
424 |
/* |
|
425 |
* Checks is eject query visible |
|
426 |
*/ |
|
427 |
TBool IsEjectQueryVisible(); |
|
428 |
#endif // RD_MULTIPLE_DRIVE |
|
429 |
||
430 |
||
46 | 431 |
#ifdef SYSAP_USE_STARTUP_UI_PHASE |
432 |
/** |
|
433 |
* Called when UI is ready after boot. |
|
434 |
*/ |
|
435 |
void HandleUiReadyAfterBootL(); |
|
0
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
436 |
|
46 | 437 |
#endif // SYSAP_USE_STARTUP_UI_PHASE |
438 |
||
61 | 439 |
|
440 |
void MMCDismountedDialogConfirmed(); |
|
441 |
||
442 |
void EjectStarted( TBool ejectStarted ); |
|
443 |
||
444 |
void EjectMMCCanceled(); |
|
51 | 445 |
|
446 |
void HandleNspsRawKeyEventL(); |
|
447 |
||
448 |
void HandleNetworkNspsNotification( RMmCustomAPI::TNspsStatus aNspsStatus ); |
|
449 |
||
450 |
void HandleRawKeyEventLightsRequireL() const; |
|
451 |
||
452 |
void HandleSmsStorageNotificationL( TBool aSimStoreFull ); |
|
453 |
||
454 |
void UpdateSignalBarsL(); |
|
455 |
||
61 | 456 |
void ReleaseMemoryForMemoryCardDialog(); |
77 | 457 |
void StartChargingAnimationL(); |
458 |
void StopChargingAnimationL(); |
|
459 |
void StartChargingFullAnimationL(); |
|
51 | 460 |
|
46 | 461 |
private: |
462 |
/** |
|
463 |
* Frees SysAp's reserved memory, closes connections to servers etc. |
|
464 |
* @param None |
|
465 |
* @return void |
|
466 |
*/ |
|
467 |
void FreeResources(); |
|
468 |
TBool OkToInitiateShutdown(); |
|
0
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
469 |
|
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
470 |
|
46 | 471 |
void CompleteShutdown( const TBool aReset = EFalse, const TInt aResetReason = KDummyReason ); |
472 |
void PrepareForShutdownImage(); |
|
473 |
TInt ShowShutdownImage( TInt aBitmapId ); |
|
474 |
void ShowShutdownImageL( TInt aBitmapId ); |
|
475 |
TBool IhfEnabledL(); |
|
476 |
void DoSwStateNormalConstructionL(); |
|
477 |
static TInt DoCloseSimApplicationsAfterCallBack( TAny* aObject ); |
|
478 |
||
479 |
// from MSysApPsmControllerNotifyCallback |
|
480 |
void NotifyPowerSaveModeL( TSysApPsmStatus aStatus ); |
|
481 |
||
482 |
void HandleUsbCharger( const TInt aValue ); |
|
483 |
TBool IsStateNormal() const; |
|
484 |
void HandleAccessoryProfileInStartupL( ); |
|
485 |
||
486 |
CSysApCenRepLogsObserver& CSysApAppUi::LogsObserverL(); |
|
51 | 487 |
void ContinueShutdown(); |
61 | 488 |
|
489 |
#ifdef RD_MULTIPLE_DRIVE |
|
490 |
void UpdateInsertedMemoryCardsL(); |
|
491 |
#endif // RD_MULTIPLE_DRIVE |
|
46 | 492 |
|
493 |
private: |
|
494 |
CSysApLightsController* iSysApLightsController; |
|
495 |
CSysApFeatureManager* iSysApFeatureManager; |
|
496 |
CSysApNspsHandler* iSysApNspsHandler; |
|
77 | 497 |
CSysApPubSubObserver* iSysApPubSubObserver; |
46 | 498 |
CSysApDefaultKeyHandler* iSysApDefaultKeyHandler; |
499 |
CSysApStartupController* iSysApStartupController; |
|
500 |
MSysApOfflineModeController* iSysApOfflineModeController; |
|
501 |
RStarterSession iStarterSession; |
|
502 |
TSysApUsbChargerDetector iSysApUsbChargerDetector; |
|
503 |
CSysApAccessoryObserver* iSysApAccessoryObserver; |
|
504 |
CSysApShutdownImage* iSysApShutdownImage; |
|
51 | 505 |
CSysApShutdownAnimation* iSysApShutdownAnimation; |
46 | 506 |
CSysApKeySndHandler* iSysApKeySndHandler; |
507 |
CSysApCenRepController* iSysApCenRepController; |
|
508 |
CSysApCenRepLightSettingsObserver* iSysApCenRepLightSettingsObserver; |
|
509 |
CSysApCenRepBtObserver* iSysApCenRepBtObserver; |
|
510 |
CSysApCenRepHacSettingObserver* iSysApCenRepHacSettingObserver; |
|
77 | 511 |
CSysApCenRepSilentModeObserver* iSysApCenRepSilentModeObserver; |
46 | 512 |
|
513 |
CSysApAudioRoutingObserver* iSysApAudioRoutingObserver; |
|
514 |
CSysApPsmController* iSysApPsmController; |
|
77 | 515 |
CHbSymbianVariant* iVariantAccState ; |
46 | 516 |
CSystemLock* iSysApSystemLock; |
517 |
CSysApCenRepCallForwardingObserver* iSysApCenRepCallForwardingObserver; |
|
518 |
CSysApBatteryInfoController* iSysApBatteryInfoController; |
|
519 |
MSysApBtSapController* iSysApBtSapController; |
|
520 |
CPeriodic* iSapTimer; |
|
521 |
MSysApBtController* iSysApBtController; |
|
522 |
CSysApCenRepLogsObserver* iSysApCenRepLogsObserver; |
|
77 | 523 |
MSysApUsbIndicator* iSysApUsbIndicatorController; |
524 |
CKeyguardAccessApi* iKeyguardController; |
|
525 |
CHbDevicePowerMenuSymbian* iPowerMenuDialog; |
|
526 |
CSysApKeyManagement* iSysApKeyManagement; |
|
527 |
CSysApMMCObserver* iSysApMMCObserver; |
|
528 |
CSysApEtelConnector* iSysApEtelConnector; |
|
46 | 529 |
|
51 | 530 |
public: |
531 |
CHbIndicatorSymbian* iHbIndicatorSymbian; |
|
532 |
||
0
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
533 |
|
46 | 534 |
private: |
535 |
TBool iPowerKeyPopupMenuActive; |
|
0
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
536 |
TBool iDeviceLockEnabled; |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
537 |
TBool iKeyLockEnabled; |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
538 |
TBool iKeyLockOnBeforeCall; |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
539 |
TBool iKeyLockOnBeforeAlarm; |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
540 |
TBool iKeyLockOnBeforeCradle; |
46 | 541 |
TBool iResourcesFreed; |
542 |
TInt iCapturedEKeyPowerOff; |
|
543 |
TInt iCapturedEKeyPowerOffUpAndDowns; |
|
77 | 544 |
TInt iCapturedEKeySendKey; |
545 |
TInt iCapturedEKeyEndKey; |
|
546 |
||
46 | 547 |
TBool iOfflineModeActive; |
548 |
TBool iShutdownStarted; |
|
549 |
||
550 |
TBool iIgnoreNextPowerKeyUpEvent; // need to be added this flag in maliks client side apis. |
|
551 |
TBool iLastPowerKeyWasShort; |
|
552 |
TBool iPowerKeyPopupMenuDismissed; // need to be added this flag in malik implementation. |
|
553 |
TInt iKeyBoardRepeatCount; |
|
554 |
TBool iIgnoreNextPowerKeyRepeats; |
|
555 |
TInt iActiveProfileBeforeOfflineMode; |
|
556 |
||
0
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
557 |
TBool iSimChangedDone; |
46 | 558 |
TBool iIgnoreZeroNetworkBarNotifications; |
559 |
TInt iApplicationScanningRoundNumberInBtSap; |
|
560 |
TBool iTimeToKillInBtSap; |
|
561 |
TBool iShowkeypadActivatedNoteAfterSoftReject; |
|
562 |
TBool iCharging; // Indicates if charging is currently on |
|
563 |
TBool iEmergencyCallActive; |
|
564 |
TBool iCallActivated; // used in defining whether to show GPRS suspended note |
|
0
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
565 |
|
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
566 |
TBool iActivateBt; |
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
567 |
TBool iDeactivateBt; |
46 | 568 |
|
569 |
TBool iIgnoreAccessorySpecificProfileChanges; |
|
570 |
TBool iCheckLongPowerKeyEvent; |
|
51 | 571 |
TInt iCapturedAppskey; |
572 |
TInt iCapturedAppskeyUpAndDowns; |
|
573 |
TBool iShutdownContinued; |
|
574 |
TBool iNsps; |
|
0
2e3d3ce01487
Revision: 201002
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
575 |
|
61 | 576 |
|
577 |
//CPeriodic* iTimer; |
|
578 |
#ifndef RD_MULTIPLE_DRIVE |
|
579 |
TInt iPowerkeyMenuEjectSelection; |
|
580 |
#endif // RD_MULTIPLE_DRIVE |
|
581 |
||
582 |
#ifndef RD_MULTIPLE_DRIVE |
|
583 |
TBool iHideFirstBeep; |
|
584 |
#endif // RD_MULTIPLE_DRIVE |
|
585 |
||
586 |
#ifndef RD_MULTIPLE_DRIVE |
|
587 |
TBool iTimeToKill; // MMC Hot Swap |
|
588 |
TInt iApplicationScanningRoundNumber; // MMC Hot Swap |
|
589 |
#endif // RD_MULTIPLE_DRIVE |
|
590 |
||
591 |
#ifndef RD_MULTIPLE_DRIVE |
|
592 |
TBool iMMCPowerMenuEjectUsed; |
|
593 |
TBool iMMCInserted; |
|
594 |
#endif // RD_MULTIPLE_DRIVE |
|
595 |
||
596 |
#ifndef RD_MULTIPLE_DRIVE |
|
597 |
TBool iHideNextBeep; // Prevents double beep when USB file transfer gets activated |
|
598 |
TBool iFileManagerCloseDisabled; // Prevents File Manager to close on hotswap |
|
599 |
#endif // RD_MULTIPLE_DRIVE |
|
600 |
||
601 |
#ifdef RD_MULTIPLE_DRIVE |
|
602 |
// First power menu index used for eject |
|
603 |
TInt iPowerkeyMenuEjectSelectionBase; |
|
604 |
||
605 |
/** |
|
606 |
* Drive list container |
|
607 |
* Own. |
|
608 |
*/ |
|
609 |
CSysApDriveList* iSysApDriveList; |
|
610 |
||
611 |
/** |
|
612 |
* Drive unlock handler. |
|
613 |
* Own. |
|
614 |
*/ |
|
615 |
CSysApDriveUnlockHandler* iSysApDriveUnlockHandler; |
|
616 |
||
617 |
/** |
|
618 |
* Drive eject handler. |
|
619 |
* Own. |
|
620 |
*/ |
|
621 |
CSysApDriveEjectHandler* iSysApDriveEjectHandler; |
|
622 |
||
623 |
/** |
|
624 |
* Array for storing inserted memory cards. |
|
625 |
* Own. |
|
626 |
*/ |
|
627 |
RArray< CSysApDriveList::TMemoryCardEntry > iInsertedMemoryCards; |
|
628 |
||
629 |
// Stores drive for dismount query |
|
630 |
TInt iDriveToDismount; |
|
631 |
||
632 |
// Stores drive for eject query |
|
633 |
TInt iDriveToEject; |
|
634 |
#endif // RD_MULTIPLE_DRIVE |
|
635 |
||
636 |
TBool iMMCEjectUsed; |
|
637 |
CHbDeviceInputDialogSymbian* iMemCardPwdDialog; |
|
77 | 638 |
|
639 |
CSysApChargingAnimation *iChargingAnimation; |
|
46 | 640 |
}; |
641 |
||
642 |
#endif |