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