|
1 /* |
|
2 * Copyright (c) 2002-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: Container for Barrings sub-menu in General Settings. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef GSSETTLISTBARRINGCONTAINER_H |
|
20 #define GSSETTLISTBARRINGCONTAINER_H |
|
21 |
|
22 // INCLUDES |
|
23 #include "gsbasecontainer.h" |
|
24 #include "GSPhoneSettingConstants.h" |
|
25 |
|
26 // CLASS DECLARATION |
|
27 |
|
28 /** |
|
29 * CGSSettListBarringContainer container class |
|
30 */ |
|
31 class CGSSettListBarringContainer : public CGSBaseContainer |
|
32 { |
|
33 public: // Constructors and destructor |
|
34 |
|
35 /** |
|
36 * Symbian OS default constructor. |
|
37 * |
|
38 * @param aRect gives the correct TRect for construction. |
|
39 */ |
|
40 void ConstructL( const TRect& aRect ); |
|
41 |
|
42 /* Destructor */ |
|
43 ~CGSSettListBarringContainer(); |
|
44 |
|
45 public: //from CGSBaseContainer |
|
46 |
|
47 /* |
|
48 * Creates list box object. |
|
49 * @param aResLbxId resource list id to create list box. |
|
50 */ |
|
51 void ConstructListBoxL( TInt aResLbxId ); |
|
52 |
|
53 private: //new |
|
54 |
|
55 /* |
|
56 * Creates items for the list box. |
|
57 */ |
|
58 void CreateListBoxItemsL(); |
|
59 |
|
60 /** |
|
61 * Required for help. |
|
62 */ |
|
63 void GetHelpContext( TCoeHelpContext& aContext ) const; |
|
64 |
|
65 private: //member variables |
|
66 //Resource texts for setting items |
|
67 CDesCArrayFlat* iItems; |
|
68 //Setting items |
|
69 CDesCArray* iItemArray; |
|
70 }; |
|
71 |
|
72 #endif //GSSETTLISTBARRINGCONTAINER_H |
|
73 |
|
74 // End of File |