|
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 #ifndef PROFILER_GUI_APPUI_H |
|
21 #define PROFILER_GUI_APPUI_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <eikapp.h> |
|
25 #include <eikdoc.h> |
|
26 #include <e32std.h> |
|
27 #include <coeccntx.h> |
|
28 #include <aknViewAppUi.h> |
|
29 #include <akntabgrp.h> |
|
30 #include <aknnavide.h> |
|
31 #include "profiler_gui_std.h" |
|
32 |
|
33 // profiler engine inclusions |
|
34 #include <piprofiler/ProfilerConfig.h> |
|
35 |
|
36 // FORWARD DECLARATIONS |
|
37 class CProfilerGuiModel; |
|
38 |
|
39 // CLASS DECLARATIONS |
|
40 |
|
41 class CProfilerGuiAppUi : public CAknViewAppUi |
|
42 { |
|
43 public: // constructors and destructor |
|
44 void ConstructL(); |
|
45 ~CProfilerGuiAppUi(); |
|
46 |
|
47 // profiler specific |
|
48 void StartProfilerL(); |
|
49 void StopProfilerL(); |
|
50 private: // From MEikMenuObserver |
|
51 void DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane); |
|
52 |
|
53 private: |
|
54 void HandleCommandL(TInt aCommand); |
|
55 virtual TKeyResponse HandleKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType); |
|
56 void HandleSystemEventL(const TWsEvent& aEvent); |
|
57 |
|
58 void SaveSettingsL(); |
|
59 void LoadSettingsL(); |
|
60 TInt RunConfQueryL( const TDesC* aOverrideText ); |
|
61 private: //Data |
|
62 CProfilerGuiModel* iModel; |
|
63 }; |
|
64 |
|
65 #endif |
|
66 |
|
67 // End of File |