textinput/peninputsplititut/inc/peninputsplititutchnuistatestrokezhuyincomposition.h
changeset 0 eb1f2e154e89
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/textinput/peninputsplititut/inc/peninputsplititutchnuistatestrokezhuyincomposition.h	Tue Feb 02 01:02:04 2010 +0200
@@ -0,0 +1,114 @@
+/*
+* Copyright (c) 2009 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:
+*
+*/
+#ifndef C_CHNSPLITITUTUISTATESTROKEZHUYINCOMPOSITION_H
+#define C_CHNSPLITITUTUISTATESTROKEZHUYINCOMPOSITION_H
+
+#include "peninputsplititutuistatebase.h"
+
+/**
+ *  class CChnSplitItutUiStateStrokeZhuyinComposition.
+ *
+ *  chinese split itu-t predict state
+ *
+ *  @lib peninputsplititut.lib
+ *  @since S60 v5.0
+ */
+class CChnSplitItutUiStateStrokeZhuyinComposition : public CSplitItutUiStateBase
+    {
+public:
+    /** 
+     * Symbian constructor.
+     *
+     * @since S60 5.0
+     * 
+     * @param aOwner
+     * @return Pointer to created CChnSplitItutUiStateStrokeZhuyinComposition object
+     */
+    static CChnSplitItutUiStateStrokeZhuyinComposition* NewL(CSplitItutUiMgrBase* aOwner);
+
+    /**
+     * standard c++ destructor.
+     *
+     * @since S60 5.0
+     * @return none
+     */
+    ~CChnSplitItutUiStateStrokeZhuyinComposition();
+
+    /**
+     * From CSplitItutUiStateBase
+     * exit current state
+     *
+     * @since S60 5.0
+     * @return none
+     */
+    void OnExit();
+
+    /**
+     * From CSplitItutUiStateBase
+     * exit current state
+     *
+     * @since S60 5.0
+     * @return none
+     */
+    void OnEntryL();
+
+    /**
+     * From CSplitItutUiStateBase
+     * exit current state
+     *
+     * @since S60 5.0
+     * @return 
+     */
+    CSplitItutUiMgrBase::TUiState StateType();
+
+    /**
+     * From CSplitItutUiStateBase
+     * handle key event
+     *
+     * @since S60 5.0
+     * @param aCmd
+     * @param aKey
+     * @return none
+     */
+    TBool HandleKeyL(TInt aCmd, TInt aKey);
+
+    /**
+     * From CSplitItutUiStateBase
+     * handle control event
+     *
+     * @since S60 5.0
+     * @param aEventType
+     * @param aCtrl
+     * @param aEventData
+     * @return none
+     */
+    TBool HandleCtrlEventL( TInt aEventType, 
+                            CFepUiBaseCtrl* aCtrl, 
+                            const TDesC& aEventData);
+
+protected:
+    /**
+     * C++ constructor
+     *
+     * @since S60 5.0
+     * @param aOwner
+     * @return none
+     */
+    CChnSplitItutUiStateStrokeZhuyinComposition(CSplitItutUiMgrBase* aOwner);
+    };
+
+#endif //C_CHNSPLITITUTUISTATESTROKEZHUYINCOMPOSITION_H
\ No newline at end of file