|
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 : SatelliteReferenceDocument |
|
21 * Part of : Satellite Reference App |
|
22 * ============================================================================ |
|
23 */ |
|
24 |
|
25 // INCLUDE FILES |
|
26 #include "SatelliteReferenceDocument.h" |
|
27 #include "SatelliteReferenceAppUi.h" |
|
28 |
|
29 // ================= MEMBER FUNCTIONS ======================= |
|
30 |
|
31 // --------------------------------------------------------- |
|
32 // CSatelliteReferenceDocument::CSatelliteReferenceDocument() |
|
33 // constructor |
|
34 // --------------------------------------------------------- |
|
35 // |
|
36 CSatelliteReferenceDocument::CSatelliteReferenceDocument(CEikApplication& aApp) |
|
37 : CAknDocument(aApp) |
|
38 { |
|
39 } |
|
40 |
|
41 // --------------------------------------------------------- |
|
42 // CSatelliteReferenceDocument::~CSatelliteReferenceDocument() |
|
43 // destructor |
|
44 // --------------------------------------------------------- |
|
45 // |
|
46 CSatelliteReferenceDocument::~CSatelliteReferenceDocument() |
|
47 { |
|
48 } |
|
49 |
|
50 |
|
51 // --------------------------------------------------------- |
|
52 // CSatelliteReferenceDocument::ConstructL() |
|
53 // EPOC default constructor can leave. |
|
54 // --------------------------------------------------------- |
|
55 // |
|
56 void CSatelliteReferenceDocument::ConstructL() |
|
57 { |
|
58 } |
|
59 |
|
60 |
|
61 // --------------------------------------------------------- |
|
62 // CSatelliteReferenceDocument::NewL() |
|
63 // Two-phased constructor. |
|
64 // --------------------------------------------------------- |
|
65 // |
|
66 CSatelliteReferenceDocument* CSatelliteReferenceDocument::NewL( |
|
67 CEikApplication& aApp) // SatelliteReferenceApp reference |
|
68 { |
|
69 CSatelliteReferenceDocument* self = new (ELeave) CSatelliteReferenceDocument( aApp ); |
|
70 CleanupStack::PushL( self ); |
|
71 self->ConstructL(); |
|
72 CleanupStack::Pop(); |
|
73 return self; |
|
74 } |
|
75 |
|
76 // ---------------------------------------------------- |
|
77 // CSatelliteReferenceDocument::CreateAppUiL() |
|
78 // constructs SatelliteReference |
|
79 // ---------------------------------------------------- |
|
80 // |
|
81 CEikAppUi* CSatelliteReferenceDocument::CreateAppUiL() |
|
82 { |
|
83 return new (ELeave) CSatelliteReferenceAppUi; |
|
84 } |
|
85 |
|
86 // End of File |