equal
deleted
inserted
replaced
|
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: Observer interface used to receive notifications about |
|
15 * messages sent to network |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 #ifndef M_MNCMSENDEROBSERVER_H |
|
23 #define M_MNCMSENDEROBSERVER_H |
|
24 |
|
25 #include <e32std.h> |
|
26 |
|
27 |
|
28 /** |
|
29 * Observer interface used to receive notifications about |
|
30 * messages sent to network. |
|
31 * |
|
32 * @lib connectionmux.lib |
|
33 * @since S60 v3.2 |
|
34 */ |
|
35 class MNcmSenderObserver |
|
36 { |
|
37 |
|
38 public: |
|
39 |
|
40 /** |
|
41 * Called by Connection Multiplexer when |
|
42 * sending the message is succesfully completed. |
|
43 * |
|
44 * @since S60 v3.2 |
|
45 * @return void |
|
46 */ |
|
47 virtual void MessageSent() = 0; |
|
48 |
|
49 /** |
|
50 * Called by Connection Multiplexer when |
|
51 * sending the message is failed. |
|
52 * |
|
53 * @since S60 v3.2 |
|
54 * @param aError A reason for the failure. |
|
55 * @return void |
|
56 */ |
|
57 virtual void MessageSentFailure( TInt aError ) = 0; |
|
58 }; |
|
59 |
|
60 |
|
61 #endif // M_MNCMSENDEROBSERVER_H |