equal
deleted
inserted
replaced
44 #include <internetconnectionmanager.h> |
44 #include <internetconnectionmanager.h> |
45 #include <ActiveApDb.h> |
45 #include <ActiveApDb.h> |
46 #include <oommonitorsession.h> |
46 #include <oommonitorsession.h> |
47 #include <aknglobalnote.h> |
47 #include <aknglobalnote.h> |
48 |
48 |
|
49 #ifdef BRDO_OCC_ENABLED_FF |
|
50 #include <extendedconnpref.h> |
|
51 #endif |
|
52 |
49 // LOCAL FUNCTION PROTOTYPES |
53 // LOCAL FUNCTION PROTOTYPES |
50 TInt doDestructOOMNotifyTimer( TAny* ptr ); |
54 TInt doDestructOOMNotifyTimer( TAny* ptr ); |
51 TInt doNotifyHarvester( TAny* ptr ); |
55 TInt doNotifyHarvester( TAny* ptr ); |
52 |
56 |
53 // CONSTANTS |
57 // CONSTANTS |
167 |
171 |
168 iDialogsProvider = CBrowserDialogsProvider::NewL( NULL ); |
172 iDialogsProvider = CBrowserDialogsProvider::NewL( NULL ); |
169 iHandler = CDocumentHandler::NewL(CEikonEnv::Static()->Process()); |
173 iHandler = CDocumentHandler::NewL(CEikonEnv::Static()->Process()); |
170 |
174 |
171 iDb = CActiveApDb::NewL( EDatabaseTypeIAP ); |
175 iDb = CActiveApDb::NewL( EDatabaseTypeIAP ); |
|
176 #ifdef BRDO_OCC_ENABLED_FF |
|
177 iConnection = CInternetConnectionManager::NewL( iDb->Database(), ETrue ); |
|
178 #else |
172 iConnection = CInternetConnectionManager::NewL( iDb->Database(), EFalse ); |
179 iConnection = CInternetConnectionManager::NewL( iDb->Database(), EFalse ); |
|
180 #endif |
|
181 |
173 #ifdef BRDO_WRT_HS_FF |
182 #ifdef BRDO_WRT_HS_FF |
174 iCpsPublisher = CCpsPublisher::NewL(); |
183 iCpsPublisher = CCpsPublisher::NewL(); |
175 #endif |
184 #endif |
176 |
185 |
177 iNetworkListener = CWidgetUiNetworkListener::NewL( *this ); |
186 iNetworkListener = CWidgetUiNetworkListener::NewL( *this ); |
246 if(!wdgt_window) |
255 if(!wdgt_window) |
247 return EFalse; |
256 return EFalse; |
248 wdgt_window->SetWindowStateMiniViewL( EMiniViewEnabled ); |
257 wdgt_window->SetWindowStateMiniViewL( EMiniViewEnabled ); |
249 |
258 |
250 // TODO also other states are possible when we should react? |
259 // TODO also other states are possible when we should react? |
251 |
260 |
252 // Removing . Miniview, shall remove full view as well. For blanket permissions |
261 // Removing . Miniview, shall remove full view as well. For blanket permissions |
253 // will be revoked for miniview |
262 // will be revoked for miniview |
254 |
263 |
255 iClientSession.SetBlanketPermissionL( aUid, EBlanketUnknown ); |
264 iClientSession.SetBlanketPermissionL( aUid, EBlanketUnknown ); |
256 iClientSession.SetMiniViewL( aUid, EFalse ); |
265 iClientSession.SetMiniViewL( aUid, EFalse ); |