equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002-2007 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 * predictive search setting item for Phonebook 2. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef CPBK2PREDICTIVESEARCHSETTINGITEM_H |
|
21 #define CPBK2PREDICTIVESEARCHSETTINGITEM_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <aknsettingitemlist.h> |
|
25 |
|
26 |
|
27 /** |
|
28 * Predictive Search settings item. |
|
29 */ |
|
30 NONSHARABLE_CLASS(CPbk2PredictiveSearchSettingItem) : |
|
31 public CAknBinaryPopupSettingItem |
|
32 { |
|
33 public: // interface |
|
34 /** |
|
35 * Constructor. |
|
36 * @see CAknEnumeratedTextPopupSettingItem |
|
37 * @param aResourceId, resource identifier |
|
38 * @param aValue, initial value shows to the setting |
|
39 */ |
|
40 CPbk2PredictiveSearchSettingItem( |
|
41 TInt aResourceId, |
|
42 TInt& aValue); |
|
43 |
|
44 private: // From CAknSettingItem |
|
45 |
|
46 void StoreL(); |
|
47 |
|
48 private: |
|
49 // save values to predictive search settings cenrep |
|
50 void SetPredictiveSearchModeL( TBool aPredictiveMode ); |
|
51 |
|
52 }; |
|
53 |
|
54 #endif // CPBK2PREDICTIVESEARCHSETTINGITEM_H |
|
55 |
|
56 // End of File |