equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2004 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: NWSessionOperationOwner interface. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef MPENGNWSESSIONOPERATIONOWNER_H |
|
19 #define MPENGNWSESSIONOPERATIONOWNER_H |
|
20 |
|
21 |
|
22 // FORWARD DECLARATIONS |
|
23 class CPEngNWSessionOperation; |
|
24 |
|
25 |
|
26 // CLASS DECLARATION |
|
27 |
|
28 /** |
|
29 * Operation owner interface to receive operation |
|
30 * death etc. events. |
|
31 * |
|
32 * @since 3.0 |
|
33 */ |
|
34 class MPEngNWSessionOperationOwner |
|
35 { |
|
36 public: //Owner notifying methods |
|
37 |
|
38 |
|
39 /** |
|
40 * NWSession operation destruction. |
|
41 * |
|
42 * Called by concrete NWSessionOperation from its destructor |
|
43 * to notify owner that the operation is dying. |
|
44 * |
|
45 * @since 3.0 |
|
46 * @param aOperation The dying operation. |
|
47 */ |
|
48 virtual void HandleNWSessionOperationDestruction( CPEngNWSessionOperation* aOperation ) = 0; |
|
49 |
|
50 |
|
51 protected: //Destructor |
|
52 |
|
53 /** |
|
54 * Protected destructor. |
|
55 * Owner can't be destroyed via this interface. |
|
56 */ |
|
57 virtual ~MPEngNWSessionOperationOwner() { } |
|
58 |
|
59 }; |
|
60 |
|
61 |
|
62 |
|
63 #endif //MPENGNWSESSIONOPERATIONOWNER_H |
|
64 |
|
65 |