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