|
1 /* |
|
2 * Copyright (c) 2004 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 |
|
19 |
|
20 |
|
21 #ifndef CMCEPOCSESSIONSETTINGSLISTCONTAINER_H |
|
22 #define CMCEPOCSESSIONSETTINGSLISTCONTAINER_H |
|
23 |
|
24 // INCLUDES |
|
25 |
|
26 // System includes |
|
27 #include <coecntrl.h> // CCoeControl |
|
28 |
|
29 //App |
|
30 #include <MCETestUI.rsg> |
|
31 #include "MCETestUI.hrh" |
|
32 |
|
33 //App Qos |
|
34 //#include "TMCEPoCSessionParams.h" |
|
35 #include "CMCEPoCSessionSettingsListContainer.h" |
|
36 #include "CMCEPoCSessionSettingsItemList.h" |
|
37 |
|
38 |
|
39 // CLASS DECLARATION |
|
40 |
|
41 /** |
|
42 * CMCEPoCSessionSettingsListContainer class. |
|
43 * Settings List container for Generic QoS |
|
44 */ |
|
45 |
|
46 |
|
47 |
|
48 class CMCEPoCSessionSettingsListContainer : public CCoeControl |
|
49 { |
|
50 public: // Constructors and destructor |
|
51 |
|
52 static CMCEPoCSessionSettingsListContainer * NewL(const TRect& aRect, TMCEPoCSessionParams& aSettings ); |
|
53 static CMCEPoCSessionSettingsListContainer * NewLC(const TRect& aRect, TMCEPoCSessionParams& aSettings ); |
|
54 ~CMCEPoCSessionSettingsListContainer (); |
|
55 |
|
56 public: // members |
|
57 void ChangeSelectedItemL(); |
|
58 |
|
59 private: // constructor |
|
60 CMCEPoCSessionSettingsListContainer ( TMCEPoCSessionParams& aSettings ); |
|
61 void ConstructL(const TRect& aRect); |
|
62 |
|
63 |
|
64 private: // from CoeControl |
|
65 |
|
66 TInt CountComponentControls() const; |
|
67 CCoeControl* ComponentControl(TInt aIndex) const; |
|
68 TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType); |
|
69 |
|
70 private: //data |
|
71 |
|
72 CMCEPoCSessionSettingsItemList* iSettingItemList; |
|
73 TMCEPoCSessionParams& iSettings; |
|
74 }; |
|
75 |
|
76 #endif |
|
77 |
|
78 // End of File |