widgets/widgetapp/src/WidgetUiWindow.cpp
branchRCL_3
changeset 35 1f3c3f2f5b0a
parent 34 220a17280356
child 36 c711bdda59f4
equal deleted inserted replaced
34:220a17280356 35:1f3c3f2f5b0a
   806 
   806 
   807         // 2.1. deal with access point settings
   807         // 2.1. deal with access point settings
   808         TInt ask( 1 );
   808         TInt ask( 1 );
   809         TInt wmlId( KWmlNoDefaultAccessPoint );
   809         TInt wmlId( KWmlNoDefaultAccessPoint );
   810         TInt snapId( KWmlNoDefaultSnapId );
   810         TInt snapId( KWmlNoDefaultSnapId );
       
   811 #ifndef BRDO_OCC_ENABLED_FF
   811         CRepository* rep( NULL );
   812         CRepository* rep( NULL );
   812         TRAPD( cenrepError, rep = CRepository::NewL( KCRUidBrowser ) );
   813         TRAPD( cenrepError, rep = CRepository::NewL( KCRUidBrowser ) );
   813         if ( KErrNone == cenrepError )
   814         if ( KErrNone == cenrepError )
   814             {
   815             {
   815             (void)rep->Get( KBrowserAccessPointSelectionMode, ask );
   816             (void)rep->Get( KBrowserAccessPointSelectionMode, ask );
   816             (void)rep->Get( KBrowserDefaultAccessPoint, wmlId );
   817             (void)rep->Get( KBrowserDefaultAccessPoint, wmlId );
   817             (void)rep->Get( KBrowserNGDefaultSnapId, snapId );
   818             (void)rep->Get( KBrowserNGDefaultSnapId, snapId );
   818             }
   819             }
   819         delete rep;
   820         delete rep;
       
   821 #endif
   820         if ( ask == EBrowserCenRepApSelModeDestination &&
   822         if ( ask == EBrowserCenRepApSelModeDestination &&
   821            ( snapId != KWmlNoDefaultSnapId) )
   823            ( snapId != KWmlNoDefaultSnapId) )
   822             {
   824             {
   823             iWindowManager.GetConnection()->SetRequestedSnap( snapId );
   825             iWindowManager.GetConnection()->SetRequestedSnap( snapId );
   824             iWindowManager.GetConnection()->SetConnectionType( CMManager::EDestination );
   826             iWindowManager.GetConnection()->SetConnectionType( CMManager::EDestination );
   999                             EParamTransactionId,
  1001                             EParamTransactionId,
  1000                             aTypeArray,
  1002                             aTypeArray,
  1001                             aDesArray,
  1003                             aDesArray,
  1002                             paramFound );
  1004                             paramFound );
  1003 
  1005 
  1004     TLex lex(dlId);
  1006     if ( paramFound )
  1005     User::LeaveIfError(lex.Val(iDlId));
  1007         {
       
  1008         TLex lex(dlId);
       
  1009         User::LeaveIfError(lex.Val(iDlId));
       
  1010         }
  1006 
  1011 
  1007     TDataType dataType( *contentType8 );
  1012     TDataType dataType( *contentType8 );
  1008     CAiwGenericParamList* genericParamList =
  1013     CAiwGenericParamList* genericParamList =
  1009         BrCtlParamList2GenericParamListL( aTypeArray, aDesArray );
  1014         BrCtlParamList2GenericParamListL( aTypeArray, aDesArray );
  1010     CleanupStack::PushL( genericParamList );
  1015     CleanupStack::PushL( genericParamList );