hti/HtiServicePlugins/HtiIpProxyServicePlugin/IPProxyEngine/Inc/Mhostconnectionobserver.h
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 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: Events for host connection |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef MHOSTCONNECTIONOBSERVER_H |
|
21 #define MHOSTCONNECTIONOBSERVER_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32def.h> |
|
25 |
|
26 // CLASS DECLARATION |
|
27 |
|
28 /** |
|
29 * Events for host connection |
|
30 */ |
|
31 NONSHARABLE_CLASS( MHostConnectionObserver ) |
|
32 { |
|
33 |
|
34 public: // Abstract functions |
|
35 |
|
36 /** |
|
37 * Connection to host established. |
|
38 */ |
|
39 virtual void ConnectionEstablishedL() = 0; |
|
40 |
|
41 /** |
|
42 * Error when connecting to host. |
|
43 * @param aErrorCode Error code. |
|
44 */ |
|
45 virtual void HostConnectionErrorL( TInt aErrorCode ) = 0; |
|
46 |
|
47 /** |
|
48 * Observer leaved in RunL. |
|
49 * @param aLeaveCode Leave code. |
|
50 */ |
|
51 virtual void HostConnectionObserverLeaved( TInt aLeaveCode ) = 0; |
|
52 |
|
53 }; |
|
54 |
|
55 #endif // MHOSTCONNECTIONOBSERVER_H |
|
56 |
|
57 // End of File |