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