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: SVP transfer observer interface |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef SVPTRANSFEROBSERVER_H |
|
20 #define SVPTRANSFEROBSERVER_H |
|
21 |
|
22 #include <e32base.h> |
|
23 |
|
24 enum TSVPTransferNotifyCode |
|
25 { |
|
26 ESVPTransferOKHangUp, |
|
27 ESVPTransferDecline, |
|
28 ESVPIncomingRefer |
|
29 }; |
|
30 |
|
31 /** |
|
32 * Transfer observer |
|
33 * |
|
34 * An interface to be implemented by user of the transfer controller. |
|
35 * |
|
36 * @lib svp.dll |
|
37 * @since S60 3.2 |
|
38 */ |
|
39 class MSVPTransferObserver |
|
40 { |
|
41 |
|
42 public: |
|
43 |
|
44 /** |
|
45 * Notifier for transfer. |
|
46 * |
|
47 * @since S60 3.2 |
|
48 * @param aNotifyCode transfer notify code |
|
49 */ |
|
50 virtual void TransferNotification( TInt aNotifyCode ) = 0; |
|
51 |
|
52 /** |
|
53 * Notifier for transfer failure. |
|
54 * |
|
55 * @since S60 3.2 |
|
56 * @param aError transfer error code |
|
57 */ |
|
58 virtual void TransferFailed( TInt aError ) = 0; |
|
59 |
|
60 }; |
|
61 |
|
62 #endif // SVPTRANSFEROBSERVER_H |