equal
deleted
inserted
replaced
51 * |
51 * |
52 * @return Top contact manager instance |
52 * @return Top contact manager instance |
53 */ |
53 */ |
54 static CVPbkTopContactManagerImpl* NewL( |
54 static CVPbkTopContactManagerImpl* NewL( |
55 CVPbkContactManager& aContactManager ); |
55 CVPbkContactManager& aContactManager ); |
|
56 |
|
57 /** |
|
58 * Creates the top contact manager passing an already constructed top |
|
59 * contacts view as a parameter. This greatly improves performance of adding |
|
60 * new favorites as the top contact view contsrution can be a heavy operation. |
|
61 * |
|
62 * Note, passing the view doesn't affect the view and links fetching |
|
63 * (e.g. GetTopContactsViewL, GetTopContactLinksL, etc.) |
|
64 * |
|
65 * @param aContactManager Contact manager which already has its stores opened. |
|
66 * @param aTopView top contact view which already has been constructed. |
|
67 * |
|
68 * @return Top contact manager instance |
|
69 */ |
|
70 static CVPbkTopContactManagerImpl* NewL( |
|
71 CVPbkContactManager& aContactManager, |
|
72 MVPbkContactViewBase& aTopView); |
56 |
73 |
57 /** |
74 /** |
58 * Creates the top contact manager impl. |
75 * Creates the top contact manager impl. |
59 * Holds its own CVPbkContactManager instance. |
76 * Holds its own CVPbkContactManager instance. |
60 * |
77 * |
136 private: // data |
153 private: // data |
137 // Client's contact manager |
154 // Client's contact manager |
138 // or reference to own contact manager iOurContactManager |
155 // or reference to own contact manager iOurContactManager |
139 CVPbkContactManager* iContactManager; // not owned |
156 CVPbkContactManager* iContactManager; // not owned |
140 CVPbkContactManager* iOurContactManager; // owned |
157 CVPbkContactManager* iOurContactManager; // owned |
|
158 |
|
159 // Reference to a clients top contact view |
|
160 MVPbkContactViewBase* iTopView; // not owned |
141 }; |
161 }; |
142 |
162 |
143 #endif //VPBKTOPCONTACTMANAGERIMPL_H |
163 #endif //VPBKTOPCONTACTMANAGERIMPL_H |
144 //End of file |
164 //End of file |