equal
deleted
inserted
replaced
|
1 // Copyright (c) 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 #include "testlauncherappUi.h" |
|
18 #include "testlauncherdocument.h" |
|
19 |
|
20 |
|
21 CHelloWorldBasicDocument* CHelloWorldBasicDocument::NewL(CEikApplication& aApp) |
|
22 { |
|
23 CHelloWorldBasicDocument* self = NewLC(aApp); |
|
24 CleanupStack::Pop(self); |
|
25 return self; |
|
26 } |
|
27 |
|
28 CHelloWorldBasicDocument* CHelloWorldBasicDocument::NewLC(CEikApplication& aApp) |
|
29 { |
|
30 CHelloWorldBasicDocument* self = new (ELeave) CHelloWorldBasicDocument(aApp); |
|
31 CleanupStack::PushL(self); |
|
32 self->ConstructL(); |
|
33 return self; |
|
34 } |
|
35 |
|
36 void CHelloWorldBasicDocument::ConstructL() |
|
37 { |
|
38 // empty |
|
39 } |
|
40 |
|
41 CHelloWorldBasicDocument::CHelloWorldBasicDocument(CEikApplication& aApp) : CAknDocument(aApp) |
|
42 { |
|
43 // empty |
|
44 } |
|
45 |
|
46 CHelloWorldBasicDocument::~CHelloWorldBasicDocument() |
|
47 { |
|
48 // empty |
|
49 } |
|
50 |
|
51 CEikAppUi* CHelloWorldBasicDocument::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) CHelloWorldBasicAppUi); |
|
56 } |