equal
deleted
inserted
replaced
|
1 // Copyright (c) 2001-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 // This file contains the implementation for the class defined in |
|
15 // MsgUrlHandlerApp.h |
|
16 // |
|
17 // |
|
18 |
|
19 /** |
|
20 @file |
|
21 @see MsgUrlHandlerApp.h |
|
22 */ |
|
23 |
|
24 #include "MsgUrlHandlerApp.H" |
|
25 |
|
26 // The constructor of the document class just passes the |
|
27 // supplied reference to the constructor initialisation list. |
|
28 // The document has no real work to do in this application. |
|
29 // |
|
30 |
|
31 CMsgUrlHandlerDocument* CMsgUrlHandlerDocument::NewL(CEikApplication& aApp) |
|
32 { |
|
33 CMsgUrlHandlerDocument* self = new (ELeave) CMsgUrlHandlerDocument(aApp); |
|
34 return self; |
|
35 } |
|
36 |
|
37 CMsgUrlHandlerDocument::CMsgUrlHandlerDocument(CEikApplication& aApp) |
|
38 : CEikDocument(aApp) |
|
39 { |
|
40 } |
|
41 |
|
42 // This is called by the UI framework as soon as the |
|
43 // document has been created. It creates an instance |
|
44 // of the ApplicationUI. The Application UI class is |
|
45 // an instance of a CEikAppUi derived class. |
|
46 // |
|
47 CEikAppUi* CMsgUrlHandlerDocument::CreateAppUiL() |
|
48 { |
|
49 return new (ELeave) CMsgUrlHandlerAppUi; |
|
50 } |