|
1 /* |
|
2 * Copyright (c) 2005-2006 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: Simulation PSY Configuration UI application class definition. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include <eikstart.h> |
|
20 #include "simpsyuiapp.h" |
|
21 #include "simpsyuidocument.h" |
|
22 |
|
23 // --------------------------------------------------------- |
|
24 // CSimPsyUiApplication::CSimPsyUiApplication |
|
25 // --------------------------------------------------------- |
|
26 // |
|
27 CSimPsyUiApplication::CSimPsyUiApplication() |
|
28 { |
|
29 } |
|
30 |
|
31 // --------------------------------------------------------- |
|
32 // CApaDocument* CSimPsyUiApplication::CreateDocumentL |
|
33 // --------------------------------------------------------- |
|
34 // |
|
35 CApaDocument* CSimPsyUiApplication::CreateDocumentL() |
|
36 { |
|
37 return new (ELeave) CSimPsyUiAppDocument(*this); |
|
38 } |
|
39 |
|
40 // --------------------------------------------------------- |
|
41 // LOCAL_C CApaApplication* NewApplication |
|
42 // --------------------------------------------------------- |
|
43 // |
|
44 LOCAL_C CApaApplication* NewApplication() |
|
45 { |
|
46 return new CSimPsyUiApplication(); |
|
47 } |
|
48 |
|
49 // --------------------------------------------------------- |
|
50 // GLDEF_C TInt E32Main |
|
51 // --------------------------------------------------------- |
|
52 // |
|
53 GLDEF_C TInt E32Main() |
|
54 { |
|
55 RDebug::Print(_L("SimPsyUiApplication::E32Main\n")); |
|
56 return EikStart::RunApplication(NewApplication); |
|
57 } |
|
58 |
|
59 |