|
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 |
|
19 #include "HWRMLightTestBappui.h" |
|
20 #include "HWRMLightTestBdocument.h" |
|
21 |
|
22 CHWRMLightTestBDocument* CHWRMLightTestBDocument::NewL(CEikApplication& aApp) |
|
23 { |
|
24 CHWRMLightTestBDocument* self = NewLC(aApp); |
|
25 CleanupStack::Pop(self); |
|
26 return self; |
|
27 } |
|
28 |
|
29 CHWRMLightTestBDocument* CHWRMLightTestBDocument::NewLC(CEikApplication& aApp) |
|
30 { |
|
31 CHWRMLightTestBDocument* self = new (ELeave) CHWRMLightTestBDocument(aApp); |
|
32 CleanupStack::PushL(self); |
|
33 self->ConstructL(); |
|
34 return self; |
|
35 } |
|
36 |
|
37 void CHWRMLightTestBDocument::ConstructL() |
|
38 { |
|
39 // No implementation required |
|
40 } |
|
41 |
|
42 CHWRMLightTestBDocument::CHWRMLightTestBDocument(CEikApplication& aApp) : CEikDocument(aApp) |
|
43 { |
|
44 // No implementation required |
|
45 } |
|
46 |
|
47 CHWRMLightTestBDocument::~CHWRMLightTestBDocument() |
|
48 { |
|
49 // No implementation required |
|
50 } |
|
51 |
|
52 CEikAppUi* CHWRMLightTestBDocument::CreateAppUiL() |
|
53 { |
|
54 // Create the application user interface, and return a pointer to it; |
|
55 // the framework takes ownership of this object |
|
56 return (static_cast <CEikAppUi*> (new (ELeave) CHWRMLightTestBAppUi)); |
|
57 } |
|
58 |