|
1 /* |
|
2 * Copyright (c) 2007 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 |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "bctesttemplatedocument.h" |
|
20 #include "bctesttemplateappui.h" |
|
21 |
|
22 |
|
23 // ================= MEMBER FUNCTIONS ======================================== |
|
24 |
|
25 // --------------------------------------------------------------------------- |
|
26 // CBCTestTemplateDocument* CBCTestTemplateDocument::NewL( CEikApplication& ) |
|
27 // Symbian OS two-phased constructor. |
|
28 // --------------------------------------------------------------------------- |
|
29 // |
|
30 CBCTestTemplateDocument* CBCTestTemplateDocument::NewL( |
|
31 CEikApplication& aApp ) |
|
32 { |
|
33 CBCTestTemplateDocument* self = |
|
34 new( ELeave ) CBCTestTemplateDocument( aApp ); |
|
35 return self; |
|
36 } |
|
37 |
|
38 // --------------------------------------------------------------------------- |
|
39 // CBCTestTemplateDocument::~CBCTestTemplateDocument() |
|
40 // Destructor. |
|
41 // --------------------------------------------------------------------------- |
|
42 // |
|
43 CBCTestTemplateDocument::~CBCTestTemplateDocument() |
|
44 { |
|
45 } |
|
46 |
|
47 // --------------------------------------------------------------------------- |
|
48 // CBCTestTemplateDocument::CBCTestTemplateDocument( CEikApplication& ) |
|
49 // Overload constructor. |
|
50 // --------------------------------------------------------------------------- |
|
51 // |
|
52 CBCTestTemplateDocument::CBCTestTemplateDocument( CEikApplication& aApp ) |
|
53 : CEikDocument( aApp ) |
|
54 { |
|
55 } |
|
56 |
|
57 // --------------------------------------------------------------------------- |
|
58 // CEikAppUi* CBCTestTemplateDocument::CreateAppUiL() |
|
59 // Constructs CBCTestVolumeAppUi. |
|
60 // --------------------------------------------------------------------------- |
|
61 // |
|
62 CEikAppUi* CBCTestTemplateDocument::CreateAppUiL() |
|
63 { |
|
64 return new( ELeave ) CBCTestTemplateAppUi; |
|
65 } |
|
66 |
|
67 // End of File |