aknnumed.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : AknNumed.h
00004 *  Part of     : EikCtl
00005 *  
00006 *  Description : Intermediate class for defining data shared between numeric 
00007 *                edwins  
00008 *  Version     :
00009 *
00010 *  Copyright © 2002-2004 Nokia. All rights reserved.
00011 *  This material, including documentation and any related 
00012 *  computer programs, is protected by copyright controlled by 
00013 *  Nokia. All rights are reserved. Copying, including 
00014 *  reproducing, storing, adapting or translating, any 
00015 *  or all of this material requires the prior written consent of 
00016 *  Nokia. This material also contains confidential 
00017 *  information which may not be disclosed to others without the 
00018 *  prior written consent of Nokia.
00019 * ==============================================================================
00020 */
00021 #if !defined(__AKNNUMED_H_)
00022 #define __AKNNUMED_H_
00023 
00024 //  INCLUDES
00025 #include <eikedwin.h>
00026 
00027 
00028 // CLASS DECLARATION
00029 
00035 class CAknNumericEdwin : public CEikEdwin
00036         {
00037 public:
00041         IMPORT_C virtual ~CAknNumericEdwin();
00042         
00048         enum TValidationStatus
00049                 {
00050                 EValueValid = KErrNone,
00051                 EValueTooSmall,   
00052                 EValueTooLarge,   
00053                 EValueNotParsed,  
00054                 EEmpty            
00055                 };
00056 
00057     // From CCoeControl
00058     IMPORT_C void HandlePointerEventL(const TPointerEvent& aPointerEvent);
00059 
00060 protected:
00069         IMPORT_C void MapKeyEvent(
00070                 TKeyEvent& aKeyEvent,
00071                 TEventCode& /*aType*/, 
00072                 TDigitType aDigitType) const;
00073 
00074 
00075 private:
00079     IMPORT_C void* ExtensionInterface( TUid aInterface );
00080 private: // from CEikEdwin
00081                 IMPORT_C virtual void Reserved_3();
00082 private:                
00083                 TInt iSpare; // Needs at least some data
00084         };
00085 
00086 
00087 #endif

Copyright © Nokia Corporation 2001-2008
Back to top