equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 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: Class implementing the abstract contactor observer class. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef MEDCONTACTOROBSERVER_H_ |
|
19 #define MEDCONTACTOROBSERVER_H_ |
|
20 |
|
21 /** |
|
22 * MEDContactorObserver |
|
23 * |
|
24 * Observer class for contactor module. |
|
25 * |
|
26 * |
|
27 * |
|
28 */ |
|
29 |
|
30 class MEDContactorObserver |
|
31 { |
|
32 |
|
33 public: |
|
34 |
|
35 /* |
|
36 * Enum for communication events. |
|
37 */ |
|
38 typedef enum TEvent_enum |
|
39 { |
|
40 /* |
|
41 * ECommunicationStarted |
|
42 * Used when communication was normally started. |
|
43 */ |
|
44 ECommunicationStarted = 1, |
|
45 |
|
46 /* |
|
47 * ECommunicationCancelled |
|
48 * Used when |
|
49 * 1. User cancelled communication when choosing phone number, email, etc. |
|
50 * 2. When there was no appropriate field in the contact. |
|
51 */ |
|
52 ECommunicationCancelled |
|
53 |
|
54 } TEvent; |
|
55 |
|
56 virtual void InformContactorEvent( TEvent aEvent ) = 0; |
|
57 }; |
|
58 |
|
59 |
|
60 |
|
61 #endif /* MEDCONTACTOROBSERVER_H_ */ |