|
1 /* |
|
2 * Copyright (c) 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: This module contains the implementation of CIAUpdateLauncherDocument class |
|
15 * member functions. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 // INCLUDE FILES |
|
22 #include "iaupdatelauncherappui.h" |
|
23 #include "iaupdatelauncherdocument.h" |
|
24 |
|
25 // ============================ MEMBER FUNCTIONS =============================== |
|
26 |
|
27 // ----------------------------------------------------------------------------- |
|
28 // CIAUpdateLauncherDocument::NewL() |
|
29 // Two-phased constructor. |
|
30 // ----------------------------------------------------------------------------- |
|
31 // |
|
32 CIAUpdateLauncherDocument* CIAUpdateLauncherDocument::NewL( CEikApplication& aApp ) |
|
33 { |
|
34 CIAUpdateLauncherDocument* self = NewLC( aApp ); |
|
35 CleanupStack::Pop( self ); |
|
36 return self; |
|
37 } |
|
38 |
|
39 // ----------------------------------------------------------------------------- |
|
40 // CIAUpdateLauncherDocument::NewLC() |
|
41 // Two-phased constructor. |
|
42 // ----------------------------------------------------------------------------- |
|
43 // |
|
44 CIAUpdateLauncherDocument* CIAUpdateLauncherDocument::NewLC( CEikApplication& aApp ) |
|
45 { |
|
46 CIAUpdateLauncherDocument* self = |
|
47 new ( ELeave ) CIAUpdateLauncherDocument( aApp ); |
|
48 |
|
49 CleanupStack::PushL( self ); |
|
50 self->ConstructL(); |
|
51 return self; |
|
52 } |
|
53 |
|
54 // ----------------------------------------------------------------------------- |
|
55 // CIAUpdateLauncherDocument::ConstructL() |
|
56 // Symbian 2nd phase constructor can leave. |
|
57 // ----------------------------------------------------------------------------- |
|
58 // |
|
59 void CIAUpdateLauncherDocument::ConstructL() |
|
60 { |
|
61 // No implementation required |
|
62 } |
|
63 |
|
64 // ----------------------------------------------------------------------------- |
|
65 // CIAUpdateLauncherDocument::CIAUpdateLauncherDocument() |
|
66 // C++ default constructor can NOT contain any code, that might leave. |
|
67 // ----------------------------------------------------------------------------- |
|
68 // |
|
69 CIAUpdateLauncherDocument::CIAUpdateLauncherDocument( CEikApplication& aApp ) |
|
70 : CAknDocument( aApp ) |
|
71 { |
|
72 // No implementation required |
|
73 } |
|
74 |
|
75 // --------------------------------------------------------------------------- |
|
76 // CIAUpdateLauncherDocument::~CIAUpdateLauncherDocument() |
|
77 // Destructor. |
|
78 // --------------------------------------------------------------------------- |
|
79 // |
|
80 CIAUpdateLauncherDocument::~CIAUpdateLauncherDocument() |
|
81 { |
|
82 // No implementation required |
|
83 } |
|
84 |
|
85 // --------------------------------------------------------------------------- |
|
86 // CIAUpdateLauncherDocument::CreateAppUiL() |
|
87 // Constructs CreateAppUi. |
|
88 // --------------------------------------------------------------------------- |
|
89 // |
|
90 CEikAppUi* CIAUpdateLauncherDocument::CreateAppUiL() |
|
91 { |
|
92 // Create the application user interface, and return a pointer to it; |
|
93 // the framework takes ownership of this object |
|
94 return ( static_cast <CEikAppUi*> ( new ( ELeave ) CIAUpdateLauncherAppUi ) ); |
|
95 } |
|
96 |
|
97 // End of File |
|
98 |