equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002-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: A factory for creating contact editor strategy |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef PBK2CONTACTEDITORSTRATEGYFACTORY_H |
|
21 #define PBK2CONTACTEDITORSTRATEGYFACTORY_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32std.h> |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 class TPbk2ContactEditorParams; |
|
28 class MPbk2ContactEditorStrategy; |
|
29 class CPbk2PresentationContact; |
|
30 |
|
31 // CLASS DECLARATION |
|
32 |
|
33 /** |
|
34 * A factory for creating contact editor strategy. |
|
35 * |
|
36 */ |
|
37 NONSHARABLE_CLASS(Pbk2ContactEditorStrategyFactory) |
|
38 { |
|
39 public: // New functions |
|
40 |
|
41 /** |
|
42 * A factory function for creating contact editor strategy. |
|
43 * |
|
44 * @param aParams Contact editor parameters. |
|
45 * @param aContact The presentation level contact. |
|
46 * @return A the strategy implementation. |
|
47 */ |
|
48 static MPbk2ContactEditorStrategy* CreateL( |
|
49 TPbk2ContactEditorParams& aParams, |
|
50 CPbk2PresentationContact* aContact); |
|
51 }; |
|
52 |
|
53 #endif // PBK2CONTACTEDITORSTRATEGYFACTORY_H |
|
54 |
|
55 // End of File |