1 /* |
|
2 * =========================================================================== |
|
3 * Name : hgfswappui.h |
|
4 * Part of : Huriganes / Fast Swap Server |
|
5 * Description : appui for server |
|
6 * Version : %version: 5 % |
|
7 * |
|
8 * Copyright © 2008 Nokia Corporation. |
|
9 * This material, including documentation and any related |
|
10 * computer programs, is protected by copyright controlled by |
|
11 * Nokia Corporation. All rights are reserved. Copying, |
|
12 * including reproducing, storing, adapting or translating, any |
|
13 * or all of this material requires the prior written consent of |
|
14 * Nokia Corporation. This material also contains confidential |
|
15 * information which may not be disclosed to others without the |
|
16 * prior written consent of Nokia Corporation. |
|
17 * =========================================================================== |
|
18 */ |
|
19 |
|
20 #ifndef __HGFSWAPPUI_H |
|
21 #define __HGFSWAPPUI_H |
|
22 |
|
23 #include <aknappui.h> |
|
24 |
|
25 class MHgFswTaskListObserver; |
|
26 class MHgFswResourceObserver; |
|
27 |
|
28 /** |
|
29 * Appui for the fsw server. |
|
30 * Reimplements HandleWsEventL from base class to get notifications about |
|
31 * window group changes. |
|
32 */ |
|
33 class CHgFswAppUi : public CAknAppUi |
|
34 { |
|
35 public: |
|
36 ~CHgFswAppUi(); |
|
37 void ConstructL(); |
|
38 |
|
39 /** |
|
40 * Setter function. |
|
41 * |
|
42 * @param aTaskListObserver Observer to be notified if task list |
|
43 * has changed |
|
44 */ |
|
45 void SetTaskListObserver( MHgFswTaskListObserver& aTaskListObserver ); |
|
46 |
|
47 /** |
|
48 * Setter function. |
|
49 * |
|
50 * @param aResourceObserver Observer to be notified when resources are changed. |
|
51 */ |
|
52 void SetResourceObserver( MHgFswResourceObserver& aResourceObserver ); |
|
53 |
|
54 private: |
|
55 // from CEikAppUi |
|
56 void HandleWsEventL( const TWsEvent& aEvent, CCoeControl* aDestination ); |
|
57 void HandleResourceChangeL( TInt aType ); |
|
58 |
|
59 private: |
|
60 MHgFswTaskListObserver* iTaskListObserver; // not own |
|
61 MHgFswResourceObserver* iResourceObserver; // not own |
|
62 }; |
|
63 |
|
64 #endif |
|