1.1 --- a/epoc32/include/mw/aknnumseced.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/mw/aknnumseced.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,104 @@
1.4 -aknnumseced.h
1.5 +/*
1.6 +* Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).
1.7 +* All rights reserved.
1.8 +* This component and the accompanying materials are made available
1.9 +* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
1.10 +* which accompanies this distribution, and is available
1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.12 +*
1.13 +* Initial Contributors:
1.14 +* Nokia Corporation - initial contribution.
1.15 +*
1.16 +* Contributors:
1.17 +*
1.18 +* Description: An editor for a numeric password
1.19 +*
1.20 +*/
1.21 +
1.22 +
1.23 +#if !defined(__AKNNUMSECED_H__)
1.24 +#define __AKNNUMSECED_H__
1.25 +
1.26 +// INCLUDES
1.27 +#if !defined(__EIKBCTRL_H__)
1.28 +#include <eikbctrl.h>
1.29 +#endif
1.30 +
1.31 +#include <eikseced.h>
1.32 +
1.33 +// CLASS DECLARATION
1.34 +
1.35 +/**
1.36 +* An editor for a numeric password.
1.37 +* Implementation of Avkon numeric secret editor which expands
1.38 +* @c CEikSecretEditor to better cope with numeric passwords e.g. PINs.
1.39 +*
1.40 +* @since Series 60 0.9
1.41 +*/
1.42 +class CAknNumericSecretEditor : public CEikSecretEditor
1.43 + {
1.44 +public:
1.45 + /**
1.46 + * C++ default constructor.
1.47 + */
1.48 + IMPORT_C CAknNumericSecretEditor();
1.49 +
1.50 + /**
1.51 + * Destructor.
1.52 + */
1.53 + ~CAknNumericSecretEditor();
1.54 +
1.55 +public: // from CCoeControl
1.56 +
1.57 + /**
1.58 + * From @c CCoeControl. Gets the control's input capabilities.
1.59 + * Gets input capabilities that describe which forms of text input are
1.60 + * consumed by a control.
1.61 + *
1.62 + * If this function is overrided in a subclass, the subclass should
1.63 + * obtain this class' InputCapabilities' object provider through
1.64 + * TCoeInputCapabilities::ObjectProvider() and set that as a part of
1.65 + * the subclass' InputCapabilities object provider chain to ensure
1.66 + * maximum functionality.
1.67 + *
1.68 + * @return The control's input capabilities.
1.69 + */
1.70 + IMPORT_C virtual TCoeInputCapabilities InputCapabilities() const;
1.71 + IMPORT_C void HandlePointerEventL(const TPointerEvent& aPointerEvent);
1.72 +protected:
1.73 + // methods to enable CAknNumericSecretEditor to inherit from
1.74 + // CEikSecretEditor
1.75 +
1.76 + /**
1.77 + * Appends a character to the password.
1.78 + * @param aKeyCode A numeric character to be appended to the password.
1.79 + */
1.80 + IMPORT_C virtual void AppendCharacterL( TInt aKeyCode );
1.81 +
1.82 + /**
1.83 + * Creates a FEP state handler (@c CAknEdwinState ) with default values.
1.84 + * @return A Pointer to a FEP state handler.
1.85 + */
1.86 + IMPORT_C virtual MCoeFepAwareTextEditor_Extension1::CState* CreateFepStateL();
1.87 +private: // from CCoeControl
1.88 + IMPORT_C void Reserved_1();
1.89 + IMPORT_C void Reserved_2();
1.90 +private:
1.91 + /**
1.92 + * From CAknControl
1.93 + */
1.94 + IMPORT_C void* ExtensionInterface( TUid aInterface );
1.95 +
1.96 +private: // from MCoeFepAwareTextEditor
1.97 + IMPORT_C void MCoeFepAwareTextEditor_Reserved_2();
1.98 +private: // from MCoeFepAwareTextEditor_Extension1
1.99 + IMPORT_C virtual void MCoeFepAwareTextEditor_Extension1_Reserved_2();
1.100 + IMPORT_C virtual void MCoeFepAwareTextEditor_Extension1_Reserved_3();
1.101 + IMPORT_C virtual void MCoeFepAwareTextEditor_Extension1_Reserved_4();
1.102 +private: // Data
1.103 + TInt iSpare;
1.104 + };
1.105 +
1.106 +#endif // AKNNUMSECED_H
1.107 +
1.108 +// End of File