equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2004-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". |
353 content = new (ELeave) TContentData; |
353 content = new (ELeave) TContentData; |
354 |
354 |
355 content->iContentID = NULL; |
355 content->iContentID = NULL; |
356 content->iEventType = eventType; |
356 content->iEventType = eventType; |
357 |
357 |
|
358 CleanupStack::PushL( content ); |
358 iContentIDList.AppendL ( content ); |
359 iContentIDList.AppendL ( content ); |
|
360 CleanupStack::Pop( content ); |
359 |
361 |
360 aMessage.Complete( KErrNone ); |
362 aMessage.Complete( KErrNone ); |
361 } |
363 } |
362 |
364 |
363 // ----------------------------------------------------------------------------- |
365 // ----------------------------------------------------------------------------- |
421 content = new (ELeave) TContentData; |
423 content = new (ELeave) TContentData; |
422 |
424 |
423 content->iContentID = contentID; |
425 content->iContentID = contentID; |
424 content->iEventType = eventType; |
426 content->iEventType = eventType; |
425 |
427 |
|
428 CleanupStack::PushL( content ); |
426 iContentIDList.AppendL ( content ); |
429 iContentIDList.AppendL ( content ); |
|
430 CleanupStack::Pop( content ); |
427 |
431 |
428 CleanupStack::Pop(); |
432 CleanupStack::Pop(); |
429 aMessage.Complete( KErrNone ); |
433 aMessage.Complete( KErrNone ); |
430 } |
434 } |
431 |
435 |