|
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: Autolock period settingpage |
|
15 * |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef __CAUTOLOCKSETTINGPAHGE_H |
|
21 #define __CAUTOLOCKSETTINGPAHGE_H |
|
22 |
|
23 #include <aknradiobuttonsettingpage.h> |
|
24 #include <eikmobs.h> |
|
25 |
|
26 class CAutoLockSettingPage : public CAknRadioButtonSettingPage |
|
27 { |
|
28 public: |
|
29 /** |
|
30 * C++ default constructor. |
|
31 */ |
|
32 CAutoLockSettingPage(TInt aResourceId, TInt& aCurrentSelectionItem, CDesCArrayFlat* aItemArray, TInt& aAutoLockValue); |
|
33 /** |
|
34 * Symbian OS constructor. |
|
35 */ |
|
36 void ConstructL(); |
|
37 /** |
|
38 * Setmaximum value for autolock period. Used in TARM. |
|
39 */ |
|
40 void SetPeriodMaximumValue(TInt aMaximumValue); |
|
41 |
|
42 protected: |
|
43 /** |
|
44 * Destructor. |
|
45 */ |
|
46 ~CAutoLockSettingPage(); |
|
47 /** |
|
48 * Process ui commands |
|
49 * from CAknRadioButtonSettingPage |
|
50 * @param aCommandId TInt |
|
51 */ |
|
52 void ProcessCommandL(TInt aCommandId); |
|
53 /** |
|
54 * From CAknRadioButtonSettingPage |
|
55 * Handles AutoLockSettingPage's PointerEvent |
|
56 * |
|
57 * @param aPointerEvent PointerEvent to be handled |
|
58 */ |
|
59 void HandlePointerEventL(const TPointerEvent& aPointerEvent); |
|
60 |
|
61 private: // data |
|
62 CEikButtonGroupContainer* iPopoutCba; |
|
63 TInt& iAutoLockValue; |
|
64 TInt iMaximum; |
|
65 TInt iOriginalIndex; |
|
66 TInt iPrevSelectionItem; |
|
67 |
|
68 }; |
|
69 |
|
70 #endif |
|
71 |
|
72 // End of file |