|
1 /* |
|
2 * Copyright (c) 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 "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 * Name : SatelliteReferenceApp |
|
21 * Part of : Satellite Reference App |
|
22 * ============================================================================ |
|
23 */ |
|
24 |
|
25 // INCLUDE FILES |
|
26 #include "SatelliteReferenceApp.h" |
|
27 #include "SatelliteReferenceDocument.h" |
|
28 #include <eikstart.h> |
|
29 |
|
30 // ================= OTHER EXPORTED FUNCTIONS ============== |
|
31 // |
|
32 // --------------------------------------------------------- |
|
33 // NewApplication() |
|
34 // Constructs CSatelliteReferenceApp |
|
35 // Returns: created application object |
|
36 // --------------------------------------------------------- |
|
37 // |
|
38 EXPORT_C CApaApplication* NewApplication() |
|
39 { |
|
40 return new CSatelliteReferenceApp; |
|
41 } |
|
42 |
|
43 // ================= MEMBER FUNCTIONS ======================= |
|
44 |
|
45 // --------------------------------------------------------- |
|
46 // CSatelliteReferenceApp::AppDllUid() |
|
47 // Returns application UID |
|
48 // --------------------------------------------------------- |
|
49 // |
|
50 TUid CSatelliteReferenceApp::AppDllUid() const |
|
51 { |
|
52 return KUidSatelliteReferenceApp; |
|
53 } |
|
54 |
|
55 |
|
56 GLDEF_C TInt E32Main() |
|
57 { |
|
58 return EikStart::RunApplication( NewApplication ); |
|
59 } |
|
60 |
|
61 // --------------------------------------------------------- |
|
62 // CSatelliteReferenceApp::CreateDocumentL() |
|
63 // Creates SatelliteReferenceDocument object |
|
64 // --------------------------------------------------------- |
|
65 // |
|
66 CApaDocument* CSatelliteReferenceApp::CreateDocumentL() |
|
67 { |
|
68 return CSatelliteReferenceDocument::NewL( *this ); |
|
69 } |
|
70 |
|
71 |
|
72 |
|
73 // End of File |
|
74 |