|
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 * Contact editor strategy factory. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef __PbkContactEditorStrategyFactory_H__ |
|
21 #define __PbkContactEditorStrategyFactory_H__ |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32def.h> |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 class MPbkContactEditorStrategy; |
|
28 class CPbkContactEngine; |
|
29 class CPbkContactItem; |
|
30 |
|
31 // CLASS DECLARATION |
|
32 |
|
33 /** |
|
34 * @internal Only Phonebook internal use supported! |
|
35 * |
|
36 * Phonebook Contact editor strategy factory. |
|
37 */ |
|
38 NONSHARABLE_CLASS(PbkContactEditorStrategyFactory) |
|
39 { |
|
40 public: // Constructors |
|
41 /** |
|
42 * Creates a strategy object for a contact editor. |
|
43 * @param aEngine Phonebook engine |
|
44 * @param aContactItem contact item |
|
45 * @param aIsNewContact ETrue if the contact is new |
|
46 */ |
|
47 static MPbkContactEditorStrategy* CreateL( |
|
48 CPbkContactEngine& aEngine, |
|
49 CPbkContactItem& aContactItem, |
|
50 TBool aIsNewContact); |
|
51 }; |
|
52 |
|
53 #endif // __PbkContactEditorStrategyFactory_H__ |
|
54 |
|
55 // End of File |