diff -r a5ac35ca6d81 -r 91f50911ea81 multimediacommsengine/mmcesrv/mmceserver/tsrc/ut_server/stubs/src/sipprofile.cpp --- a/multimediacommsengine/mmcesrv/mmceserver/tsrc/ut_server/stubs/src/sipprofile.cpp Tue May 11 16:34:40 2010 +0300 +++ b/multimediacommsengine/mmcesrv/mmceserver/tsrc/ut_server/stubs/src/sipprofile.cpp Tue May 25 13:07:26 2010 +0300 @@ -191,7 +191,7 @@ } if( aParam == KSIPProfileId ) { - aVal = 1; + aVal = ContextId(); } return ret; } @@ -279,7 +279,7 @@ // ----------------------------------------------------------------------------- // CSIPProfile::CSIPProfile(): - iEnabled(EFalse) + iEnabled(EFalse), iContextId(1) { } @@ -307,6 +307,11 @@ { return ETrue; } + +void CSIPProfile::SetContextId(TInt aContextId) + { + iContextId = aContextId; + } // ----------------------------------------------------------------------------- // CSIPProfile::ContextId @@ -314,7 +319,7 @@ // TUint32 CSIPProfile::ContextId() const { - return 1; + return iContextId; } // -----------------------------------------------------------------------------