1 /* |
|
2 * Copyright (c) 2008 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: Setting item class for Feedback settings. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef CPROFILEFEEDBACKSETTINGITEM_H |
|
21 #define CPROFILEFEEDBACKSETTINGITEM_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <aknsettingitemlist.h> |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 class CAknSettingPage; |
|
28 |
|
29 // CLASS DECLARATION |
|
30 /** |
|
31 * Setting item class for Feedback settings. |
|
32 * CProfileFeedbackSettingItem extends CAknEnumeratedTextPopupSettingItem |
|
33 * in order to launch CProfileFeedbackSettingPage |
|
34 * instead of CAknPopupSettingPage. |
|
35 * |
|
36 * @lib ProfileSettingsView.lib |
|
37 * @since 5.0 |
|
38 */ |
|
39 NONSHARABLE_CLASS( CProfileFeedbackSettingItem ) : public CAknEnumeratedTextPopupSettingItem |
|
40 { |
|
41 public: // Constructors and destructor |
|
42 |
|
43 /** |
|
44 * C++ constructor. |
|
45 * @param aIdentifier Setting item identifier. |
|
46 * @param aValue Feedback setting value. |
|
47 */ |
|
48 CProfileFeedbackSettingItem( |
|
49 TInt aIdentifier, |
|
50 TInt& aValue ); |
|
51 |
|
52 private: // Functions from base classes |
|
53 |
|
54 /** |
|
55 * From CAknEnumeratedTextPopupSettingItem |
|
56 */ |
|
57 void CompleteConstructionL(); |
|
58 |
|
59 /** |
|
60 * From CAknEnumeratedTextPopupSettingItem |
|
61 */ |
|
62 CAknSettingPage* CreateSettingPageL(); |
|
63 |
|
64 private: // Data |
|
65 |
|
66 // Setting item identifier |
|
67 TInt iIdentifier; |
|
68 }; |
|
69 |
|
70 #endif // CPROFILEFEEDBACKSETTINGITEM_H |
|
71 |
|
72 // End of File |
|