|
1 /* |
|
2 * Copyright (c) 2006 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: vcexecutorapp application UI class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef VCEXECUTORAPPUI_H |
|
20 #define VCEXECUTORAPPUI_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <aknappui.h> |
|
24 |
|
25 // CLASS DECLARATION |
|
26 |
|
27 /** |
|
28 * This class is a part of the standard application framework. |
|
29 */ |
|
30 class CVCExecutorAppUi : public CAknAppUi |
|
31 { |
|
32 public: // Constructors and destructor |
|
33 |
|
34 /** |
|
35 * 2nd phase constructor. |
|
36 */ |
|
37 void ConstructL(); |
|
38 |
|
39 /** |
|
40 * Destructor. |
|
41 */ |
|
42 virtual ~CVCExecutorAppUi(); |
|
43 |
|
44 public: // New functions |
|
45 |
|
46 /** |
|
47 * Method to get the CEikonEnv pointer |
|
48 * |
|
49 * @return CEikonEnv |
|
50 */ |
|
51 CEikonEnv* EikonEnv() const; |
|
52 |
|
53 /** |
|
54 * Updates status pane to the idle pane |
|
55 */ |
|
56 void UpdateStatusPaneL(); |
|
57 |
|
58 private: // From CEikAppUi |
|
59 |
|
60 /** |
|
61 * Takes care of command handling. |
|
62 * @param aCommand command to be handled |
|
63 */ |
|
64 void HandleCommandL( TInt aCommand ); |
|
65 |
|
66 /** |
|
67 * Handles command line parameters. |
|
68 * @param aCommandLine CApaCommandLine object |
|
69 */ |
|
70 TBool ProcessCommandParametersL( CApaCommandLine& aCommandLine ); |
|
71 |
|
72 /** |
|
73 * From CEikAppUi, takes care of screen resolution change |
|
74 */ |
|
75 void HandleScreenDeviceChangedL(); |
|
76 |
|
77 private: |
|
78 |
|
79 // Resource id of the current status pane |
|
80 TInt iInitialStatuspaneResourceId; |
|
81 }; |
|
82 |
|
83 #endif // VCEXECUTORAPPUI_H |
|
84 |
|
85 // End of File |