|
1 /* |
|
2 * Copyright (c) 2009 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 #include "perfmon_app.h" |
|
21 #include "perfmon_document.h" |
|
22 |
|
23 #include <eikstart.h> |
|
24 |
|
25 |
|
26 // ================= MEMBER FUNCTIONS ======================= |
|
27 |
|
28 // --------------------------------------------------------- |
|
29 // CPerfMonApp::AppDllUid() |
|
30 // Returns application UID |
|
31 // --------------------------------------------------------- |
|
32 // |
|
33 TUid CPerfMonApp::AppDllUid() const |
|
34 { |
|
35 return KUidPerfMon; |
|
36 } |
|
37 |
|
38 // --------------------------------------------------------- |
|
39 // CDictionaryStore* CPerfMonApp::OpenIniFileLC(RFs& aFs) const |
|
40 // overrides CAknApplication::OpenIniFileLC to enable INI file support |
|
41 // --------------------------------------------------------- |
|
42 // |
|
43 CDictionaryStore* CPerfMonApp::OpenIniFileLC(RFs& aFs) const |
|
44 { |
|
45 return CEikApplication::OpenIniFileLC(aFs); |
|
46 } |
|
47 |
|
48 // --------------------------------------------------------- |
|
49 // CPerfMonApp::CreateDocumentL() |
|
50 // Creates CPerfMonDocument object |
|
51 // --------------------------------------------------------- |
|
52 // |
|
53 CApaDocument* CPerfMonApp::CreateDocumentL() |
|
54 { |
|
55 return CPerfMonDocument::NewL( *this ); |
|
56 } |
|
57 |
|
58 // ================= OTHER EXPORTED FUNCTIONS ============== |
|
59 |
|
60 LOCAL_C CApaApplication* NewApplication() |
|
61 { |
|
62 return new CPerfMonApp; |
|
63 } |
|
64 |
|
65 |
|
66 GLDEF_C TInt E32Main() |
|
67 { |
|
68 return EikStart::RunApplication(NewApplication); |
|
69 } |
|
70 |
|
71 |
|
72 // End of File |
|
73 |