|
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 #ifndef C_WESTERNITUTUISTATESPELLING_H |
|
19 #define C_WESTERNITUTUISTATESPELLING_H |
|
20 |
|
21 #include "peninputsplititutuistatebase.h" |
|
22 |
|
23 class CFepLayoutMultiLineIcf; |
|
24 class CAknFepCtrlCommonButton; |
|
25 |
|
26 class CWesternSplitItutUiStateSpelling : public CSplitItutUiStateBase |
|
27 { |
|
28 public: |
|
29 static CWesternSplitItutUiStateSpelling* NewL(CSplitItutUiMgrBase* aOwner); |
|
30 |
|
31 ~CWesternSplitItutUiStateSpelling(); |
|
32 |
|
33 void OnExit(); |
|
34 |
|
35 void OnEntryL(); |
|
36 |
|
37 CSplitItutUiMgrBase::TUiState StateType(); |
|
38 |
|
39 TInt HandleCommandL(TInt aCmd, TUint8* aData); |
|
40 |
|
41 TBool HandleCtrlEventL(TInt aEventType, |
|
42 CFepUiBaseCtrl* aCtrl, |
|
43 const TDesC& aEventData); |
|
44 |
|
45 protected: |
|
46 CWesternSplitItutUiStateSpelling(CSplitItutUiMgrBase* aOwner); |
|
47 void ConstructL(); |
|
48 void CreateTextBtnIfNeededL(CAknFepCtrlCommonButton*& aBtn, |
|
49 TInt aCtrlId, |
|
50 TInt aCtrlPos, |
|
51 TInt aTextResId, |
|
52 TAknTextLineLayout aTextFormat); |
|
53 void ReCalcLayoutL(); |
|
54 private: |
|
55 CFepLayoutMultiLineIcf* iICF; |
|
56 CAknFepCtrlCommonButton* iOk; |
|
57 CAknFepCtrlCommonButton* iCancel; |
|
58 }; |
|
59 |
|
60 #endif //C_WESTERNITUTUISTATESPELLING_H |