|
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_WESTERNITUTUISTATEMATCHSELECTION_H |
|
19 #define C_WESTERNITUTUISTATEMATCHSELECTION_H |
|
20 |
|
21 #include "peninputgenericitutuistatebase.h" |
|
22 |
|
23 class CFepLayoutScrollableList; |
|
24 class CFepLayoutMultiLineIcf; |
|
25 |
|
26 class CWesternItutUiStateMatchSelection : public CGenericItutUiStateBase |
|
27 { |
|
28 public: |
|
29 static CWesternItutUiStateMatchSelection* NewL(CGenericItutUiMgrBase* aOwner); |
|
30 |
|
31 ~CWesternItutUiStateMatchSelection(); |
|
32 |
|
33 void OnExit(); |
|
34 |
|
35 void OnEntryL(); |
|
36 |
|
37 CGenericItutUiMgrBase::TUiState StateType(); |
|
38 |
|
39 TInt HandleCommandL(TInt aCmd, TUint8* aData); |
|
40 |
|
41 TBool HandleCtrlEventL(TInt aEventType, CFepUiBaseCtrl* aCtrl, const TDesC& aEventData); |
|
42 |
|
43 protected: |
|
44 CWesternItutUiStateMatchSelection(CGenericItutUiMgrBase* aOwner); |
|
45 void ConstructL(); |
|
46 |
|
47 private: |
|
48 void ReportItemSelected(TInt aCmdId, TInt aIdx, TBool aCommit); |
|
49 void ReportItemSelected(TInt aCmdId, TInt aIdx); |
|
50 void SetMatchSelListLTPosAndDisplay(); |
|
51 |
|
52 private: |
|
53 CFepLayoutScrollableList* iSelList; |
|
54 RPointerArray<HBufC> iCandlist; |
|
55 CFepLayoutMultiLineIcf* iIcf; |
|
56 HBufC* iSpellText; |
|
57 }; |
|
58 |
|
59 #endif //C_WESTERNITUTUISTATEMATCHSELECTION_H |