1 /* |
|
2 * Copyright (c) 2010 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 #ifndef __MCSEXAMPLEAPPUI_h__ |
|
19 #define __MCSEXAMPLEAPPUI_h__ |
|
20 |
|
21 // INCLUDES |
|
22 #include <aknappui.h> |
|
23 |
|
24 // FORWARD DECLARATIONS |
|
25 class CMCSExampleAppView; |
|
26 |
|
27 // CLASS DECLARATION |
|
28 /** |
|
29 * CMCSExampleAppUi application UI class. |
|
30 * Interacts with the user through the UI and request message processing |
|
31 * from the handler class |
|
32 */ |
|
33 class CMCSExampleAppUi : public CAknAppUi |
|
34 { |
|
35 public: |
|
36 // Constructors and destructor |
|
37 |
|
38 /** |
|
39 * ConstructL. |
|
40 * 2nd phase constructor. |
|
41 */ |
|
42 void ConstructL(); |
|
43 |
|
44 /** |
|
45 * CMCSExampleAppUi. |
|
46 * C++ default constructor. This needs to be public due to |
|
47 * the way the framework constructs the AppUi |
|
48 */ |
|
49 CMCSExampleAppUi(); |
|
50 |
|
51 /** |
|
52 * ~CMCSExampleAppUi. |
|
53 * Virtual Destructor. |
|
54 */ |
|
55 virtual ~CMCSExampleAppUi(); |
|
56 |
|
57 private: |
|
58 // Functions from base classes |
|
59 |
|
60 /** |
|
61 * From CEikAppUi, HandleCommandL. |
|
62 * Takes care of command handling. |
|
63 * @param aCommand Command to be handled. |
|
64 */ |
|
65 void HandleCommandL(TInt aCommand); |
|
66 |
|
67 /** |
|
68 * HandleStatusPaneSizeChange. |
|
69 * Called by the framework when the application status pane |
|
70 * size is changed. |
|
71 */ |
|
72 void HandleStatusPaneSizeChange(); |
|
73 |
|
74 /** |
|
75 * From CCoeAppUi, HelpContextL. |
|
76 * Provides help context for the application. |
|
77 * size is changed. |
|
78 */ |
|
79 CArrayFix<TCoeHelpContext>* HelpContextL() const; |
|
80 |
|
81 private: |
|
82 // Data |
|
83 |
|
84 /** |
|
85 * The application view |
|
86 * Owned by CMCSExampleAppUi |
|
87 */ |
|
88 CMCSExampleAppView* iAppView; |
|
89 |
|
90 }; |
|
91 |
|
92 #endif // __MCSEXAMPLEAPPUI_h__ |
|
93 // End of File |
|