|
1 /* |
|
2 * Copyright (c) 2005-2007 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: xSP Contact fetcher implementation. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDES |
|
20 #include "CVPbkxSPContactsImpl.h" |
|
21 #include <CVPbkContactManager.h> |
|
22 #include <CVPbkContactLinkArray.h> |
|
23 #include "CVPbkxSPContactsOperation.h" |
|
24 |
|
25 |
|
26 CVPbkxSPContactsImpl* CVPbkxSPContactsImpl::NewL( |
|
27 CVPbkContactManager& aContactManager) |
|
28 { |
|
29 CVPbkxSPContactsImpl* self = new (ELeave) CVPbkxSPContactsImpl(); |
|
30 CleanupStack::PushL(self); |
|
31 self->iContactManager = &aContactManager; |
|
32 self->ConstructL(); |
|
33 CleanupStack::Pop(self); |
|
34 return self; |
|
35 } |
|
36 |
|
37 void CVPbkxSPContactsImpl::ConstructL() |
|
38 { |
|
39 } |
|
40 |
|
41 CVPbkxSPContactsImpl::CVPbkxSPContactsImpl() |
|
42 { |
|
43 } |
|
44 |
|
45 CVPbkxSPContactsImpl::~CVPbkxSPContactsImpl() |
|
46 { |
|
47 } |
|
48 |
|
49 MVPbkContactOperationBase* CVPbkxSPContactsImpl::GetxSPContactLinksL( |
|
50 const MVPbkStoreContact& aContact, |
|
51 MVPbkOperationResultObserver<MVPbkContactLinkArray*>& aResultObserver, |
|
52 MVPbkOperationErrorObserver& aErrorObserver) |
|
53 { |
|
54 return CVPbkxSPContactsOperation::NewGetxSPLinksOperationL( |
|
55 aContact, |
|
56 *iContactManager, |
|
57 aResultObserver, |
|
58 aErrorObserver, |
|
59 CVPbkxSPContactsOperation::EGetxSPContactLinks ); |
|
60 |
|
61 } |
|
62 |
|
63 // end of file |