|
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: LandmarksUi Content File - Landmark editor field factory class. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 #ifndef __LMKEDITORFIELDFACTORY_H__ |
|
25 #define __LMKEDITORFIELDFACTORY_H__ |
|
26 |
|
27 #include <e32std.h> |
|
28 // FORWARD DECLARATIONS |
|
29 class MLmkEditorField; |
|
30 class MLmkFieldData; |
|
31 class MLmkEditorUiBuilder; |
|
32 |
|
33 |
|
34 // CLASS DECLARATION |
|
35 |
|
36 /** |
|
37 * Landmark editor field factory class. |
|
38 */ |
|
39 class LmkEditorFieldFactory |
|
40 { |
|
41 public: // destructor |
|
42 /** |
|
43 * Factory for creating lmk editor fields. |
|
44 * @param aField field which is created |
|
45 * @param aUiBuilder UI builder |
|
46 * @return a contact editor field. |
|
47 */ |
|
48 static MLmkEditorField* CreateFieldL( |
|
49 MLmkFieldData& aField, |
|
50 MLmkEditorUiBuilder& aUiBuilder ); |
|
51 |
|
52 static MLmkEditorField* CreateFieldL( |
|
53 MLmkFieldData& aField, |
|
54 MLmkEditorUiBuilder& aUiBuilder, |
|
55 const TDesC& aCategoryName ); |
|
56 }; |
|
57 |
|
58 #endif // __LMKEDITORFIELDFACTORY_H__ |
|
59 |
|
60 // End of File |