securitydialogs/SecUi/Inc/SecUiRemoteLockSettingPage.h
changeset 0 164170e6151a
child 13 bbcfd14ce6a7
equal deleted inserted replaced
-1:000000000000 0:164170e6151a
       
     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:  RemoteLock pass phrase setting page
       
    15 *
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef __SECUIREMOTELOCKSETTINGPAGE_H__
       
    21 #define __SECUIREMOTELOCKSETTINGPAGE_H__
       
    22 
       
    23 #include <aknradiobuttonsettingpage.h>
       
    24 #include <eikmobs.h>
       
    25 
       
    26 
       
    27 
       
    28 // LOCAL CONSTANTS
       
    29 const TInt KRemoteLockSettingItemOn  = 0;
       
    30 const TInt KRemoteLockSettingItemOff = 1;
       
    31 
       
    32 
       
    33 
       
    34 // CLASS DECLARATIONS
       
    35 
       
    36 /** 
       
    37 * CRemoteLockSettingPage
       
    38 */
       
    39 NONSHARABLE_CLASS(CRemoteLockSettingPage) : public CAknRadioButtonSettingPage
       
    40 	{
       
    41 	public:
       
    42 		/**
       
    43 		* C++ default constructor.
       
    44 		*/
       
    45 		CRemoteLockSettingPage( TInt aResourceId, TInt& aCurrentSelectionItem, CDesCArrayFlat* aItemArray );
       
    46 
       
    47 		/**
       
    48 		* Symbian OS constructor.
       
    49 		*/
       
    50 		void ConstructL();
       
    51 
       
    52 	protected:
       
    53 		/**
       
    54 		* Destructor.
       
    55 		*/
       
    56 		~CRemoteLockSettingPage();
       
    57 
       
    58 		/**
       
    59 		* Process ui commands
       
    60 		* from CAknRadioButtonSettingPage
       
    61 		* @param aCommandId TInt 
       
    62 		*/
       
    63 		void ProcessCommandL( TInt aCommandId );
       
    64 			/**
       
    65     	* From CAknRadioButtonSettingPage 
       
    66     	* Handles AutoLockSettingPage's PointerEvent 
       
    67     	*    
       
    68     	* @param aPointerEvent PointerEvent to be handled
       
    69     	*/     
       
    70     	void HandlePointerEventL(const TPointerEvent& aPointerEvent);
       
    71 
       
    72 	private: // data
       
    73 
       
    74 		CEikButtonGroupContainer* iPopoutCba;
       
    75 
       
    76         /** Remote lock status */
       
    77 		TInt& iRemoteLockStatus;
       
    78 		TInt iPrevSelectionItem;
       
    79 	};
       
    80 
       
    81 
       
    82 
       
    83 #endif 
       
    84 
       
    85 
       
    86 
       
    87 // End of file
       
    88 
       
    89