equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 1997-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 the License "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 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #include "Tgb18030.h" |
|
21 |
|
22 // The entry point for the application code. It creates |
|
23 // an instance of the CApaApplication derived |
|
24 // class, CTgb18030Application. |
|
25 // |
|
26 |
|
27 #if defined(EKA2) |
|
28 |
|
29 #include <eikstart.h> |
|
30 LOCAL_C CApaApplication* NewApplication() |
|
31 { |
|
32 return new CTgb18030Application; |
|
33 } |
|
34 |
|
35 GLDEF_C TInt E32Main() |
|
36 { |
|
37 return EikStart::RunApplication(NewApplication); |
|
38 } |
|
39 |
|
40 #endif |
|
41 |
|
42 #if defined(__WINS__) && !defined(EKA2) |
|
43 |
|
44 |
|
45 EXPORT_C CApaApplication* NewApplication() |
|
46 { |
|
47 return new CTgb18030Application; |
|
48 } |
|
49 |
|
50 GLDEF_C TInt E32Dll(TDllReason) |
|
51 { |
|
52 return KErrNone; |
|
53 } |
|
54 |
|
55 EXPORT_C TInt WinsMain(TDesC* aCmdLine) |
|
56 { |
|
57 return EikStart::RunApplication(NewApplication, aCmdLine); |
|
58 } |
|
59 |
|
60 #endif |