webservices/wshttpchanneltransportplugin/src/senhttpchannelimpl.cpp
changeset 1 272b002df977
parent 0 62f9d29f7211
child 2 150a13bad6af
equal deleted inserted replaced
0:62f9d29f7211 1:272b002df977
   417         User::LeaveIfError( aConnection.Open(aSocketServer) ); 
   417         User::LeaveIfError( aConnection.Open(aSocketServer) ); 
   418         }
   418         }
   419         
   419         
   420     // Set the IAP selection preferences (IAP ID, do not prompt)
   420     // Set the IAP selection preferences (IAP ID, do not prompt)
   421     /*
   421     /*
   422     /*Single click connectivity feature has been implemented by CSock (RConnection class).
   422     *Single click connectivity feature has been implemented by CSock (RConnection class).
   423     /*According to this client no need to set the IAP ID. 
   423     *According to this client no need to set the IAP ID. 
   424     /*Automatically RConnection will use the suitable IAP
   424     *Automatically RConnection will use the suitable IAP
   425     */
   425     */
   426     
   426     
   427 
   427 
   428 	    TCommDbConnPref pref;
   428 	    TCommDbConnPref pref;
   429     #ifndef __SINGLE_CLICK_CONNECTIVITY_ENABLED__	    
   429     #ifndef __SINGLE_CLICK_CONNECTIVITY_ENABLED__	    
   466                                                 
   466                                                 
   467     // Remember the IAP id that is being set, because *at the moment*,
   467     // Remember the IAP id that is being set, because *at the moment*,
   468     // there is NO direct API to query effective IAP ID from CommsDB.
   468     // there is NO direct API to query effective IAP ID from CommsDB.
   469     if (!retVal)
   469     if (!retVal)
   470         {
   470         {
   471         iExplicitIapDefined = ETrue;
   471         #ifdef __SINGLE_CLICK_CONNECTIVITY_ENABLED__
   472         iIapId = aIapId;
   472         	//Since we are using by default setIapId "0".
       
   473         	//There won't be any explicitly defined Iap Id
       
   474         	iExplicitIapDefined = EFalse;
       
   475         	iIapId = 0;
       
   476 				#else        	
       
   477         	iExplicitIapDefined = ETrue;
       
   478         	iIapId = aIapId;
       
   479         #endif //__SINGLE_CLICK_CONNECTIVITY_ENABLED__
   473         }
   480         }
   474     return retVal;
   481     return retVal;
   475     }
   482     }
   476 TInt CSenHttpChannelImpl::SetSnapPrefsL( TUint32 aSnapId, TBool aDialogPref, RConnection& aConnection, RSocketServ& aSocketServer )
   483 TInt CSenHttpChannelImpl::SetSnapPrefsL( TUint32 aSnapId, TBool aDialogPref, RConnection& aConnection, RSocketServ& aSocketServer )
   477     {
   484     {