|
1 /* |
|
2 * Copyright (c) 2007 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: App class for Events Handler Application UI. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // SYSTEM INCLUDES |
|
20 #include <eikstart.h> |
|
21 |
|
22 // USER INCLUDES |
|
23 #include "evthandlerapp.h" |
|
24 #include "evthandlerappdocument.h" |
|
25 #include "evthandlerappuid.hrh" |
|
26 |
|
27 // ------------------------ Local Functions ---------------------------------- |
|
28 |
|
29 // --------------------------------------------------------------------------- |
|
30 // CApaApplication* NewApplication |
|
31 // --------------------------------------------------------------------------- |
|
32 // |
|
33 LOCAL_C CApaApplication* NewApplication() |
|
34 { |
|
35 return new CEvtHandlerApp; |
|
36 } |
|
37 |
|
38 // ----------------- Member funtions for CEvtHandlerApp----------------------- |
|
39 |
|
40 // --------------------------------------------------------------------------- |
|
41 // TUid CEvtHandlerApp::AppDllUid |
|
42 // --------------------------------------------------------------------------- |
|
43 // |
|
44 TUid CEvtHandlerApp::AppDllUid() const |
|
45 { |
|
46 return TUid::Uid( KEvtHandlerAppUid ); |
|
47 } |
|
48 |
|
49 // --------------------------------------------------------------------------- |
|
50 // CApaDocument* CEvtHandlerApp::CreateDocumentL |
|
51 // --------------------------------------------------------------------------- |
|
52 // |
|
53 CApaDocument* CEvtHandlerApp::CreateDocumentL() |
|
54 { |
|
55 return CEvtHandlerAppDocument::NewL( *this ); |
|
56 } |
|
57 |
|
58 // ------------------------ Global Functions ---------------------------------- |
|
59 |
|
60 // --------------------------------------------------------------------------- |
|
61 // TInt E32Main |
|
62 // --------------------------------------------------------------------------- |
|
63 // |
|
64 GLDEF_C TInt E32Main() |
|
65 { |
|
66 return EikStart::RunApplication( NewApplication ); |
|
67 } |
|
68 |
|
69 // End of File |
|
70 |