equal
deleted
inserted
replaced
|
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 for vcommand app |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 #include "vcdocument.h" |
|
21 #include "vcappui.h" |
|
22 |
|
23 |
|
24 // ================= MEMBER FUNCTIONS ======================= |
|
25 |
|
26 // constructor |
|
27 CVCDocument::CVCDocument(CEikApplication& aApp) |
|
28 : CAknDocument(aApp) |
|
29 { |
|
30 } |
|
31 |
|
32 // destructor |
|
33 CVCDocument::~CVCDocument() |
|
34 { |
|
35 } |
|
36 |
|
37 // Default constructor can leave. |
|
38 void CVCDocument::ConstructL() |
|
39 { |
|
40 } |
|
41 |
|
42 // Two-phased constructor. |
|
43 CVCDocument* CVCDocument::NewL( |
|
44 CEikApplication& aApp) // CVCommandApp reference |
|
45 { |
|
46 CVCDocument* self = new (ELeave) CVCDocument( aApp ); |
|
47 CleanupStack::PushL( self ); |
|
48 self->ConstructL(); |
|
49 CleanupStack::Pop( self ); |
|
50 |
|
51 return self; |
|
52 } |
|
53 |
|
54 // ---------------------------------------------------- |
|
55 // CVCDocument::CreateAppUiL() |
|
56 // constructs CVCAppUi |
|
57 // ---------------------------------------------------- |
|
58 // |
|
59 CEikAppUi* CVCDocument::CreateAppUiL() |
|
60 { |
|
61 return new (ELeave) CVCAppUi; |
|
62 } |
|
63 |
|
64 |
|
65 |
|
66 // End of File |