multimediacommsengine/mmcesrv/mmceserver/tsrc/ut_server/stubs/src/sipprofileregistrybase.cpp
branchRCL_3
changeset 18 91f50911ea81
parent 0 1bce908db942
equal deleted inserted replaced
17:a5ac35ca6d81 18:91f50911ea81
    50 			 RPointerArray<CSIPProfile>& aProfiles)
    50 			 RPointerArray<CSIPProfile>& aProfiles)
    51 	{
    51 	{
    52 	// stubs
    52 	// stubs
    53 	CSIPProfileRegistry* reg = (CSIPProfileRegistry*) this;
    53 	CSIPProfileRegistry* reg = (CSIPProfileRegistry*) this;
    54 	CSIPProfile* profile = CSIPProfile::NewLC(reg);
    54 	CSIPProfile* profile = CSIPProfile::NewLC(reg);
       
    55 	CSIPProfile* profile2 = CSIPProfile::NewLC(reg);
       
    56 	profile2->SetContextId(2);
    55 	
    57 	
    56 	aProfiles.AppendL ( profile  );
    58 	aProfiles.AppendL ( profile  );
    57 	
    59 	aProfiles.AppendL ( profile2  );
       
    60 	
       
    61 	CleanupStack::Pop( profile2 );
    58 	CleanupStack::Pop( profile );
    62 	CleanupStack::Pop( profile );
    59 
    63 
    60 	
    64 	
    61 	}
    65 	}
    62 	
    66 	
    70 	{
    74 	{
    71 		// stubs
    75 		// stubs
    72 	CSIPProfileRegistry* reg = (CSIPProfileRegistry*) this;
    76 	CSIPProfileRegistry* reg = (CSIPProfileRegistry*) this;
    73 	
    77 	
    74 	CSIPProfile* profile = CSIPProfile::NewLC( reg );
    78 	CSIPProfile* profile = CSIPProfile::NewLC( reg );
       
    79 	CSIPProfile* profile2 = CSIPProfile::NewLC(reg);
       
    80 	profile2->SetContextId(2);
    75 	aProfiles.AppendL ( profile  );
    81 	aProfiles.AppendL ( profile  );
    76 
    82 	aProfiles.AppendL ( profile2  );
       
    83 
       
    84 	CleanupStack::Pop( profile2 );
    77 	CleanupStack::Pop( profile );
    85 	CleanupStack::Pop( profile );
    78 	
    86 	
    79 	}
    87 	}
    80 
    88 
    81 // -----------------------------------------------------------------------------
    89 // -----------------------------------------------------------------------------