equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * This is the main driver of System Tone Service Tester. |
|
16 */ |
|
17 |
|
18 // Include Files |
|
19 #include "ststestermain.h" |
|
20 #include "ststester.h" |
|
21 |
|
22 // Global Functions |
|
23 GLDEF_C TInt E32Main() |
|
24 { |
|
25 __UHEAP_MARK; |
|
26 CActiveScheduler* scheduler = new CActiveScheduler; |
|
27 CTrapCleanup* cleanup = CTrapCleanup::New(); |
|
28 if( scheduler != NULL && cleanup != NULL ) |
|
29 { |
|
30 CActiveScheduler::Install( scheduler ); |
|
31 TRAP_IGNORE( CStsTester::ExecuteL() ); |
|
32 } |
|
33 delete cleanup; |
|
34 delete scheduler; |
|
35 __UHEAP_MARKEND; |
|
36 return KErrNone; |
|
37 } |
|