equal
deleted
inserted
replaced
189 } |
189 } |
190 } |
190 } |
191 } |
191 } |
192 if( aParam == KSIPProfileId ) |
192 if( aParam == KSIPProfileId ) |
193 { |
193 { |
194 aVal = 1; |
194 aVal = ContextId(); |
195 } |
195 } |
196 return ret; |
196 return ret; |
197 } |
197 } |
198 |
198 |
199 // ----------------------------------------------------------------------------- |
199 // ----------------------------------------------------------------------------- |
277 // ----------------------------------------------------------------------------- |
277 // ----------------------------------------------------------------------------- |
278 // CSIPProfile::CSIPProfile |
278 // CSIPProfile::CSIPProfile |
279 // ----------------------------------------------------------------------------- |
279 // ----------------------------------------------------------------------------- |
280 // |
280 // |
281 CSIPProfile::CSIPProfile(): |
281 CSIPProfile::CSIPProfile(): |
282 iEnabled(EFalse) |
282 iEnabled(EFalse), iContextId(1) |
283 { |
283 { |
284 } |
284 } |
285 |
285 |
286 // ----------------------------------------------------------------------------- |
286 // ----------------------------------------------------------------------------- |
287 // CSIPProfile::ConstructL |
287 // CSIPProfile::ConstructL |
305 // |
305 // |
306 TBool CSIPProfile::IsContextActive() const |
306 TBool CSIPProfile::IsContextActive() const |
307 { |
307 { |
308 return ETrue; |
308 return ETrue; |
309 } |
309 } |
|
310 |
|
311 void CSIPProfile::SetContextId(TInt aContextId) |
|
312 { |
|
313 iContextId = aContextId; |
|
314 } |
310 |
315 |
311 // ----------------------------------------------------------------------------- |
316 // ----------------------------------------------------------------------------- |
312 // CSIPProfile::ContextId |
317 // CSIPProfile::ContextId |
313 // ----------------------------------------------------------------------------- |
318 // ----------------------------------------------------------------------------- |
314 // |
319 // |
315 TUint32 CSIPProfile::ContextId() const |
320 TUint32 CSIPProfile::ContextId() const |
316 { |
321 { |
317 return 1; |
322 return iContextId; |
318 } |
323 } |
319 |
324 |
320 // ----------------------------------------------------------------------------- |
325 // ----------------------------------------------------------------------------- |
321 // CSIPProfile::SetParam |
326 // CSIPProfile::SetParam |
322 // ----------------------------------------------------------------------------- |
327 // ----------------------------------------------------------------------------- |