1 /* |
|
2 * Copyright (c) 2004 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: Implementation of the CVtUiDoc document class. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 // INCLUDE FILES |
|
21 #include "CVtUiDoc.h" |
|
22 #include "CVtUiAppUi.h" |
|
23 #include <apgwgnam.h> |
|
24 |
|
25 // ============================ MEMBER FUNCTIONS =============================== |
|
26 |
|
27 // ----------------------------------------------------------------------------- |
|
28 // CVtUiDoc::CVtUiDoc |
|
29 // C++ constructor can NOT contain any code, that |
|
30 // might leave. |
|
31 // ----------------------------------------------------------------------------- |
|
32 // |
|
33 CVtUiDoc::CVtUiDoc( CEikApplication& aApp ) |
|
34 : CAknDocument( aApp ) |
|
35 { |
|
36 } |
|
37 |
|
38 // ----------------------------------------------------------------------------- |
|
39 // CVtUiDoc::CreateAppUiL |
|
40 // Creates application UI instance. |
|
41 // ----------------------------------------------------------------------------- |
|
42 // |
|
43 CEikAppUi* CVtUiDoc::CreateAppUiL() |
|
44 { |
|
45 return new ( ELeave ) CVtUiAppUi; |
|
46 } |
|
47 |
|
48 // ----------------------------------------------------------------------------- |
|
49 // CVtUiDoc::UpdateTaskNameL |
|
50 // Creates application UI instance. |
|
51 // ----------------------------------------------------------------------------- |
|
52 // |
|
53 void CVtUiDoc::UpdateTaskNameL( CApaWindowGroupName* aWgName ) |
|
54 { |
|
55 CAknDocument::UpdateTaskNameL( aWgName ); |
|
56 aWgName->SetHidden( ETrue ); |
|
57 } |
|
58 |
|
59 // End of File |
|