equal
deleted
inserted
replaced
24 #include <CVPbkContactLinkArray.h> |
24 #include <CVPbkContactLinkArray.h> |
25 #include <MVPbkContactLink.h> |
25 #include <MVPbkContactLink.h> |
26 |
26 |
27 #include "CVPbkTopContactOperation.h" |
27 #include "CVPbkTopContactOperation.h" |
28 |
28 |
|
29 |
|
30 CVPbkTopContactManagerImpl* CVPbkTopContactManagerImpl::NewL( |
|
31 CVPbkContactManager& aContactManager, |
|
32 MVPbkContactViewBase& aTopView |
|
33 ) |
|
34 { |
|
35 CVPbkTopContactManagerImpl* self = |
|
36 new (ELeave) CVPbkTopContactManagerImpl(); |
|
37 CleanupStack::PushL( self ); |
|
38 self->iContactManager = &aContactManager; |
|
39 self->iTopView = &aTopView; |
|
40 self->ConstructL(); |
|
41 CleanupStack::Pop( self ); |
|
42 return self; |
|
43 } |
29 |
44 |
30 CVPbkTopContactManagerImpl* CVPbkTopContactManagerImpl::NewL( |
45 CVPbkTopContactManagerImpl* CVPbkTopContactManagerImpl::NewL( |
31 CVPbkContactManager& aContactManager ) |
46 CVPbkContactManager& aContactManager ) |
32 { |
47 { |
33 CVPbkTopContactManagerImpl* self = |
48 CVPbkTopContactManagerImpl* self = |
139 return CVPbkTopContactOperation::NewTopOperationL( |
154 return CVPbkTopContactOperation::NewTopOperationL( |
140 *iContactManager, |
155 *iContactManager, |
141 aContactLinks, |
156 aContactLinks, |
142 aObserver, |
157 aObserver, |
143 aErrorObserver, |
158 aErrorObserver, |
144 CVPbkTopContactOperation::EAddToTop ); |
159 CVPbkTopContactOperation::EAddToTop, |
|
160 iTopView); |
145 } |
161 } |
146 |
162 |
147 MVPbkContactOperationBase* CVPbkTopContactManagerImpl::AddToTopL( |
163 MVPbkContactOperationBase* CVPbkTopContactManagerImpl::AddToTopL( |
148 const TDesC8& aPackedLinks, |
164 const TDesC8& aPackedLinks, |
149 MVPbkOperationObserver& aObserver, |
165 MVPbkOperationObserver& aObserver, |