1 /* |
|
2 * Copyright (c) 2006 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: Settings list class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CVCSETTINGSLIST_H |
|
20 #define CVCSETTINGSLIST_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <aknsettingitemlist.h> |
|
24 #include <CAknMemorySelectionDialog.h> |
|
25 #include "vcommand.hrh" |
|
26 |
|
27 // CLASS DECLARATION |
|
28 |
|
29 /** |
|
30 * Settings list class |
|
31 */ |
|
32 class CVCSettingsList : public CAknSettingItemList |
|
33 { |
|
34 public: // Constructors and destructor |
|
35 |
|
36 /** |
|
37 * C++ constructor. |
|
38 */ |
|
39 CVCSettingsList(); |
|
40 |
|
41 /** |
|
42 * Symbian 2nd phase constructor |
|
43 */ |
|
44 void ConstructL(); |
|
45 |
|
46 /** |
|
47 * Destructor. |
|
48 */ |
|
49 virtual ~CVCSettingsList(); |
|
50 |
|
51 public: // New functions |
|
52 |
|
53 /** |
|
54 * Save settings. |
|
55 */ |
|
56 void SaveSettingsL(); |
|
57 |
|
58 public: // Functions of base classes |
|
59 |
|
60 /** |
|
61 * From CAknSettingItemList |
|
62 * Launch the setting page for the current item by calling |
|
63 * EditItemL on it. |
|
64 */ |
|
65 void EditItemL( TInt aIndex, TBool aCalledFromMenu ); |
|
66 |
|
67 /** |
|
68 * From CCoeControl set the size and position of its component controls. |
|
69 */ |
|
70 void SizeChanged(); |
|
71 |
|
72 private: // Functions from base classes |
|
73 |
|
74 /** |
|
75 * From CAknSettingItemList Handles creating setting items |
|
76 * @param aIdentifier Identifier of the setting item to create |
|
77 * @see CAknSettingItemList for more information. |
|
78 */ |
|
79 CAknSettingItem* CreateSettingItemL( TInt aIdentifier ); |
|
80 |
|
81 /** |
|
82 * From CAknSettingItemList Get setting values |
|
83 * @see CAknSettingItemList for more information. |
|
84 */ |
|
85 void LoadSettingsL(); |
|
86 |
|
87 /** |
|
88 * Displays "Synthesizer enabled" note |
|
89 */ |
|
90 void SynthesizerEnabledNoteL(); |
|
91 |
|
92 /** |
|
93 * Displays "Voice verification disabled" note |
|
94 */ |
|
95 void VoiceVerificationDisabledNoteL(); |
|
96 |
|
97 private: // Data |
|
98 TInt iSynthesizer; |
|
99 TInt iVolumeValue; |
|
100 TInt iRejectionValue; |
|
101 TInt iVerification; |
|
102 |
|
103 }; |
|
104 |
|
105 #endif // CVCSETTINGSLIST_H |
|
106 |
|
107 // End of File |
|