diff -r 1221b68b8a5f -r 1481bf457703 wmdrm/camese/wmdrmdlaapp/src/wmdrmdlaappservicesession.cpp --- a/wmdrm/camese/wmdrmdlaapp/src/wmdrmdlaappservicesession.cpp Tue Aug 31 15:29:38 2010 +0300 +++ b/wmdrm/camese/wmdrmdlaapp/src/wmdrmdlaappservicesession.cpp Wed Sep 01 12:21:16 2010 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -121,6 +121,8 @@ } aMessage.ReadL( 0, iapPckg ); + BrowserView()->SetIAP( iap ); + CompleteMessage( aMessage, KErrNone ); } @@ -157,6 +159,12 @@ ptr8.Set( postContentBoundary->Des() ); aMessage.ReadL( 3, ptr8 ); + BrowserView()->PostL( this, + *postUrl, + *postContentType, + *postData, + *postContentBoundary ); + CleanupStack::PopAndDestroy( 4, postUrl ); //postContentBoundary, postData, //postContentType, postUrl @@ -179,7 +187,16 @@ { TInt err( KErrNone ); + HBufC8* licenseResponse( BrowserView()->LicenseResponse() ); + if ( licenseResponse ) + { + TInt licenseSize( licenseResponse->Size() ); + aMessage.WriteL( 0, TPckg( licenseSize ) ); + } + else + { err = KErrArgument; + } CompleteMessage( aMessage, err ); } @@ -192,8 +209,16 @@ { TInt err( KErrNone ); + HBufC8* licenseResponse( BrowserView()->LicenseResponse() ); + if ( licenseResponse ) + { + aMessage.WriteL( 0, *licenseResponse ); + } + else + { err = KErrArgument; - + } + CompleteMessage( aMessage, err ); }