textinput/peninputsplititut/inc/peninputsplititutlayoutcontext.h
branchRCL_3
changeset 44 ecbabf52600f
equal deleted inserted replaced
43:ebd48d2de13c 44:ecbabf52600f
       
     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 #ifndef M_SPLITITUTLAYOUTCONTEXT_H
       
    18 #define M_SPLITITUTLAYOUTCONTEXT_H
       
    19 
       
    20 #include <e32base.h>
       
    21 
       
    22 class CFepUiBaseCtrl;
       
    23 class CSplitItutDataMgr;
       
    24 class CFepUiLayout;
       
    25 class CSplitItutWindowManager;
       
    26 
       
    27 enum TArrowBtns
       
    28     {
       
    29     EBtnArrowLeft = 0x01,
       
    30     EBtnArrowRight = 0x02,
       
    31     EBtnArrowUp = 0x04,
       
    32     EBtnArrowDown = 0x08
       
    33     };
       
    34     
       
    35 enum TLandscapeBtns
       
    36     {
       
    37     EBtnOptions = 0x01,
       
    38     EBtnClose = 0x02
       
    39     };
       
    40 
       
    41 class MSplitItutLayoutContext
       
    42     {
       
    43 public:
       
    44     virtual CFepUiBaseCtrl* Control(TInt aCtrlId) = 0;
       
    45     virtual void SubmitText(const TDesC& aEventData) = 0;
       
    46     virtual void ShowArrowBtn(TInt aShowFlag) = 0;
       
    47     virtual CSplitItutDataMgr* DataMgr() = 0;
       
    48     // customized resource manager
       
    49     virtual CFepUiLayout* UiLayout() = 0;
       
    50     virtual TBool IsSecretEdtior() = 0;
       
    51     virtual void ApplyVariantLafDataL(TBool aResolutionChange = EFalse) = 0;
       
    52     virtual void ApplyVariantLafDataForSpellL() = 0;
       
    53     virtual CSplitItutWindowManager* UiManager() = 0;
       
    54     };
       
    55 
       
    56 #endif //M_SPLITITUTLAYOUTCONTEXT_H