equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006 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: CCP Call Forward observer |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MCCPFORWARDOBSERVER_H |
|
20 #define MCCPFORWARDOBSERVER_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32base.h> |
|
24 #include "mccpcall.h" |
|
25 |
|
26 |
|
27 /** |
|
28 * CCP API call forward observer class |
|
29 * |
|
30 * @since S60 3.2 |
|
31 */ |
|
32 class MCCPForwardObserver |
|
33 { |
|
34 public: |
|
35 enum TCCPForwardEvent |
|
36 { |
|
37 /** Call is being forwarded by the remote party. */ |
|
38 ECCPRemoteForwarding, |
|
39 /** Call is forwarded */ |
|
40 ECCPForwarded, |
|
41 /** Multiple call forward choices are available */ |
|
42 ECCPMultipleChoices, |
|
43 /** Call moved temporarily */ |
|
44 ECCPMovedTemporarily, |
|
45 /** Call moved permanently */ |
|
46 ECCPMovedPermanentlyEvent |
|
47 }; |
|
48 |
|
49 protected: |
|
50 /** |
|
51 * Protects the observer being deleted through the observer interface |
|
52 * @since S60 3.2 |
|
53 */ |
|
54 virtual inline ~MCCPForwardObserver() {}; |
|
55 |
|
56 public: |
|
57 /** |
|
58 * A Forward event has occurred concerning a specific call. |
|
59 * @since S60 3.2 |
|
60 * @param aEvent Occurred event. |
|
61 * @return none |
|
62 */ |
|
63 virtual void ForwardEventOccurred( |
|
64 const MCCPForwardObserver::TCCPForwardEvent aEvent ) = 0; |
|
65 }; |
|
66 |
|
67 #endif // MCCPFORWARDOBSERVER_H |
|
68 |
|
69 // End of File |