phoneapp/phoneuicontrol/inc/cphonekeyeventforwarder.h
branchRCL_3
changeset 25 91c2fb4b78df
parent 19 544e34b3255a
child 31 ba54057fe027
equal deleted inserted replaced
19:544e34b3255a 25:91c2fb4b78df
   178         */
   178         */
   179         void HandleLongPressKeyEventL();
   179         void HandleLongPressKeyEventL();
   180         
   180         
   181         /**
   181         /**
   182          * Checks from the statemachine is the given keyevent 
   182          * Checks from the statemachine is the given keyevent 
   183          * from one of the allowed characters
   183          * one which produces a legal character in the current mode.
   184          */
   184          */
   185         TBool IsAlphaNumericKey( const TKeyEvent& aKeyEvent );
   185         TBool IsKeyAllowed( const TKeyEvent& aKeyEvent );
   186                 
   186                 
   187         /**
   187         /**
   188          * Checks is the given key special character (*, 0, # ) from half-qwerty
   188          * Checks is the given key special character (*, 0, # ) from half-qwerty
   189          * keyboard and conver key code if needed.
   189          * keyboard and conver key code if needed.
   190          */
   190          */
   194          * Checks if key should be blocked from phone.
   194          * Checks if key should be blocked from phone.
   195          * 
   195          * 
   196          * @ return ETrue if alpha mode, EFalse otherwise.
   196          * @ return ETrue if alpha mode, EFalse otherwise.
   197          */
   197          */
   198         TBool IsKeyBlocked( const TKeyEvent& aKeyEvent ) const;
   198         TBool IsKeyBlocked( const TKeyEvent& aKeyEvent ) const;
       
   199         
       
   200         /**
       
   201          * Test if key has flags indicating that it has been simulated by the
       
   202          * touch dialer.
       
   203          */
       
   204         TBool IsKeySimulatedByTouchDialer( const TKeyEvent& aKeyEvent ) const;
   199         
   205         
   200         /**
   206         /**
   201          * Handles dialer key event. This includes handling multitapping of *-key. 
   207          * Handles dialer key event. This includes handling multitapping of *-key. 
   202          * If multitap happens, function creates back space event 
   208          * If multitap happens, function creates back space event 
   203          * to delete previous character, and replaces it with
   209          * to delete previous character, and replaces it with
   204          * the next one in the cyclig character list *+pw.
   210          * the next one in the cyclig character list *+pw.
   205          */
   211          */
   206         void HandleTouchDialerKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType );
   212         void HandleTouchDialerKeyEventL( const TKeyEvent& aKeyEvent );
   207 
   213 
   208     private:    // Data
   214     private:    // Data
   209         
   215         
   210         /**
   216         /**
   211         * State machine
   217         * State machine