textinput/peninputgenerichwr/inc/peninputhwrboxarabicstatecandidateselecting.h
changeset 0 eb1f2e154e89
equal deleted inserted replaced
-1:000000000000 0:eb1f2e154e89
       
     1 /*
       
     2 * Copyright (c) 2002-2007 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:  Interface of hwr pen candidateselecting ui state
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_PENINPUTHWRBOXUISTATEPENCANDIDATESELECTING_H
       
    20 #define C_PENINPUTHWRBOXUISTATEPENCANDIDATESELECTING_H
       
    21 
       
    22 // user includes
       
    23 #include "peninputhwrarabicstate.h"
       
    24 
       
    25 /**
       
    26  *  Hwr pen candidateselecting ui state
       
    27  *  It provides key event handling and internal event handling in pen candidateselecting ui state
       
    28  *
       
    29  *  @lib peninputhwrboxjp.lib
       
    30  *  @since S60 v3.2
       
    31  */
       
    32 class CPeninputHwrBxAbStateCandidateSelecting : public CPeninputHwrBxAbStateBase
       
    33     {
       
    34 public:
       
    35 
       
    36     /**
       
    37      * Two-phased constructor.
       
    38      *
       
    39      * @since S60 v3.2
       
    40      * @param aUiStateMgr The common ui state manager
       
    41      * @param aContext The common layout context
       
    42      * @return The pointer point to CPeninputHwrBxAbStateCandidateSelecting type object
       
    43      */
       
    44     static CPeninputHwrBxAbStateCandidateSelecting* NewL(MPeninputUiStateMgr* aUiStateMgr, MPeninputLayoutContext* aContext);
       
    45 
       
    46     /**
       
    47      * Destructor.
       
    48      *
       
    49      * @since S60 v3.2
       
    50      */
       
    51     virtual ~CPeninputHwrBxAbStateCandidateSelecting();
       
    52 
       
    53     /**
       
    54      * From CPeninputUiStateBase
       
    55      * process internal event
       
    56      *
       
    57      * @since S60 v3.2
       
    58      * @param aEventType The internal event type
       
    59      * @param aEventData The internal event data
       
    60      * @return ETrue means event was responsed, otherwise EFalse
       
    61      */
       
    62     virtual TBool HandleControlEvent(TInt /*aEventType*/, const TDesC& /*aEventData*/) {return EFalse;}
       
    63      
       
    64     void HandleControlEventPenL( TInt aEventType, 
       
    65                                       const TDesC& aEventData, CPeninputHwrBxAbLayout& aUiLayout, TDes& aCharCode, TBool& aHandled  );
       
    66 protected:
       
    67 
       
    68     /**
       
    69      * C++ default constructor.
       
    70      *
       
    71      * @since S60 v3.2
       
    72      * @param aUiStateMgr The common ui state manager
       
    73      * @param aContext The common layout context
       
    74      */
       
    75     CPeninputHwrBxAbStateCandidateSelecting(MPeninputUiStateMgr* aUiStateMgr, MPeninputLayoutContext* aContext);
       
    76     };
       
    77 
       
    78 #endif  // C_PENINPUTHWRBOXUISTATEPENCANDIDATESELECTING_H
       
    79 
       
    80 // End Of File