|
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 // This file contains the implementation for the class defined in |
|
15 // TestMsgUrlHandlerApp.h |
|
16 // |
|
17 // |
|
18 |
|
19 /** |
|
20 @file |
|
21 @see TestMsgUrlHandlerApp.h |
|
22 */ |
|
23 |
|
24 #include <eikstart.h> |
|
25 #include "TestMsgUrlHandlerApp.H" |
|
26 |
|
27 const TUid KTestUidMsgUrlHandlerApp = { 0X10008ACE }; |
|
28 |
|
29 // The function is called by the UI framework to ask for the |
|
30 // application's UID. |
|
31 |
|
32 TUid CTestMsgUrlHandlerApplication::AppDllUid() const |
|
33 { |
|
34 return KTestUidMsgUrlHandlerApp; |
|
35 } |
|
36 |
|
37 // This function is called by the UI framework at |
|
38 // application start-up. It creates an instance of the |
|
39 // document class. |
|
40 |
|
41 CApaDocument* CTestMsgUrlHandlerApplication::CreateDocumentL() |
|
42 { |
|
43 return CTestMsgUrlHandlerDocument::NewL(*this); |
|
44 } |
|
45 |
|
46 |
|
47 |
|
48 // The entry point for the application code. It creates |
|
49 // an instance of the CApaApplication derived |
|
50 // class, CMsgUrlHandlerApplication. |
|
51 // |
|
52 EXPORT_C |
|
53 CApaApplication* NewApplication() |
|
54 { |
|
55 return new CTestMsgUrlHandlerApplication; |
|
56 } |
|
57 |
|
58 |
|
59 GLDEF_C TInt E32Main() |
|
60 { |
|
61 return EikStart::RunApplication(NewApplication); |
|
62 } |
|
63 |
|
64 |