equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007 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: Declaration of MFsTextInputFieldObserver interface |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef M_FSFTEXTINPUTFIELDOBSERVER_H |
|
20 #define M_FSFTEXTINPUTFIELDOBSERVER_H |
|
21 |
|
22 class CFsTextInputField; |
|
23 |
|
24 |
|
25 /** |
|
26 * Observer interface for CFsTextInputField. |
|
27 * The observer is informed about changes in a text. |
|
28 * |
|
29 */ |
|
30 class MFsTextInputFieldObserver |
|
31 { |
|
32 public: |
|
33 |
|
34 /** |
|
35 * ... |
|
36 */ |
|
37 enum TFsTextInputEventType |
|
38 { |
|
39 EEventTextUpdated |
|
40 }; |
|
41 |
|
42 /** |
|
43 * This will be called when the user enters some text into the text |
|
44 * input field. This will also called when the text input field is |
|
45 * cleared. |
|
46 * |
|
47 * @param aTextInputField The text input field which invoked the method. |
|
48 * @param aEventType The event passed to the observer. |
|
49 */ |
|
50 IMPORT_C virtual void HandleTextInputEventL( |
|
51 CFsTextInputField* aTextInputField, |
|
52 TFsTextInputEventType aEventType )=0; |
|
53 }; |
|
54 |
|
55 |
|
56 #endif // M_FSFTEXTINPUTFIELDOBSERVER_H |