|
1 /* |
|
2 * Copyright (c) 2009 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 * |
|
16 */ |
|
17 |
|
18 #ifndef CPHCNTFACTORYIMPL2_H |
|
19 #define CPHCNTFACTORYIMPL2_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <e32base.h> |
|
23 #include <cphonecntfactory.h> |
|
24 |
|
25 |
|
26 |
|
27 // FORWARD DECLARATIONS |
|
28 |
|
29 |
|
30 // CLASS DECLARATION |
|
31 |
|
32 /** |
|
33 * Factory class's implementation. Not for external use. |
|
34 * |
|
35 * @lib PhoneCntFinder |
|
36 * @since 1.0 |
|
37 */ |
|
38 NONSHARABLE_CLASS( CPhCntFactoryImpl2 ) : public CPhCntFactory |
|
39 { |
|
40 public: // Constructors and destructors. |
|
41 |
|
42 /** |
|
43 * Two-phased constructor. |
|
44 * |
|
45 * @return new instance of the class. |
|
46 */ |
|
47 static CPhCntFactoryImpl2* NewL(); |
|
48 |
|
49 /** |
|
50 * Destructor. |
|
51 */ |
|
52 ~CPhCntFactoryImpl2(); |
|
53 |
|
54 public: // From base classes. |
|
55 |
|
56 |
|
57 |
|
58 /** |
|
59 * From CPhCntFactory |
|
60 */ |
|
61 CPhCntMatcher* CreateContactMatcherL(); |
|
62 |
|
63 |
|
64 /** |
|
65 * From CPhCntFactory |
|
66 */ |
|
67 CBase* CreateProfileEngineNotifyHandlerL( |
|
68 MProfileChangeObserver* aObserver ); |
|
69 |
|
70 |
|
71 /** |
|
72 * Creates contact id instance. |
|
73 * |
|
74 * @since S60 v3.1 |
|
75 * @return New instance. |
|
76 */ |
|
77 //CPhCntContactId* CreateContactIdL(); |
|
78 |
|
79 /** |
|
80 * From CPhCntFactory |
|
81 * Creates an contact id instance. |
|
82 * |
|
83 * @since S60 v3.1 |
|
84 * @return New instance of CPhCntContactId |
|
85 */ |
|
86 CPhCntContactId* CreateContactIdL( TContactItemId aContactId ); |
|
87 |
|
88 /** |
|
89 * From CPhCntFactory |
|
90 * |
|
91 * @since S60 v3.2 |
|
92 * @see CPhCntFactory |
|
93 */ |
|
94 CPhCntContactId* CreateContactIdL( const TDesC8& aContactLink ); |
|
95 |
|
96 |
|
97 private: |
|
98 |
|
99 /** |
|
100 * C++ constructor. |
|
101 */ |
|
102 CPhCntFactoryImpl2(); |
|
103 |
|
104 /** |
|
105 * Symbian OS constructor. |
|
106 */ |
|
107 void ConstructL(); |
|
108 |
|
109 |
|
110 }; |
|
111 |
|
112 |
|
113 #endif // CPHCNTFACTORYIMPL_H |
|
114 |
|
115 // End of File |