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 "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: Document class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 |
|
21 #include <apgwgnam.h> |
|
22 |
|
23 #include "vcexecutorappdocument.h" |
|
24 #include "vcexecutorappui.h" |
|
25 |
|
26 // ================= MEMBER FUNCTIONS ======================= |
|
27 |
|
28 // ---------------------------------------------------------------------------- |
|
29 // CVCExecutorAppDocument::CVCExecutorAppDocument |
|
30 // Default constructor |
|
31 // ---------------------------------------------------------------------------- |
|
32 // |
|
33 CVCExecutorAppDocument::CVCExecutorAppDocument( CEikApplication& aApp ): |
|
34 CAknDocument( aApp ) |
|
35 { |
|
36 // Nothing |
|
37 } |
|
38 |
|
39 // ---------------------------------------------------------------------------- |
|
40 // CVCExecutorAppDocument::~CVCExecutorAppDocument() |
|
41 // Destructor |
|
42 // ---------------------------------------------------------------------------- |
|
43 // |
|
44 CVCExecutorAppDocument::~CVCExecutorAppDocument() |
|
45 { |
|
46 // Nothing |
|
47 } |
|
48 |
|
49 // ---------------------------------------------------------------------------- |
|
50 // CVCExecutorAppDocument::UpdateTaskNameL |
|
51 // Updates task name |
|
52 // ---------------------------------------------------------------------------- |
|
53 // |
|
54 void CVCExecutorAppDocument::UpdateTaskNameL( CApaWindowGroupName* aWgName ) |
|
55 { |
|
56 CAknDocument::UpdateTaskNameL( aWgName ); |
|
57 aWgName->SetHidden( ETrue ); |
|
58 } |
|
59 |
|
60 // ---------------------------------------------------------------------------- |
|
61 // CVCExecutorAppDocument::ConstructL() |
|
62 // Second phase constructor |
|
63 // ---------------------------------------------------------------------------- |
|
64 // |
|
65 void CVCExecutorAppDocument::ConstructL() |
|
66 { |
|
67 // Nothing |
|
68 } |
|
69 |
|
70 // ---------------------------------------------------------------------------- |
|
71 // CVCExecutorAppDocument::NewL |
|
72 // Symbian constructor |
|
73 // ---------------------------------------------------------------------------- |
|
74 // |
|
75 CVCExecutorAppDocument* CVCExecutorAppDocument::NewL( CEikApplication& aApp ) |
|
76 { |
|
77 CVCExecutorAppDocument* self = new (ELeave) CVCExecutorAppDocument( aApp ); |
|
78 CleanupStack::PushL( self ); |
|
79 self->ConstructL(); |
|
80 CleanupStack::Pop( self ); |
|
81 return self; |
|
82 } |
|
83 |
|
84 // ---------------------------------------------------- |
|
85 // CVCExecutorAppDocument::CreateAppUiL |
|
86 // Instantiates AppUi |
|
87 // ---------------------------------------------------- |
|
88 // |
|
89 CEikAppUi* CVCExecutorAppDocument::CreateAppUiL() |
|
90 { |
|
91 return new (ELeave) CVCExecutorAppUi; |
|
92 } |
|
93 |
|
94 // End of File |
|