1 /* |
|
2 * Copyright (c) 2002 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: Abstract interface for observing network message events. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef MPHSRVUSSDNETWORKOBSERVER_H |
|
19 #define MPHSRVUSSDNETWORKOBSERVER_H |
|
20 |
|
21 |
|
22 // CLASS DECLARATION |
|
23 |
|
24 /** |
|
25 * Abstract interface for observing network message events. |
|
26 * |
|
27 * @since 1.0 |
|
28 */ |
|
29 class MPhSrvUssdNetworkObserver |
|
30 { |
|
31 public: // New functions |
|
32 |
|
33 /** |
|
34 * Called when a message has been sent. |
|
35 * |
|
36 * @param aError Complete code. |
|
37 */ |
|
38 virtual void UssdNetworkObserverHandleSendEventL( TInt aError ) = 0; |
|
39 |
|
40 /** |
|
41 * Called when a message has been received. |
|
42 * |
|
43 * @param aMessage Received message. |
|
44 * @param aIsRequest ETrue if is a request. |
|
45 * @param aError Error code of the operation. |
|
46 */ |
|
47 virtual void UssdNetworkObserverHandleReceivedEventL( |
|
48 const TDes8& aMsgData, |
|
49 const RMobileUssdMessaging::TMobileUssdAttributesV1& aMsgAttributes, |
|
50 TInt aError ) = 0; |
|
51 |
|
52 virtual void UssdNetworkObserverHandleNotifyNWReleaseL( |
|
53 const RMobilePhone::TMobilePhoneSendSSRequestV3& aReturnResult, |
|
54 TInt aError ) = 0; |
|
55 }; |
|
56 |
|
57 #endif // MPHSRVUSSDNETWORKOBSERVER_H |
|
58 |
|
59 |
|
60 // End of File |
|