equal
deleted
inserted
replaced
144 iProfileId = 0; |
144 iProfileId = 0; |
145 iProfileLockEnabled = EFalse; |
145 iProfileLockEnabled = EFalse; |
146 iToAppRef = HBufC8::NewL( 0 ); |
146 iToAppRef = HBufC8::NewL( 0 ); |
147 iNetwork = HBufC::NewL( 0 ); |
147 iNetwork = HBufC::NewL( 0 ); |
148 iSnapId = KErrNotFound; |
148 iSnapId = KErrNotFound; |
|
149 iBearerId = 0; |
149 SetSigQos( 40 ); |
150 SetSigQos( 40 ); |
150 DBG_PRINT( "CWPSIPItem::ConstructL - end" ); |
151 DBG_PRINT( "CWPSIPItem::ConstructL - end" ); |
151 } |
152 } |
152 |
153 |
153 // --------------------------------------------------------------------------- |
154 // --------------------------------------------------------------------------- |
1005 cSIPManagedProfile->SetParameter( KSIPProfileLocked, ETrue ); |
1006 cSIPManagedProfile->SetParameter( KSIPProfileLocked, ETrue ); |
1006 } |
1007 } |
1007 |
1008 |
1008 // Signalling QoS parameter. |
1009 // Signalling QoS parameter. |
1009 cSIPManagedProfile->SetParameter( KSIPSoIpTOS, iSigQos ); |
1010 cSIPManagedProfile->SetParameter( KSIPSoIpTOS, iSigQos ); |
1010 |
1011 |
|
1012 cSIPManagedProfile->SetParameter( KBearerType, iBearerId ); |
|
1013 |
1011 // Stores SIP profile to permanent storage |
1014 // Stores SIP profile to permanent storage |
1012 cSIPManagedProfileRegistry->SaveL( *cSIPManagedProfile ); |
1015 cSIPManagedProfileRegistry->SaveL( *cSIPManagedProfile ); |
1013 |
1016 |
1014 // get saved profile id |
1017 // get saved profile id |
1015 cSIPManagedProfile->GetParameter( KSIPProfileId, iProfileId ); |
1018 cSIPManagedProfile->GetParameter( KSIPProfileId, iProfileId ); |
1257 const TInt ipTosShift( 2 ); |
1260 const TInt ipTosShift( 2 ); |
1258 const TUint32 tosBits( aSigQos << ipTosShift ); |
1261 const TUint32 tosBits( aSigQos << ipTosShift ); |
1259 iSigQos = tosBits; |
1262 iSigQos = tosBits; |
1260 } |
1263 } |
1261 |
1264 |
|
1265 |
|
1266 void CWPSIPItem::SetBearerID(TUint32 aBearerId) |
|
1267 { |
|
1268 iBearerId = aBearerId; |
|
1269 } |
|
1270 |
|
1271 TUint32 CWPSIPItem:: GetBearerID() |
|
1272 { |
|
1273 return iBearerId; |
|
1274 } |
1262 // End of file. |
1275 // End of file. |