|
1 /* |
|
2 * Copyright (c) 2008 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: Declaration of interface MFscContactActionPluginObserver. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef M_FSCCONTACTACTIONPLUGIN_H |
|
20 #define M_FSCCONTACTACTIONPLUGIN_H |
|
21 |
|
22 /** |
|
23 * Contact Action Plugin observer. |
|
24 * Defines an interface for contact action plugin observer. |
|
25 * |
|
26 * @since S60 3.1 |
|
27 */ |
|
28 class MFscContactActionPluginObserver |
|
29 { |
|
30 |
|
31 public: |
|
32 |
|
33 /** |
|
34 * Called when PriorityForContactSetL method is complete. |
|
35 * |
|
36 * @param aPriority retrieved priority. |
|
37 */ |
|
38 virtual void PriorityForContactSetComplete( TInt aPriority ) = 0; |
|
39 |
|
40 /** |
|
41 * Called when PriorityForContactSetL method failed. |
|
42 * |
|
43 * @param aError An error code of the failure. |
|
44 */ |
|
45 virtual void PriorityForContactSetFailed( TInt aError ) = 0; |
|
46 |
|
47 /** |
|
48 * Called when ExecuteL method is complete. |
|
49 */ |
|
50 virtual void ExecuteComplete() = 0; |
|
51 |
|
52 /** |
|
53 * Called when ExecuteL method failed. |
|
54 * |
|
55 * @param aError An error code of the failure. |
|
56 */ |
|
57 virtual void ExecuteFailed( TInt aError ) = 0; |
|
58 |
|
59 public: |
|
60 |
|
61 /** |
|
62 * Destructor. |
|
63 */ |
|
64 virtual ~MFscContactActionPluginObserver() {} |
|
65 |
|
66 }; |
|
67 |
|
68 #endif // M_FSCCONTACTACTIONPLUGIN_H |