1 /* |
|
2 * Copyright (c) 2005 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 AVKONVIEWEXAMPLECONTAINER2_H |
|
19 #define AVKONVIEWEXAMPLECONTAINER2_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <coecntrl.h> |
|
23 #include <AknLists.h> |
|
24 |
|
25 #include "cenrepeditorListbox2.h" |
|
26 #include "cenrepeditormodel.h" |
|
27 |
|
28 // CLASS DECLARATION |
|
29 |
|
30 /** |
|
31 * CCenrepEditorView2Container container control class. |
|
32 * |
|
33 */ |
|
34 class CCenrepEditorView2Container : public CCoeControl |
|
35 { |
|
36 public: // Constructors and destructor |
|
37 |
|
38 /** |
|
39 * EPOC default constructor. |
|
40 * @param aRect Frame rectangle for container. |
|
41 */ |
|
42 void ConstructL(const TRect& aRect,TInt aResourceId,COtherResources* aOtherResources); |
|
43 |
|
44 /** |
|
45 * Store the Settings . |
|
46 */ |
|
47 void StoreSettingsL(); |
|
48 |
|
49 /** |
|
50 * Destructor. |
|
51 */ |
|
52 ~CCenrepEditorView2Container(); |
|
53 |
|
54 public: // New functions |
|
55 |
|
56 |
|
57 |
|
58 public: // Functions from base classes |
|
59 |
|
60 private: // Functions from base classes |
|
61 |
|
62 /** |
|
63 * From CoeControl,SizeChanged. |
|
64 */ |
|
65 void SizeChanged(); |
|
66 |
|
67 /** |
|
68 * From CoeControl,CountComponentControls. |
|
69 */ |
|
70 TInt CountComponentControls() const; |
|
71 |
|
72 /** |
|
73 * From CCoeControl,ComponentControl. |
|
74 */ |
|
75 CCoeControl* ComponentControl(TInt aIndex) const; |
|
76 |
|
77 /** |
|
78 * From CCoeControl,Draw. |
|
79 */ |
|
80 void Draw(const TRect& aRect) const; |
|
81 |
|
82 |
|
83 TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType ); |
|
84 |
|
85 |
|
86 private: //data |
|
87 COtherResourcesListbox * iOtherResourceListBox; |
|
88 |
|
89 }; |
|
90 |
|
91 #endif |
|
92 |
|
93 // End of File |
|