|
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 Info View group members navigation stategy factory. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef __PbkContactInfoNavigationStrategyFactory_H__ |
|
21 #define __PbkContactInfoNavigationStrategyFactory_H__ |
|
22 |
|
23 |
|
24 // INCLUDES |
|
25 #include <e32base.h> // Memory entry views super class |
|
26 #include <cntdef.h> |
|
27 |
|
28 // FORWARD DECLARATIONS |
|
29 class MPbkContactInfoNavigationStrategy; |
|
30 class MPbkContactInfoNavigationCallback; |
|
31 class CPbkContactEngine; |
|
32 |
|
33 // CLASS DECLARATION |
|
34 |
|
35 /** |
|
36 * Phonebook Contact Info navigation strategy class factory. |
|
37 */ |
|
38 class PbkContactInfoNavigationStrategyFactory |
|
39 { |
|
40 public: // Constructors and destructor |
|
41 /** |
|
42 * Creates and returns a new object of this class. |
|
43 * @param aEngine Phonebook contact engine |
|
44 * @param aCallback callback interface for changing viewed contact |
|
45 * @param aParentContactId contact id of the parent of this contact. |
|
46 * KNullContactId if no parent. |
|
47 */ |
|
48 static MPbkContactInfoNavigationStrategy* CreateL |
|
49 (CPbkContactEngine& aEngine, |
|
50 MPbkContactInfoNavigationCallback& aCallback, |
|
51 TContactItemId aParentContactId); |
|
52 |
|
53 }; |
|
54 |
|
55 #endif // __PbkContactInfoNavigationStrategyFactory_H__ |
|
56 |
|
57 // End of File |