1 /* |
1 /* |
2 * Copyright (c) 2005 - 2007 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2005 - 2007 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of the License "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
8 * |
8 * |
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: |
14 * Description: |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 |
18 |
19 // INCLUDE FILES |
19 // INCLUDE FILES |
20 #include "DynamicSettingListApplication.h" |
20 #include "DynamicSettingListApplication.h" |
21 #if defined __SERIES60_3X__ |
|
22 #include <eikstart.h> |
21 #include <eikstart.h> |
23 #endif |
22 |
24 |
23 |
25 // Create an application, and return a pointer to it |
24 // Create an application, and return a pointer to it |
26 EXPORT_C CApaApplication* NewApplication() |
25 EXPORT_C CApaApplication* NewApplication() |
27 { |
26 { |
28 return (new CDynamicSettingListApplication); |
27 return (new CDynamicSettingListApplication); |
29 } |
28 } |
30 |
29 |
31 #if defined __SERIES60_3X__ |
|
32 // --------------------------------------------------------- |
30 // --------------------------------------------------------- |
33 // E32Main |
31 // E32Main |
34 // main function for Symbian OS v9 EXE application. |
32 // main function for Symbian OS v9 EXE application. |
35 // --------------------------------------------------------- |
33 // --------------------------------------------------------- |
36 // |
34 // |
37 GLDEF_C TInt E32Main() |
35 GLDEF_C TInt E32Main() |
38 { |
36 { |
39 return EikStart::RunApplication ( NewApplication ); |
37 return EikStart::RunApplication ( NewApplication ); |
40 } |
38 } |
41 |
39 |
42 #else // !(__SERIES60_30__) |
|
43 |
|
44 // --------------------------------------------------------- |
|
45 // E32Dll(TDllReason) |
|
46 // Entry point function for Symbian Apps |
|
47 // Returns: KErrNone: No error |
|
48 // --------------------------------------------------------- |
|
49 // |
|
50 GLDEF_C TInt E32Dll( TDllReason ) |
|
51 { |
|
52 return KErrNone; |
|
53 } |
|
54 |
|
55 #endif // (__SERIES60_30__) |
|