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: Content Control example |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef HSCONTENTCONTROLAPPUI_H |
|
20 #define HSCONTENTCONTROLAPPUI_H |
|
21 |
|
22 // [[[ begin generated region: do not modify [Generated Includes] |
|
23 #include <aknappui.h> |
|
24 #include <eikmenub.h> |
|
25 // ]]] end generated region [Generated Includes] |
|
26 |
|
27 // [[[ begin generated region: do not modify [Generated Forward Declarations] |
|
28 class CHsContentControlListBox; |
|
29 // ]]] end generated region [Generated Forward Declarations] |
|
30 |
|
31 /** |
|
32 * @class CHsContentControlAppUi HsContentControlAppUi.h |
|
33 * @brief The AppUi class handles application-wide aspects of the user interface, including |
|
34 * container management and the default menu, control pane, and status pane. |
|
35 */ |
|
36 class CHsContentControlAppUi : public CAknAppUi |
|
37 { |
|
38 public: |
|
39 // constructor and destructor |
|
40 CHsContentControlAppUi(); |
|
41 void ConstructL(); |
|
42 virtual ~CHsContentControlAppUi(); |
|
43 |
|
44 public: |
|
45 // from CEikAppUi |
|
46 void HandleCommandL( TInt aCommand ); |
|
47 void HandleResourceChangeL( TInt aType ); |
|
48 |
|
49 private: |
|
50 void InitializeContainersL(); |
|
51 // [[[ begin generated region: do not modify [Generated Methods] |
|
52 public: |
|
53 // ]]] end generated region [Generated Methods] |
|
54 |
|
55 // [[[ begin generated region: do not modify [Generated Instance Variables] |
|
56 private: |
|
57 CHsContentControlListBox* iHsContentControlListBox; |
|
58 // ]]] end generated region [Generated Instance Variables] |
|
59 |
|
60 |
|
61 // [[[ begin [Overridden Methods] |
|
62 protected: |
|
63 // ]]] end [Overridden Methods] |
|
64 |
|
65 |
|
66 // [[[ begin [User Handlers] |
|
67 protected: |
|
68 // ]]] end [User Handlers] |
|
69 |
|
70 }; |
|
71 |
|
72 #endif // HSCONTENTCONTROLAPPUI_H |
|