|
1 /* |
|
2 * Copyright (c) 2008-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: Implementation of the entry point for the Analog Dialer.* |
|
15 */ |
|
16 |
|
17 |
|
18 |
|
19 #include <eikstart.h> |
|
20 |
|
21 #include "alfexanalogdialerapplication.h" |
|
22 |
|
23 #ifdef __UI_FRAMEWORKS_V2__ |
|
24 |
|
25 // --------------------------------------------------------------------------- |
|
26 // NewApplication |
|
27 // Creates the application class object and returns pointer to it |
|
28 // --------------------------------------------------------------------------- |
|
29 // |
|
30 CApaApplication* NewApplication() |
|
31 { |
|
32 return new CAlfExAnalogDialerApplication; |
|
33 } |
|
34 |
|
35 // --------------------------------------------------------------------------- |
|
36 // E32Main |
|
37 // Entry point for this application (executable) file. Function pointer |
|
38 // to function creating the CAlfExAnalogDialerApplication objects is given |
|
39 // --------------------------------------------------------------------------- |
|
40 // |
|
41 TInt E32Main() |
|
42 { |
|
43 return EikStart::RunApplication(NewApplication); |
|
44 |
|
45 } |
|
46 |
|
47 #else // __UI_FRAMEWORKS_V2__ |
|
48 |
|
49 // Create an application, and return a pointer to it |
|
50 EXPORT_C CApaApplication* NewApplication() |
|
51 { |
|
52 return new CAlfExAnalogDialerApplication; |
|
53 } |
|
54 |
|
55 // DLL entry point, return that everything is ok |
|
56 GLDEF_C TInt E32Dll(TDllReason) |
|
57 { |
|
58 return KErrNone; |
|
59 } |
|
60 |
|
61 #endif // __UI_FRAMEWORKS_V2__ |
|
62 |