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