|
1 /* |
|
2 * Copyright (c) 2002 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 * Implements MPbkFieldEditorVisitor for Japanese reading fields. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef __CPbkReadingEditorBinderVisitor_H__ |
|
21 #define __CPbkReadingEditorBinderVisitor_H__ |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32base.h> |
|
25 #include <PbkFields.hrh> |
|
26 #include "MPbkFieldEditorVisitor.h" |
|
27 |
|
28 |
|
29 // FORWARD DECLARATIONS |
|
30 class CReadingConverter; |
|
31 |
|
32 // CLASS DECLARATION |
|
33 |
|
34 /** |
|
35 * Implements MPbkEditorBinderVisitor for Japanese reading fields. |
|
36 */ |
|
37 NONSHARABLE_CLASS(CPbkReadingEditorBinderVisitor) : |
|
38 public CBase, |
|
39 public MPbkFieldEditorVisitor |
|
40 { |
|
41 public: // Construction |
|
42 /** |
|
43 * Creates a new instance of this class. |
|
44 */ |
|
45 static CPbkReadingEditorBinderVisitor* NewL(); |
|
46 |
|
47 /** |
|
48 * Destructor. |
|
49 */ |
|
50 ~CPbkReadingEditorBinderVisitor(); |
|
51 |
|
52 public: // New methods |
|
53 |
|
54 /** |
|
55 * Prepares the binder for destruction of an editor |
|
56 */ |
|
57 void NotifyEditorDeletion( TPbkFieldId aFieldId ); |
|
58 |
|
59 public: // from MPbkFieldEditorVisitor |
|
60 void VisitL(MPbkFieldEditorControl& aThis); |
|
61 |
|
62 private: // implementation |
|
63 CPbkReadingEditorBinderVisitor(); |
|
64 |
|
65 private: // data |
|
66 ///Own: converter for first name field |
|
67 CReadingConverter* iFirstNameConverter; |
|
68 ///Own: converter for last name field |
|
69 CReadingConverter* iLastNameConverter; |
|
70 }; |
|
71 |
|
72 #endif // __CPbkReadingEditorBinderVisitor_H__ |
|
73 |
|
74 // End of File |