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: ?Description |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef M_NCDOPERATIONREMOVEHANDLER_H |
|
20 #define M_NCDOPERATIONREMOVEHANDLER_H |
|
21 |
|
22 class CNcdBaseOperation; |
|
23 |
|
24 /** |
|
25 * An interface for handling operation removal. |
|
26 * |
|
27 * This interface is used to notify operation manager that the |
|
28 * operation needs to be removed from it's op array. Manager needs to be |
|
29 * explicitly notified to remove the operations because operations, |
|
30 * being reference counting objects, handle their own destruction. |
|
31 * |
|
32 */ |
|
33 class MNcdOperationRemoveHandler |
|
34 { |
|
35 |
|
36 public: |
|
37 |
|
38 |
|
39 /** |
|
40 * Removes operation. |
|
41 * |
|
42 * @param aOperation The operation to remove. |
|
43 */ |
|
44 virtual void RemoveOperation( |
|
45 CNcdBaseOperation& aOperation ) = 0; |
|
46 |
|
47 protected: |
|
48 |
|
49 /** |
|
50 * |
|
51 */ |
|
52 virtual ~MNcdOperationRemoveHandler() {} |
|
53 |
|
54 }; |
|
55 |
|
56 |
|
57 #endif // M_NCDOPERATIONREMOVEHANDLER_H |