|
1 /* |
|
2 * Copyright (c) 2002-2005 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: definition of popup state of IME Split-Qwerty |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_PENINPUTSPLITQWERTYUISTATEPOPUP_H |
|
20 #define C_PENINPUTSPLITQWERTYUISTATEPOPUP_H |
|
21 |
|
22 // System includes |
|
23 #include <peninputuistatebase.h> |
|
24 |
|
25 // Forward declarations |
|
26 class MPeninputUiStateMgr; |
|
27 class MPeninputLayoutContext; |
|
28 |
|
29 /** |
|
30 * class CPeninputSplitQwertyUiStatePopup |
|
31 * |
|
32 * @lib peninputsplitqwerty.lib |
|
33 * @since S60 v5.0 |
|
34 */ |
|
35 class CPeninputSplitQwertyUiStatePopup : public CPeninputUiStateBase |
|
36 { |
|
37 |
|
38 public: |
|
39 |
|
40 /** |
|
41 * Symbian constructor |
|
42 * |
|
43 * @since S60 v5.0 |
|
44 * @param aUiStateMgr The vkb ui state manager |
|
45 * @param aContext The vkb layout context |
|
46 * @return The pointer to created object |
|
47 */ |
|
48 static CPeninputSplitQwertyUiStatePopup* NewL( |
|
49 MPeninputUiStateMgr* aUiStateMgr, |
|
50 MPeninputLayoutContext* aContext ); |
|
51 |
|
52 /** |
|
53 * C++ destructor |
|
54 * |
|
55 * @since S60 v5.0 |
|
56 * @return None |
|
57 */ |
|
58 virtual ~CPeninputSplitQwertyUiStatePopup(); |
|
59 |
|
60 public: // From base class CPeninputUiStateBase |
|
61 /** |
|
62 * From CPeninputUiStateBase |
|
63 * Process key event |
|
64 * |
|
65 * @since S60 v5.0 |
|
66 * @param aData Carry information of key pressed |
|
67 * @return ETrue means event was responsed, otherwise EFalse |
|
68 */ |
|
69 virtual TBool HandleKeyEventL( const TRawEvent& aData ); |
|
70 |
|
71 /** |
|
72 * From CPeninputUiStateBase |
|
73 * process internal event |
|
74 * |
|
75 * @since S60 v5.0 |
|
76 * @param aEventType The internal event type |
|
77 * @param aEventData The internal event data |
|
78 * @return ETrue means event was responsed, otherwise EFalse |
|
79 */ |
|
80 virtual TBool HandleControlEvent( TInt aEventType, const TDesC& aEventData ); |
|
81 |
|
82 protected: |
|
83 |
|
84 /** |
|
85 * C++ constructor |
|
86 * |
|
87 * @since S60 v5.0 |
|
88 * @param aUiStateMgr The vkb ui state manager |
|
89 * @param aContext The vkb layout context |
|
90 * @return None |
|
91 */ |
|
92 CPeninputSplitQwertyUiStatePopup( MPeninputUiStateMgr* aUiStateMgr, |
|
93 MPeninputLayoutContext* aContext ); |
|
94 }; |
|
95 |
|
96 #endif // C_PENINPUTSPLITQWERTYUISTATEPOPUP_H |