diff -r bad0cc58d154 -r c74b3d9f6b9e wlansecuritysettings/wepsecuritysettingsui/inc/WepKeyDataTextSettingPage.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wlansecuritysettings/wepsecuritysettingsui/inc/WepKeyDataTextSettingPage.h Wed Sep 01 12:23:57 2010 +0100 @@ -0,0 +1,68 @@ +/* +* Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of the License "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Declaration of class CWEPKeyDataTextSettingPage. +* +*/ + +/* +* %version: tr1cfwln#10 % +*/ + +#ifndef WEPKEYDATA_TEXT_SETTING_PAGE_H +#define WEPKEYDATA_TEXT_SETTING_PAGE_H + + +// INCLUDE FILES +#include +#include +#include "WepSecuritySettingsDefs.h" + + +// CLASS DECLARATION + +/* +* Setting page for KeyData text. Overrides standard CAknTextSettingPage +* to set some parameters at runtime, according to the KeyFormat +*/ +NONSHARABLE_CLASS( CWEPKeyDataTextSettingPage ) : public CAknTextSettingPage + { + public: // Constructors + + /** + * Constructor. + * @param aText Reference to text for editing + * @param aMaxLength Number of characters to be entered + * @param aWEPKeyFormat Format of data (EAscii or EHexadecimal) + */ + CWEPKeyDataTextSettingPage( TDes& aText, TInt aMaxLength, + CWEPSecuritySettings::TWEPKeyFormat aWEPKeyFormat ); + + /** + * Constructs the setting page. Called by ExecuteLD + */ + virtual void ConstructL(); + + private: + + // Number of characters to be entered + TInt iLengthOfKeyData; + + // Format of data (EAscii or EHexadecimal) + CWEPSecuritySettings::TWEPKeyFormat iWEPKeyFormat; + }; + + +#endif + +// End of file