|
1 /* |
|
2 * Copyright (c) 2008 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 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "AlfExStickersApplication.h" |
|
20 #include <eikstart.h> |
|
21 |
|
22 #ifdef __UI_FRAMEWORKS_V2__ |
|
23 |
|
24 // Create an application, and return a pointer to it |
|
25 CApaApplication* NewApplication() |
|
26 { |
|
27 return new CAlfExStickersApplication; |
|
28 } |
|
29 |
|
30 |
|
31 TInt E32Main() |
|
32 { |
|
33 return EikStart::RunApplication(NewApplication); |
|
34 |
|
35 } |
|
36 |
|
37 // The following is required for wins on EKA1 (using the exedll target) |
|
38 |
|
39 #if defined(__WINS__) && !defined(EKA2) |
|
40 EXPORT_C TInt WinsMain(TDesC* aCmdLine) |
|
41 { |
|
42 return EikStart::RunApplication(NewApplication, aCmdLine); |
|
43 } |
|
44 |
|
45 TInt E32Dll(TDllReason) |
|
46 { |
|
47 return KErrNone; |
|
48 } |
|
49 #endif |
|
50 |
|
51 #else // __UI_FRAMEWORKS_V2__ |
|
52 |
|
53 // Create an application, and return a pointer to it |
|
54 EXPORT_C CApaApplication* NewApplication() |
|
55 { |
|
56 return new CAlfExStickersApplication; |
|
57 } |
|
58 |
|
59 // DLL entry point, return that everything is ok |
|
60 GLDEF_C TInt E32Dll(TDllReason) |
|
61 { |
|
62 return KErrNone; |
|
63 } |
|
64 |
|
65 #endif // __UI_FRAMEWORKS_V2__ |
|
66 |