textinput/peninputhwrboxjp/inc/peninputhwrevent.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:  Enum values of events broadcasted by control to observers
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef T_TAKNFEPHWRBXEVENT_H
       
    20 #define T_TAKNFEPHWRBXEVENT_H
       
    21 
       
    22 /**
       
    23  *  TPeninputLayoutHwrEvent
       
    24  *
       
    25  *  defines the events from internal controls. Those events are sent 
       
    26  *  by controls via calling ReportEvent() 
       
    27  *
       
    28  *  @lib peninputhwrboxjp.lib
       
    29  *  @since S60 v3.2
       
    30  */
       
    31 // EPenInputEventJpLast = 3000      // hwr event starts from here
       
    32 enum TPeninputLayoutHwrEvent
       
    33     {
       
    34     //This definition is user begin writing on box
       
    35     EPeninputLayoutHwrEventBeginWriting = 3000,
       
    36     
       
    37     //This definition is user begin writing on a non-active box
       
    38     EPeninputLayoutHwrEventNewWriting,
       
    39 
       
    40     //This definition is one stroke writing end on box
       
    41     EPeninputLayoutHwrEventEndStroke,
       
    42 
       
    43     //This definition is user finish writing on box for a while
       
    44     EPeninputLayoutHwrEventEndWriting,
       
    45     
       
    46     //This definition is user select a candidate
       
    47     EPeninputLayoutHwrEventCandidateSelected,
       
    48 
       
    49     //This definition is user click out of window
       
    50     EPeninputLayoutHwrEventPointerOutsideWnd,
       
    51 
       
    52     EPeninputLayoutHwrEventStrokeEndMark,
       
    53 
       
    54     // set candidate list to the dropdownlist control
       
    55     EPeninputLayoutHwrEventCandidates,
       
    56 
       
    57     // dropdownlist expanded
       
    58     EPeninputLayoutHwrEventDropDownListExpanded,
       
    59 
       
    60     // show character range switch popup
       
    61     EPeninputLayoutEventSwitchCharacterRange,
       
    62 
       
    63     // close character range switch popup
       
    64     EPeninputLayoutEventCloseCharacterRange,
       
    65 
       
    66     EPeninputLayoutEventSetCharacterRangeText,
       
    67 
       
    68     // Conversion button disable/enable
       
    69     EPeninputLayoutEventSetConversion,
       
    70 
       
    71     // from generic
       
    72     EPeninputLayoutHwrEventPenColorChange,
       
    73     EPeninputLayoutHwrEventPenSizeChange,    
       
    74     EPeninputLayoutHwrEventWritingSpeedChange,
       
    75 
       
    76     //This definition is the last event
       
    77     EPeninputLayoutHwrEventLast
       
    78     };
       
    79 
       
    80 /**  
       
    81  * Hwr Character Range id
       
    82  */
       
    83 enum TPeninputCharacterRangeId
       
    84     {
       
    85     EPeninutCharacterRangeIdAll,
       
    86     EPeninutCharacterRangeIdKanaKanji,
       
    87     EPeninutCharacterRangeIdLatin,
       
    88     EPeninutCharacterRangeIdNumber,
       
    89     EPeninutCharacterRangeIdLast
       
    90     };
       
    91 
       
    92 #endif //T_TAKNFEPHWRBXEVENT_H
       
    93 
       
    94 // End Of File