equal
deleted
inserted
replaced
50 MSRPLOG("CMSRP.. Dtor"); |
50 MSRPLOG("CMSRP.. Dtor"); |
51 if(NULL!=iMSRPImpl) |
51 if(NULL!=iMSRPImpl) |
52 delete iMSRPImpl; |
52 delete iMSRPImpl; |
53 } |
53 } |
54 |
54 |
55 EXPORT_C CMSRPSession* CMSRP::CreateMSRPSessionL( MMSRPSessionObserver& aObserver, |
55 EXPORT_C CMSRPSession* CMSRP::CreateMSRPSessionL( |
56 const TUint aIapId ) |
56 MMSRPSessionObserver& aObserver, |
|
57 const TUint aIapId, |
|
58 const TDesC8& aSessionId ) |
57 { |
59 { |
58 // Creates and Returns a MSRP Session. |
60 // Creates and Returns a MSRP Session. |
59 // No paramers are taken at this stage. Primarily because |
61 // No paramers are taken at this stage. Primarily because |
60 // this is the first step the MSRP user is expected to do before |
62 // this is the first step the MSRP user is expected to do before |
61 // SDP negotiation. |
63 // SDP negotiation. |
62 // At this stage the user expects to get the session-id, |
64 // At this stage the user expects to get the session-id, |
63 // avaible trasport etc. |
65 // avaible trasport etc. |
64 |
66 |
65 MSRPLOG("CMSRP.. Create MSRP session"); |
67 MSRPLOG("CMSRP.. Create MSRP session"); |
66 |
68 |
67 return iMSRPImpl->CreateMSRPSessionL( aObserver, aIapId ); |
69 return iMSRPImpl->CreateMSRPSessionL( aObserver, aIapId, aSessionId ); |
68 } |
70 } |
69 |
71 |
70 EXPORT_C void CMSRP::CloseMSRPSession( CMSRPSession* aMsrpSession ) |
72 EXPORT_C void CMSRP::CloseMSRPSession( CMSRPSession* aMsrpSession ) |
71 { |
73 { |
72 |
74 |