|
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: Node load operation interface definition |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef M_NCDLOADNODEOPERATION_H |
|
20 #define M_NCDLOADNODEOPERATION_H |
|
21 |
|
22 #include <e32cmn.h> |
|
23 |
|
24 #include "ncdoperation.h" |
|
25 #include "catalogsarray.h" |
|
26 #include "ncdinterfaceids.h" |
|
27 |
|
28 class MNcdLoadNodeOperationObserver; |
|
29 |
|
30 /** |
|
31 * Load node operation interface. |
|
32 * |
|
33 * Load node operations handle the loading of one or more nodes from a server. |
|
34 * One typical use case is the loading of a catalog's child nodes. |
|
35 * |
|
36 * Node load operations send callbacks when one ore more nodes have been |
|
37 * loaded. This can be used to display the loaded nodes even if the whole |
|
38 * operation has not yet completed. |
|
39 * |
|
40 * |
|
41 * @see MNcdNode |
|
42 * @see MNcdLoadNodeOperationObserver |
|
43 */ |
|
44 class MNcdLoadNodeOperation : public MNcdOperation |
|
45 { |
|
46 |
|
47 public: |
|
48 |
|
49 /** |
|
50 * Unique identifier for the interface, required for all MCatalogsBase interfaces. |
|
51 * |
|
52 * |
|
53 */ |
|
54 enum { KInterfaceUid = ENcdLoadNodeOperationUid }; |
|
55 |
|
56 protected: |
|
57 |
|
58 /** |
|
59 * Destructor. |
|
60 * |
|
61 * @see MCatalogsBase::~MCatalogsBase |
|
62 */ |
|
63 virtual ~MNcdLoadNodeOperation() {} |
|
64 |
|
65 }; |
|
66 |
|
67 |
|
68 #endif // M_NCDLOADNODEOPERATION_H |