equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2009 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: This module contains the implementation of application |
|
15 * main function. |
|
16 * |
|
17 */ |
|
18 |
|
19 // INCLUDE FILES |
|
20 #include <eikstart.h> |
|
21 #include "UITestServerStarterAppUi.h" |
|
22 #include "UITestServerStarterApplication.h" |
|
23 #include <eikenv.h> |
|
24 |
|
25 // EXTERNAL DATA STRUCTURES |
|
26 // None |
|
27 |
|
28 // EXTERNAL FUNCTION PROTOTYPES |
|
29 // None |
|
30 |
|
31 // CONSTANTS |
|
32 // None |
|
33 |
|
34 // MACROS |
|
35 // None |
|
36 |
|
37 // LOCAL CONSTANTS AND MACROS |
|
38 // None |
|
39 |
|
40 // MODULE DATA STRUCTURES |
|
41 // None |
|
42 |
|
43 // LOCAL FUNCTION PROTOTYPES |
|
44 // None |
|
45 |
|
46 // FORWARD DECLARATIONS |
|
47 // None |
|
48 |
|
49 /** |
|
50 * Application factory function. |
|
51 */ |
|
52 LOCAL_C CApaApplication* NewApplication() |
|
53 { |
|
54 return new CUITestServerStarterApplication; |
|
55 } |
|
56 |
|
57 // ================= MEMBER FUNCTIONS ========================================= |
|
58 /** |
|
59 * Application main function. |
|
60 */ |
|
61 GLDEF_C TInt E32Main() |
|
62 { |
|
63 |
|
64 RDebug::Printf( "UITESTING: UITestServerStarter - E32Main" ); |
|
65 |
|
66 TInt ret = EikStart::RunApplication( NewApplication ); |
|
67 |
|
68 RDebug::Printf( "UITESTING: UITestServerStarter - E32Main End" ); |
|
69 |
|
70 return ret; |
|
71 } |
|
72 |
|
73 // End of File |
|