|
1 /* |
|
2 * Copyright (c) 2006 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 the License "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 #include "WidgetPreInstaller.h" |
|
20 #include "WidgetPreInstallerDocument.h" |
|
21 |
|
22 // EXTERNAL DATA STRUCTURES |
|
23 |
|
24 // EXTERNAL FUNCTION PROTOTYPES |
|
25 |
|
26 // CONSTANTS |
|
27 |
|
28 // MACROS |
|
29 |
|
30 // LOCAL CONSTANTS AND MACROS |
|
31 |
|
32 // MODULE DATA STRUCTURES |
|
33 |
|
34 // LOCAL FUNCTION PROTOTYPES |
|
35 |
|
36 // FORWARD DECLARATIONS |
|
37 |
|
38 // ============================= LOCAL FUNCTIONS =============================== |
|
39 |
|
40 |
|
41 // ============================ MEMBER FUNCTIONS =============================== |
|
42 |
|
43 // --------------------------------------------------------- |
|
44 // CWidgetPreInstallerDocument::CWidgetPreInstallerDocument |
|
45 // Constructor |
|
46 // |
|
47 // --------------------------------------------------------- |
|
48 // |
|
49 CWidgetPreInstallerDocument::CWidgetPreInstallerDocument( |
|
50 CEikApplication& aApp ) |
|
51 : CAknDocument( aApp ) |
|
52 { |
|
53 } |
|
54 |
|
55 // --------------------------------------------------------- |
|
56 // CWidgetPreInstallerDocument::~CWidgetPreInstallerDocument |
|
57 // Destructor |
|
58 // |
|
59 // --------------------------------------------------------- |
|
60 // |
|
61 CWidgetPreInstallerDocument::~CWidgetPreInstallerDocument() |
|
62 { |
|
63 } |
|
64 |
|
65 // --------------------------------------------------------- |
|
66 // CWidgetPreInstallerDocument::ConstructL |
|
67 // Symbian constructor |
|
68 // |
|
69 // --------------------------------------------------------- |
|
70 // |
|
71 void CWidgetPreInstallerDocument::ConstructL() |
|
72 { |
|
73 } |
|
74 |
|
75 // --------------------------------------------------------- |
|
76 // CWidgetPreInstallerDocument::NewL |
|
77 // Two-phase constructor |
|
78 // |
|
79 // --------------------------------------------------------- |
|
80 // |
|
81 CWidgetPreInstallerDocument* CWidgetPreInstallerDocument::NewL( |
|
82 CEikApplication& aApp ) |
|
83 { |
|
84 CWidgetPreInstallerDocument* self = new ( ELeave ) CWidgetPreInstallerDocument( aApp ); |
|
85 CleanupStack::PushL( self ); |
|
86 self->ConstructL(); |
|
87 CleanupStack::Pop(); |
|
88 |
|
89 return self; |
|
90 } |
|
91 |
|
92 // ---------------------------------------------------- |
|
93 // CWidgetPreInstallerDocument::CreateAppUiL() |
|
94 // constructs Application |
|
95 // |
|
96 // ---------------------------------------------------- |
|
97 // |
|
98 CEikAppUi* CWidgetPreInstallerDocument::CreateAppUiL() |
|
99 { |
|
100 return new ( ELeave ) CWidgetPreInstaller; |
|
101 } |
|
102 |
|
103 // End of File |