|
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 |
|
20 // INCLUDE FILES |
|
21 #include "profiler_gui_app.h" |
|
22 #include "profiler_gui_document.h" |
|
23 #include <piprofiler/ProfilerTraces.h> |
|
24 |
|
25 #include <eikstart.h> |
|
26 |
|
27 |
|
28 // ================= MEMBER FUNCTIONS ======================= |
|
29 |
|
30 // --------------------------------------------------------- |
|
31 // CProfilerGuiApp::AppDllUid() |
|
32 // Returns application UID |
|
33 // --------------------------------------------------------- |
|
34 // |
|
35 TUid CProfilerGuiApp::AppDllUid() const |
|
36 { |
|
37 return KUidProfilerGui; |
|
38 } |
|
39 |
|
40 // --------------------------------------------------------- |
|
41 // CProfilerGuiApp::CreateDocumentL() |
|
42 // Creates CProfilerGuiDocument object |
|
43 // --------------------------------------------------------- |
|
44 // |
|
45 CApaDocument* CProfilerGuiApp::CreateDocumentL() |
|
46 { |
|
47 return CProfilerGuiDocument::NewL( *this ); |
|
48 } |
|
49 |
|
50 // ================= OTHER EXPORTED FUNCTIONS ============== |
|
51 |
|
52 LOCAL_C CApaApplication* NewApplication() |
|
53 { |
|
54 return new CProfilerGuiApp; |
|
55 } |
|
56 |
|
57 |
|
58 GLDEF_C TInt E32Main() |
|
59 { |
|
60 return EikStart::RunApplication(NewApplication); |
|
61 } |
|
62 |
|
63 // End of File |
|
64 |