gssettingsuis/Gs/GSAutoKeyguardPlugin/Inc/GSAutoKeyguardPluginAutoKeyguardSettingPage.h
branchRCL_3
changeset 24 8ee96d21d9bf
parent 23 8bda91a87a00
child 25 7e0eff37aedb
equal deleted inserted replaced
23:8bda91a87a00 24:8ee96d21d9bf
     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: 
       
    15 *		Autokeyguard period settingpage     
       
    16 *
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef     __CAUTOKEYGUARDSETTINGPAGE_H
       
    22 #define     __CAUTOKEYGUARDSETTINGPAGE_H
       
    23 
       
    24 #include    <aknradiobuttonsettingpage.h>
       
    25 #include    <eikmobs.h>
       
    26 
       
    27 class CAutoKeyguardSettingPage : public CAknRadioButtonSettingPage
       
    28 	{
       
    29 	public:
       
    30 		/**
       
    31 		* C++ default constructor.
       
    32 		*/
       
    33 		CAutoKeyguardSettingPage(TInt aResourceId, TInt& aCurrentSelectionItem, CDesCArrayFlat* aItemArray, TTime* aAutoKeyguardValue, TTime aMaxPeriod);
       
    34 		/**
       
    35 		* Symbian OS constructor.
       
    36 		*/
       
    37 		void ConstructL();
       
    38 	protected:
       
    39 		/**
       
    40 		* Process ui commands
       
    41 		* from CAknRadioButtonSettingPage
       
    42 		* @param aCommandId TInt 
       
    43 		*/
       
    44 		void ProcessCommandL(TInt aCommandId);
       
    45 		
       
    46 		/** 
       
    47 		 * From CAknRadioButtonSettingPage
       
    48 		 * @param	listbox generating the event
       
    49 		 * @param	type of listbox event
       
    50 		 */
       
    51 		void HandleListBoxEventL(CEikListBox* aListBox,
       
    52 				MEikListBoxObserver::TListBoxEvent aEventType);
       
    53 	private:
       
    54 		/** 
       
    55 		 * Handle GSAutoKeyguard settings
       
    56 		 */
       
    57 		void ExecuteAutoKeyguardSettingsL();
       
    58 		
       
    59 	private: // data
       
    60 		CEikButtonGroupContainer* iPopoutCba;
       
    61 		//Not owned!
       
    62 		TTime* iAutoKeyguardValue;
       
    63 		TTime iMaxPeriod;
       
    64 	};
       
    65 
       
    66 #endif // CAUTOKEYGUARDSETTINGPAGE_H
       
    67 
       
    68 // End of file