fep/aknfep/inc/aknfepzhuyinkeyhandlerinterface.h
changeset 36 a7632c26d895
parent 35 0f326f2e628e
child 42 b3eaa440ab06
equal deleted inserted replaced
35:0f326f2e628e 36:a7632c26d895
     1 /*
       
     2 * Copyright (c) 2009 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:          
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 
       
    27 /**
       
    28  * aknfepzhuyinkeyhandlerinterface.h
       
    29  * 
       
    30  */
       
    31 #ifndef M_AKNFEPZHUYINKEYHANDLERINTERFACE_H
       
    32 #define M_AKNFEPZHUYINKEYHANDLERINTERFACE_H
       
    33 
       
    34 #include <e32std.h>
       
    35 
       
    36 class MZhuyinKeyHandler
       
    37     {
       
    38 public:
       
    39     enum TStatusChgFlag
       
    40     {
       
    41     EInit,
       
    42     EFromSpellingEditingToEntry,
       
    43     EFromCandidateToEntry
       
    44     };
       
    45     virtual TInt GetZhuyinSymbol ( TPtiKey aKey, TDes& aOutBuf ) = 0;
       
    46     virtual void Reset() = 0;
       
    47     virtual TInt GetToneMark ( const TDes& aBaseSymbol, TDes& aOutBuf ) = 0;
       
    48     virtual void SetState( TInt aState ) = 0;
       
    49     virtual TInt GetState() = 0;
       
    50     virtual void SetStatusChgFlag ( TStatusChgFlag aChgFlag ) = 0;
       
    51     virtual TStatusChgFlag GetStatusChgFlag () = 0;
       
    52     };
       
    53 
       
    54 #endif /*M_AKNFEPZHUYINKEYHANDLERINTERFACE_H*/