widgets/widgetapp/src/WidgetUiWindowManager.cpp
changeset 42 d39add9822e2
parent 38 6297cdf66332
child 59 1f3c3f2f5b0a
child 65 5bfc169077b2
--- a/widgets/widgetapp/src/WidgetUiWindowManager.cpp	Mon Jan 18 21:20:18 2010 +0200
+++ b/widgets/widgetapp/src/WidgetUiWindowManager.cpp	Tue Feb 02 00:56:45 2010 +0200
@@ -46,6 +46,10 @@
 #include <oommonitorsession.h>
 #include <aknglobalnote.h>
 
+#ifdef BRDO_OCC_ENABLED_FF
+#include <extendedconnpref.h>
+#endif
+
 // LOCAL FUNCTION PROTOTYPES
 TInt doDestructOOMNotifyTimer( TAny* ptr );
 TInt doNotifyHarvester( TAny* ptr );
@@ -169,7 +173,12 @@
     iHandler = CDocumentHandler::NewL(CEikonEnv::Static()->Process());
 
     iDb = CActiveApDb::NewL( EDatabaseTypeIAP );
+    #ifdef BRDO_OCC_ENABLED_FF
+    iConnection = CInternetConnectionManager::NewL( iDb->Database(), ETrue );
+    #else
     iConnection = CInternetConnectionManager::NewL( iDb->Database(), EFalse );
+    #endif
+    
 #ifdef BRDO_WRT_HS_FF    
     iCpsPublisher = CCpsPublisher::NewL();
 #endif
@@ -248,7 +257,7 @@
     wdgt_window->SetWindowStateMiniViewL( EMiniViewEnabled );
 
     // TODO also other states are possible when we should react?
-
+    
     // Removing . Miniview, shall remove full view as well. For blanket permissions
     // will be revoked for miniview