1 /* |
|
2 * Copyright (c) 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: Header file for MCSPCallObserver class for |
|
15 * observing errors related to call requests, e.g. dialling. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 #ifndef MCSPCALLOBSERVER_H |
|
22 #define MCSPCALLOBSERVER_H |
|
23 |
|
24 //INCLUDES |
|
25 #include <etelmm.h> |
|
26 |
|
27 #include <mccpcallobserver.h> |
|
28 #include <mccptransferobserver.h> |
|
29 #include <mccpforwardobserver.h> |
|
30 #include <mccpconferencecallobserver.h> |
|
31 |
|
32 |
|
33 |
|
34 // CLASS DECLARATION |
|
35 |
|
36 /** |
|
37 * Interface for monitoring incoming call. |
|
38 * |
|
39 * @since S60 3.2 |
|
40 */ |
|
41 class MCSPCallObserver |
|
42 { |
|
43 public: |
|
44 |
|
45 /** |
|
46 * Informs about occurred event. |
|
47 * @since S60 3.2 |
|
48 * @param aEvent occurred event |
|
49 */ |
|
50 virtual void NotifyCallEventOccurred( |
|
51 MCCPCallObserver::TCCPCallEvent aEvent ) = 0; |
|
52 |
|
53 /** |
|
54 * Updates the state change and forwards the state for observer. |
|
55 * @param aState new state (ETel) of the call |
|
56 */ |
|
57 virtual void NotifyCallStateChangedETel( |
|
58 RMobileCall::TMobileCallStatus aState ) = 0; |
|
59 |
|
60 /** |
|
61 * Informs about changed state that includes inband tones. |
|
62 * @since S60 3.2 |
|
63 * @param aState the new state |
|
64 */ |
|
65 virtual void NotifyCallStateChangedWithInband( |
|
66 MCCPCallObserver::TCCPCallState aState ) = 0; |
|
67 |
|
68 /** |
|
69 * Informs about occurred transfer related event. |
|
70 * @since S60 3.2 |
|
71 * @param aEvent occurred transfer event |
|
72 */ |
|
73 virtual void NotifyTransferCallEventOccurred( |
|
74 const MCCPTransferObserver::TCCPTransferEvent aEvent ) = 0; |
|
75 |
|
76 |
|
77 /** |
|
78 * Updates the call event for observers. |
|
79 * @param aEvent the event to be notified |
|
80 */ |
|
81 virtual void NotifyForwardEventOccurred( |
|
82 MCCPForwardObserver::TCCPForwardEvent aEvent ) = 0; |
|
83 |
|
84 |
|
85 /** |
|
86 * Updates changed call capability information. |
|
87 * @param aCapsFlags new caps flags |
|
88 */ |
|
89 virtual void CallCapsChanged( const TUint32 aCapsFlags ) = 0; |
|
90 |
|
91 /** |
|
92 * Notify that remote party info has changed. |
|
93 * @param aRemoteParty new remote party information |
|
94 * |
|
95 */ |
|
96 virtual void NotifyRemotePartyInfoChanged( |
|
97 const TDesC& aRemoteParty) = 0; |
|
98 |
|
99 |
|
100 }; |
|
101 |
|
102 #endif // MINCOMINGCALLOBSERVER_H |
|
103 |
|
104 //End of file |
|