equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2002 - 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. |
20 |
20 |
21 // INCLUDE FILES |
21 // INCLUDE FILES |
22 #include "MyViewApp.h" |
22 #include "MyViewApp.h" |
23 #include "MyViewDocument.h" |
23 #include "MyViewDocument.h" |
24 |
24 |
25 #ifdef __SERIES60_3X__ |
25 #include <eikstart.h> |
26 #include <eikstart.h> |
26 |
27 #endif |
|
28 |
27 |
29 // ================= MEMBER FUNCTIONS ======================= |
28 // ================= MEMBER FUNCTIONS ======================= |
30 |
29 |
31 // --------------------------------------------------------- |
30 // --------------------------------------------------------- |
32 // CMyViewApp::AppDllUid() |
31 // CMyViewApp::AppDllUid() |
61 { |
60 { |
62 return new CMyViewApp; |
61 return new CMyViewApp; |
63 } |
62 } |
64 |
63 |
65 |
64 |
66 #ifdef __SERIES60_3X__ //////////// 3rd Ed |
|
67 |
65 |
68 // ----------------------------------------------------------------------------- |
66 // ----------------------------------------------------------------------------- |
69 // Entry point function for Symbian Apps (3rd Edition) |
67 // Entry point function for Symbian Apps (3rd Edition) |
70 // Returns: System Wide error codes or KErrNone if all goes well |
68 // Returns: System Wide error codes or KErrNone if all goes well |
71 // ----------------------------------------------------------------------------- |
69 // ----------------------------------------------------------------------------- |
72 GLDEF_C TInt E32Main() |
70 GLDEF_C TInt E32Main() |
73 { |
71 { |
74 return EikStart::RunApplication( NewApplication ); |
72 return EikStart::RunApplication( NewApplication ); |
75 } |
73 } |
76 |
74 |
77 #else /////////// 2nd Ed |
|
78 |
|
79 |
|
80 // --------------------------------------------------------- |
|
81 // E32Dll(TDllReason) |
|
82 // Entry point function for EPOC Apps |
|
83 // Returns: KErrNone: No error |
|
84 // --------------------------------------------------------- |
|
85 // |
|
86 GLDEF_C TInt E32Dll( TDllReason ) |
|
87 { |
|
88 return KErrNone; |
|
89 } |
|
90 |
|
91 #endif |
|
92 |
|
93 |
75 |
94 // End of File |
76 // End of File |
95 |
77 |