|
1 /* |
|
2 * Copyright (c) 2001-2009 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 the License "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: Header file of PAP UI settings array |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef _PAPUISETTINGARRAY_H_ |
|
21 #define _PAPUISETTINGARRAY_H_ |
|
22 |
|
23 // INCLUDES |
|
24 #include <aknsettingitemlist.h> |
|
25 #include "papui.hrh" |
|
26 |
|
27 |
|
28 // CLASS DECLARATION |
|
29 |
|
30 /** |
|
31 */ |
|
32 class CPapSettingItemArray : public CBase |
|
33 { |
|
34 public: |
|
35 static CPapSettingItemArray* NewL(); |
|
36 virtual ~CPapSettingItemArray(); |
|
37 CAknSettingItem* Item( TPapSettingItemId aItem ); |
|
38 CAknSettingItemArray* Array(); |
|
39 void StoreSettingsL(); |
|
40 void AddTextItemL( TDes& aBuffer, |
|
41 TInt aId, |
|
42 TInt aTitleResource, |
|
43 TInt aSettingPageResource, |
|
44 TInt aAssociatedResource, |
|
45 TInt aOrdinal ); |
|
46 void AddBinarySettingItemL( TInt aSettingPageResourceId, |
|
47 TInt aTitleResourceId, |
|
48 TInt aAssociatedResourceId, |
|
49 TInt aOrdinal, |
|
50 TBool& aModifiedValue ); |
|
51 void AddPasswordItemL( TDes& aPassword, |
|
52 TInt aId, |
|
53 TInt aTitleResource, |
|
54 TInt aSettingPageResource, |
|
55 TInt aAssociatedResource, |
|
56 TInt aOrdinal ); |
|
57 void PwItemCancelled( TBool aIsCancelled ); |
|
58 TBool IsPwItemCancelled(); |
|
59 |
|
60 |
|
61 protected: |
|
62 CPapSettingItemArray(); |
|
63 void ConstructL(); |
|
64 |
|
65 |
|
66 private: |
|
67 CEikonEnv* iEnv; |
|
68 CAknSettingItemArray* iArray; |
|
69 TBool iPwItemCancelled; |
|
70 }; |
|
71 |
|
72 #endif // _PAPUISETTINGARRAY_H_ |
|
73 |
|
74 // End of File |