equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 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 "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 |
|
20 #include "LauncherAppUi.h" |
|
21 #include "LauncherDocument.h" |
|
22 |
|
23 |
|
24 // Standard Symbian OS construction sequence |
|
25 CLauncherDocument* CLauncherDocument::NewL(CEikApplication& aApp) |
|
26 { |
|
27 CLauncherDocument* self = NewLC(aApp); |
|
28 CleanupStack::Pop(self); |
|
29 return self; |
|
30 } |
|
31 |
|
32 CLauncherDocument* CLauncherDocument::NewLC(CEikApplication& aApp) |
|
33 { |
|
34 CLauncherDocument* self = new (ELeave) CLauncherDocument(aApp); |
|
35 CleanupStack::PushL(self); |
|
36 self->ConstructL(); |
|
37 return self; |
|
38 } |
|
39 |
|
40 void CLauncherDocument::ConstructL() |
|
41 { |
|
42 // Add any construction that can leave here |
|
43 } |
|
44 |
|
45 CLauncherDocument::CLauncherDocument(CEikApplication& aApp) : CAknDocument(aApp) |
|
46 { |
|
47 // Add any construction that can not leave here |
|
48 } |
|
49 |
|
50 CLauncherDocument::~CLauncherDocument() |
|
51 { |
|
52 // Any destruction code here |
|
53 } |
|
54 |
|
55 CEikAppUi* CLauncherDocument::CreateAppUiL() |
|
56 { |
|
57 // Create the application user interface, and return a pointer to it |
|
58 CEikAppUi* appUi = new (ELeave) CLauncherAppUi; |
|
59 return appUi; |
|
60 } |
|
61 |