|
1 /* |
|
2 * Copyright (c) 2007-2007 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 the License "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 "testappmnguiAppUi.h" |
|
20 #include "testappmnguiDocument.h" |
|
21 |
|
22 // Standard Symbian OS construction sequence |
|
23 CtestappmnguiDocument* CtestappmnguiDocument::NewL(CEikApplication& aApp) |
|
24 { |
|
25 CtestappmnguiDocument* self = NewLC(aApp); |
|
26 CleanupStack::Pop(self); |
|
27 return self; |
|
28 } |
|
29 |
|
30 CtestappmnguiDocument* CtestappmnguiDocument::NewLC(CEikApplication& aApp) |
|
31 { |
|
32 CtestappmnguiDocument* self = new (ELeave) CtestappmnguiDocument(aApp); |
|
33 CleanupStack::PushL(self); |
|
34 self->ConstructL(); |
|
35 return self; |
|
36 } |
|
37 |
|
38 void CtestappmnguiDocument::ConstructL() |
|
39 { |
|
40 // no implementation required |
|
41 } |
|
42 |
|
43 CtestappmnguiDocument::CtestappmnguiDocument(CEikApplication& aApp) : CAknDocument(aApp) |
|
44 { |
|
45 // no implementation required |
|
46 } |
|
47 |
|
48 CtestappmnguiDocument::~CtestappmnguiDocument() |
|
49 { |
|
50 // no implementation required |
|
51 } |
|
52 |
|
53 CEikAppUi* CtestappmnguiDocument::CreateAppUiL() |
|
54 { |
|
55 // Create the application user interface, and return a pointer to it, |
|
56 // the framework takes ownership of this object |
|
57 CEikAppUi* appUi = new (ELeave) CtestappmnguiAppUi; |
|
58 return appUi; |
|
59 } |
|
60 |