fep/aknfep/inc/AknFepUiInputStateChineseBase.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 15 Sep 2010 12:34:44 +0300
branchRCL_3
changeset 50 5a1685599b76
parent 0 eb1f2e154e89
child 56 8152b1f1763a
permissions -rw-r--r--
Revision: 201035 Kit: 201036

/*
* Copyright (c) 2003 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0""
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:            Provides the TAknFepInputStateChineseBase definition.
*
*/












#ifndef __AKN_FEP_UI_INPUTSTATE_CHINESE_BASE_H__
#define __AKN_FEP_UI_INPUTSTATE_CHINESE_BASE_H__

// INCLUDES
#include <e32std.h>

#include <avkon.hrh>
#include <uikon.hrh>
#include <AknFepGlobalEnums.h>
#include "AknFepUiInputStateBase.h"
#include "AknFepUiCtrlContainerChinese.h"

#include "aknfepuiinputminiqwertysogoupinyinphraseplugin.h"
#include "aknfepuiinputminiqwertysogoustrokephraseplugin.h"

// CONSTANTS

// FORWARD DECLARATIONS

// CLASS DECLARATION
//class TAknFepInputStateBase;
class MAknFepUIManagerStateInterface;
//class MAknFepUICtrlContainerChinese;

/**
*  TAknFepInputStateChineseBase class.
*
*  @lib AknFep.lib
*  @since 2.6
*/
class TAknFepInputStateChineseBase : public TAknFepInputStateBase
    {
public: // Constructors and destructor
    /**
     * Constructor
     * @since 2.6
     * @param aOwner 
     * @param aUIContainer 
     */
    TAknFepInputStateChineseBase(MAknFepUIManagerStateInterface* aOwner,
                                    MAknFepUICtrlContainerChinese* aUIContainer);
    
public:
    // A patch to force the vtable to be copied during an assignment.
    void operator=(const TAknFepInputStateBase& aState);

    /**
     * A patch to force the vtable to be copied during an assignment.
     * 
     * @param aState
     */
    void operator=(const TAknFepInputStateChineseBase& aState);
    /**
     * Getting UI container object
     * @since 2.6
     * @return Japanese UI container object
     */
    MAknFepUICtrlContainerChinese* UIContainer();
    /**
     * Handling Command events.
     * This Method is called by CAknFepUIManagerJapanese.
     *
     * @param aCommandId Command ID value
     */
    void HandleCommandL( TInt aCommandId );
    
    /**
     * Set plugin to state machine.
     * This Method is called by CAknFepUIManagerChinese.
     *
     * @param aPlugin the plugin for sogou core
     */
    void SetPlugin( TAknFepInputMiniQwertySogouPinyinPhrasePlugin aPlugin );
    
    /**
     * Set stroke plugin to state machine.
     * This Method is called by CAknFepUIManagerChinese.
     *
     * @param aPlugin the stroke plugin for sogou core
     */
    void SetStrokePlugin( TAknFepInputMiniQwertySogouStrokePhrasePlugin aPlugin );

protected:
    MAknFepUICtrlContainerChinese* iUIContainer;
    
   TBool iUseforResourcechange;    
   
   // The plugin for sogou core.
   TAknFepInputMiniQwertySogouPinyinPhrasePlugin iPlugin;
   
   // The stroke plugin for sogou core
   TAknFepInputMiniQwertySogouStrokePhrasePlugin iStrokePlugin;
    };
#endif//__AKN_FEP_UI_INPUTSTATE_CHINESE_BASE_H__
// End of file