equal
deleted
inserted
replaced
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of the License "Eclipse Public License v1.0" |
4 // under the terms of the License "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
1503 TInt E32Main() |
1503 TInt E32Main() |
1504 /** |
1504 /** |
1505 Create cleanup stack, initialise memory checks and run the tests. |
1505 Create cleanup stack, initialise memory checks and run the tests. |
1506 */ |
1506 */ |
1507 { |
1507 { |
|
1508 COMPLETE_POST_BOOT_SYSTEM_TASKS(); |
1508 CTrapCleanup* cleanup = CTrapCleanup::New(); |
1509 CTrapCleanup* cleanup = CTrapCleanup::New(); |
1509 if (!cleanup) |
1510 if (!cleanup) |
1510 { |
1511 { |
1511 return KErrNoMemory; |
1512 return KErrNoMemory; |
1512 } |
1513 } |