|
1 /* |
|
2 * Copyright (c) 2009 Symbian Foundation Ltd |
|
3 * This component and the accompanying materials are made available |
|
4 * under the terms of the License "Eclipse Public License v1.0" |
|
5 * which accompanies this distribution, and is available |
|
6 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 * |
|
8 * Initial Contributors: |
|
9 * Symbian Foundation Ltd - initial contribution. |
|
10 * |
|
11 * Contributors: |
|
12 * |
|
13 * Description: |
|
14 * Implementation of CTigerDocument class |
|
15 */ |
|
16 |
|
17 |
|
18 // INCLUDE FILES |
|
19 #include "TigerDocument.h" |
|
20 #include "TigerAppUi.h" |
|
21 |
|
22 // ================= MEMBER FUNCTIONS ======================= |
|
23 |
|
24 // ----------------------------------------------------------------------------- |
|
25 // CTigerDocument::CTigerDocument |
|
26 // |
|
27 // Just calls the base class constructor. |
|
28 // ----------------------------------------------------------------------------- |
|
29 // |
|
30 |
|
31 CTigerDocument::CTigerDocument(CEikApplication& aApp) |
|
32 : CAknDocument(aApp) |
|
33 { |
|
34 } |
|
35 |
|
36 // ----------------------------------------------------------------------------- |
|
37 // CTigerDocument::~CTigerDocument |
|
38 // |
|
39 // Empty destructor. |
|
40 // ----------------------------------------------------------------------------- |
|
41 // |
|
42 |
|
43 CTigerDocument::~CTigerDocument() |
|
44 { |
|
45 } |
|
46 |
|
47 // ----------------------------------------------------------------------------- |
|
48 // CTigerDocument::ConstructL |
|
49 // |
|
50 // Empty 2nd phase constructor. |
|
51 // ----------------------------------------------------------------------------- |
|
52 // |
|
53 |
|
54 void CTigerDocument::ConstructL() |
|
55 { |
|
56 } |
|
57 |
|
58 // ----------------------------------------------------------------------------- |
|
59 // CTigerDocument::NewL |
|
60 // |
|
61 // ----------------------------------------------------------------------------- |
|
62 // |
|
63 |
|
64 CTigerDocument* CTigerDocument::NewL( |
|
65 CEikApplication& aApp) // CTigerApp reference |
|
66 { |
|
67 CTigerDocument* self = new (ELeave) CTigerDocument( aApp ); |
|
68 CleanupStack::PushL( self ); |
|
69 self->ConstructL(); |
|
70 CleanupStack::Pop(); |
|
71 |
|
72 return self; |
|
73 } |
|
74 |
|
75 // ---------------------------------------------------- |
|
76 // CTigerDocument::CreateAppUiL() |
|
77 // Constructs and returns a CTigerAppUi object. |
|
78 // ---------------------------------------------------- |
|
79 // |
|
80 |
|
81 CEikAppUi* CTigerDocument::CreateAppUiL() |
|
82 { |
|
83 return new (ELeave) CTigerAppUi; |
|
84 } |
|
85 |
|
86 // End of File |