|
1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "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 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 |
|
17 |
|
18 #include "HWRMLightTestFappui.h" |
|
19 #include "HWRMLightTestFdocument.h" |
|
20 |
|
21 CHWRMLightTestFDocument* CHWRMLightTestFDocument::NewL(CEikApplication& aApp) |
|
22 { |
|
23 CHWRMLightTestFDocument* self = NewLC(aApp); |
|
24 CleanupStack::Pop(self); |
|
25 return self; |
|
26 } |
|
27 |
|
28 CHWRMLightTestFDocument* CHWRMLightTestFDocument::NewLC(CEikApplication& aApp) |
|
29 { |
|
30 CHWRMLightTestFDocument* self = new (ELeave) CHWRMLightTestFDocument(aApp); |
|
31 CleanupStack::PushL(self); |
|
32 self->ConstructL(); |
|
33 return self; |
|
34 } |
|
35 |
|
36 void CHWRMLightTestFDocument::ConstructL() |
|
37 { |
|
38 // No implementation required |
|
39 } |
|
40 |
|
41 CHWRMLightTestFDocument::CHWRMLightTestFDocument(CEikApplication& aApp) : CEikDocument(aApp) |
|
42 { |
|
43 // No implementation required |
|
44 } |
|
45 |
|
46 CHWRMLightTestFDocument::~CHWRMLightTestFDocument() |
|
47 { |
|
48 // No implementation required |
|
49 } |
|
50 |
|
51 CEikAppUi* CHWRMLightTestFDocument::CreateAppUiL() |
|
52 { |
|
53 // Create the application user interface, and return a pointer to it; |
|
54 // the framework takes ownership of this object |
|
55 return (static_cast <CEikAppUi*> (new (ELeave) CHWRMLightTestFAppUi)); |
|
56 } |
|
57 |