1 /* |
|
2 * Copyright (c) 2002-2005 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 #include "aiwtestappdocument.h" |
|
21 #include "aiwtestappappui.h" |
|
22 |
|
23 // ================= MEMBER FUNCTIONS ======================= |
|
24 |
|
25 // ----------------------------------------------------------------------------- |
|
26 // CAiwTestDocument::CAiwTestDocument(CEikApplication& aApp) |
|
27 // C++ default constructor can NOT contain any code, that |
|
28 // might leave. |
|
29 // ----------------------------------------------------------------------------- |
|
30 // |
|
31 CAiwTestDocument::CAiwTestDocument(CEikApplication& aApp) |
|
32 : CAknDocument(aApp) |
|
33 { |
|
34 } |
|
35 |
|
36 // ----------------------------------------------------------------------------- |
|
37 // CAiwTestDocument::~CAiwTestDocument() |
|
38 // Destructor. |
|
39 // ----------------------------------------------------------------------------- |
|
40 // |
|
41 CAiwTestDocument::~CAiwTestDocument() |
|
42 { |
|
43 } |
|
44 |
|
45 // ----------------------------------------------------------------------------- |
|
46 // CAiwTestDocument::ConstructL() |
|
47 // Symbian 2nd phase constructor can leave. |
|
48 // ----------------------------------------------------------------------------- |
|
49 // |
|
50 void CAiwTestDocument::ConstructL() |
|
51 { |
|
52 } |
|
53 |
|
54 // ----------------------------------------------------------------------------- |
|
55 // CAiwTestDocument::NewL(CEikApplication& aApp) |
|
56 // Two-phased constructor. |
|
57 // ----------------------------------------------------------------------------- |
|
58 // |
|
59 CAiwTestDocument* CAiwTestDocument::NewL(CEikApplication& aApp) // CAiwTestApp reference |
|
60 { |
|
61 CAiwTestDocument* self = new (ELeave) CAiwTestDocument( aApp ); |
|
62 CleanupStack::PushL( self ); |
|
63 self->ConstructL(); |
|
64 CleanupStack::Pop(); |
|
65 return self; |
|
66 } |
|
67 |
|
68 // ---------------------------------------------------- |
|
69 // CAiwTestDocument::CreateAppUiL() |
|
70 // Constructs CAiwTestAppUi. |
|
71 // ---------------------------------------------------- |
|
72 // |
|
73 CEikAppUi* CAiwTestDocument::CreateAppUiL() |
|
74 { |
|
75 return new (ELeave) CAiwTestAppUi; |
|
76 } |
|
77 |
|
78 // End of File |
|