equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2000-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 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 * HelloWorld_CExampleDocument.cpp |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #include "HelloWorld.h" |
|
21 |
|
22 // The constructor of the document class just passes the |
|
23 // supplied reference to the constructor initialisation list. |
|
24 // The document has no real work to do in this application. |
|
25 // |
|
26 CExampleDocument::CExampleDocument(CEikApplication& aApp) |
|
27 : CEikDocument(aApp) |
|
28 { |
|
29 } |
|
30 |
|
31 |
|
32 // This is called by the UI framework as soon as the |
|
33 // document has been created. It creates an instance |
|
34 // of the ApplicationUI. The Application UI class is |
|
35 // an instance of a CEikAppUi derived class. |
|
36 // |
|
37 CEikAppUi* CExampleDocument::CreateAppUiL() |
|
38 { |
|
39 return new(ELeave) CExampleAppUi; |
|
40 } |