|
1 /* |
|
2 * Copyright (c) 2002-2005 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: Provides Psln Application class methods. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 #include <eikstart.h> |
|
21 |
|
22 #include "PslnApplication.h" |
|
23 #include "PslnDocument.h" |
|
24 #include "PslnConst.h" |
|
25 |
|
26 // ============================ MEMBER FUNCTIONS =============================== |
|
27 |
|
28 // ----------------------------------------------------------------------------- |
|
29 // CPslnApplication::CreateDocumentL |
|
30 // ----------------------------------------------------------------------------- |
|
31 // |
|
32 CApaDocument* CPslnApplication::CreateDocumentL() |
|
33 { |
|
34 return CPslnDocument::NewL( *this ); |
|
35 } |
|
36 |
|
37 // ----------------------------------------------------------------------------- |
|
38 // CPslnApplication::AppDllUid |
|
39 // ----------------------------------------------------------------------------- |
|
40 // |
|
41 TUid CPslnApplication::AppDllUid() const |
|
42 { |
|
43 return KUidPsln; |
|
44 } |
|
45 |
|
46 // ========================== OTHER EXPORTED FUNCTIONS ========================= |
|
47 |
|
48 LOCAL_C CApaApplication* NewApplication() |
|
49 { |
|
50 return new CPslnApplication; |
|
51 } |
|
52 |
|
53 GLDEF_C TInt E32Main() |
|
54 { |
|
55 return EikStart::RunApplication( NewApplication ); |
|
56 } |
|
57 |
|
58 //lint -esym(714,uid) Inhibit message in Psln.uid.cpp |
|
59 |
|
60 // End of File |