|
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 "WidgetUiDocument.h" |
|
20 #include "WidgetUiAppUi.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 // CWidgetUiDocument::CWidgetUiDocument |
|
45 // Constructor |
|
46 // |
|
47 // --------------------------------------------------------- |
|
48 // |
|
49 CWidgetUiDocument::CWidgetUiDocument( |
|
50 CEikApplication& aApp ) |
|
51 : CAknDocument( aApp ) |
|
52 { |
|
53 } |
|
54 |
|
55 // --------------------------------------------------------- |
|
56 // CWidgetUiDocument::~CWidgetUiDocument |
|
57 // Destructor |
|
58 // |
|
59 // --------------------------------------------------------- |
|
60 // |
|
61 CWidgetUiDocument::~CWidgetUiDocument() |
|
62 { |
|
63 } |
|
64 |
|
65 // --------------------------------------------------------- |
|
66 // CWidgetUiDocument::NewL |
|
67 // Two-phase constructor |
|
68 // |
|
69 // --------------------------------------------------------- |
|
70 // |
|
71 CWidgetUiDocument* CWidgetUiDocument::NewL( |
|
72 CEikApplication& aApp ) |
|
73 { |
|
74 CWidgetUiDocument* self = new ( ELeave ) CWidgetUiDocument( aApp ); |
|
75 return self; |
|
76 } |
|
77 |
|
78 // ---------------------------------------------------- |
|
79 // CWidgetUiDocument::CreateAppUiL() |
|
80 // constructs CBrCtlDemoAppUi |
|
81 // |
|
82 // ---------------------------------------------------- |
|
83 // |
|
84 CEikAppUi* CWidgetUiDocument::CreateAppUiL() |
|
85 { |
|
86 return new ( ELeave ) CWidgetUiAppUi; |
|
87 } |
|
88 |
|
89 // End of File |