author | Shabe Razvi <shaber@symbian.org> |
Wed, 21 Oct 2009 13:56:00 +0100 | |
changeset 15 | a0f5c5f1fb2f |
parent 10 | fc9cf246af83 |
permissions | -rw-r--r-- |
5 | 1 |
/* |
2 |
* Copyright (c) 2006-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 the License "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: Provides the callback interface |
|
15 |
* |
|
16 |
*/ |
|
17 |
||
18 |
#ifndef M_CCONTACTCALLBACK_H |
|
19 |
#define M_CCONTACTCALLBACK_H |
|
20 |
||
21 |
#include "contactservice.hrh" |
|
22 |
||
23 |
// FORWARD DECLARATIONS |
|
24 |
class CContactIter; |
|
25 |
||
26 |
/** |
|
27 |
* MCameraCallback - callback back interface class |
|
28 |
* @since S60 5.0 |
|
29 |
*/ |
|
30 |
class MContactCallback |
|
31 |
{ |
|
32 |
public: |
|
33 |
||
34 |
||
35 |
/** |
|
36 |
* Called when the any async. operation completes |
|
37 |
* @return void |
|
38 |
*/ |
|
39 |
virtual void HandleReturnValue( TOperationEvent aEventId, const TInt& aError, TInt aTransId ) = 0; |
|
40 |
/* |
|
41 |
*Called after GetList async call is complete |
|
42 |
*/ |
|
43 |
virtual void HandleReturnIter(const TInt& aError, CContactIter* aIter, TInt aTransId ) = 0; |
|
10
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
44 |
|
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
45 |
virtual void HandleReturnId(const TInt& aError, |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
46 |
HBufC8* aId, |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
47 |
TInt aTransId ) = 0; |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
48 |
virtual void HandleReturnArray(const TInt& aError, |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
49 |
RPointerArray<HBufC8>& aArray, |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
50 |
TInt aTransId ) = 0; |
5 | 51 |
|
52 |
}; |
|
53 |
#endif // M_CONTACTCALLBACK_H |