equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2003-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
306 HBufC* url16( NULL ); |
306 HBufC* url16( NULL ); |
307 HBufC* fullName( NULL ); |
307 HBufC* fullName( NULL ); |
308 TUint32 drmScheme( EDrmSchemeUnknownDrm ); |
308 TUint32 drmScheme( EDrmSchemeUnknownDrm ); |
309 params = new( ELeave )CArrayFixFlat<TPtrC>( sizeof( TPtrC ) ); |
309 params = new( ELeave )CArrayFixFlat<TPtrC>( sizeof( TPtrC ) ); |
310 CleanupStack::PushL( params ); |
310 CleanupStack::PushL( params ); |
311 |
311 TChar ch; |
|
312 |
|
313 aLex.Mark(); |
312 while ( !aLex.Eos() ) // Extract the parameters |
314 while ( !aLex.Eos() ) // Extract the parameters |
313 { |
315 { |
314 params->AppendL( aLex.NextToken() ); |
316 ch = aLex.Get(); |
|
317 if ( ch == '\x00' ) { |
|
318 aLex.UnGet(); |
|
319 params->AppendL( aLex.MarkedToken() ); |
|
320 aLex.Get(); |
|
321 aLex.Mark(); |
|
322 } |
315 } |
323 } |
316 |
324 |
317 TInt startParam = KMaxTInt; |
325 TInt startParam = KMaxTInt; |
318 |
326 |
319 // Parse the DRM Rights Manager launch parameter string. First parameter |
327 // Parse the DRM Rights Manager launch parameter string. First parameter |