|
1 /* |
|
2 * Copyright (c) 2008 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: This is the header file for the CAdtUpdaterAppUi class. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __ADTUPDATER_APPUI_H__ |
|
19 #define __ADTUPDATER_APPUI_H__ |
|
20 |
|
21 // System includes |
|
22 #include <aknappui.h> |
|
23 |
|
24 // User includes |
|
25 |
|
26 // Forward declarations |
|
27 class CAdtUpdaterContainer; |
|
28 |
|
29 // Class declaration |
|
30 /** |
|
31 * @class CAdtUpdaterAppUi |
|
32 * @brief The CAknAppUi inheriting class. |
|
33 * @exe adtupdater.exe |
|
34 */ |
|
35 class CAdtUpdaterAppUi : public CAknAppUi |
|
36 { |
|
37 public: // Constructor and destructor |
|
38 |
|
39 /** |
|
40 * @brief C++ default constructor |
|
41 */ |
|
42 CAdtUpdaterAppUi(); |
|
43 |
|
44 /** |
|
45 * @brief Destructor. |
|
46 */ |
|
47 ~CAdtUpdaterAppUi(); |
|
48 |
|
49 public: // From base classes |
|
50 |
|
51 /** |
|
52 * @brief From CAknViewAppUi. Handles menu commands. |
|
53 * @param aCommandId The id of the command to be handled. |
|
54 */ |
|
55 void HandleCommandL( TInt aCommandId ); |
|
56 |
|
57 /** |
|
58 * @brief From CAknAppUi. Handles when application gains or looses foreground. |
|
59 * @param aForeground EFalse when application is being sent to background. |
|
60 */ |
|
61 void HandleForegroundEventL( TBool aForeground ); |
|
62 |
|
63 public: // New functions |
|
64 |
|
65 /** |
|
66 * @brief Switches the application from background to foreground and vise versa. |
|
67 * @param aForeground ETrue if the application needs to be brought to the foreground. |
|
68 */ |
|
69 void ToggleAppViewL( TBool aForeground ); |
|
70 |
|
71 /** |
|
72 * @brief Hides the status pane of the application. |
|
73 * @param aHide ETrue if status pane has to be hidden. |
|
74 */ |
|
75 void HideStatusPane( TBool aHide ); |
|
76 |
|
77 private: // New functions |
|
78 |
|
79 /** |
|
80 * @brief Symbian OS constructor. Performs the second phase of construction. May leave. |
|
81 */ |
|
82 void ConstructL(); |
|
83 |
|
84 public: // Data |
|
85 |
|
86 /** |
|
87 * @var iContainer |
|
88 * @brief The container object. |
|
89 */ |
|
90 CAdtUpdaterContainer* iContainer; |
|
91 }; |
|
92 |
|
93 #endif // __ADTUPDATER_APPUI_H__ |
|
94 |
|
95 // End of file |