equal
deleted
inserted
replaced
|
1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #include "ResourceHandler.h" |
|
17 #ifdef TV |
|
18 #include <eikstart.h> |
|
19 #endif |
|
20 |
|
21 // The entry point for the application code. It creates |
|
22 // an instance of the CApaApplication derived |
|
23 // class, CResourceApplication. |
|
24 // |
|
25 |
|
26 |
|
27 #ifdef UIQ |
|
28 EXPORT_C CApaApplication* NewApplication() |
|
29 { |
|
30 return new CResourceApplication; |
|
31 } |
|
32 |
|
33 // This function is required by all EPOC32 DLLs. In this |
|
34 // Resource, it does nothing. |
|
35 // |
|
36 GLDEF_C TInt E32Dll(TDllReason) |
|
37 { |
|
38 return KErrNone; |
|
39 } |
|
40 #endif |
|
41 |
|
42 #ifdef TV |
|
43 LOCAL_C CApaApplication* NewApplication() |
|
44 { |
|
45 return new CResourceApplication; |
|
46 } |
|
47 |
|
48 GLDEF_C TInt E32Main() |
|
49 { |
|
50 return EikStart::RunApplication(NewApplication); |
|
51 } |
|
52 |
|
53 #endif |