|
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: Contains CNcdSearchNodeItem class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef NCD_SEARCH_NODE_ITEM_H |
|
20 #define NCD_SEARCH_NODE_ITEM_H |
|
21 |
|
22 |
|
23 #include <e32cmn.h> |
|
24 |
|
25 #include "ncdnodeitem.h" |
|
26 |
|
27 |
|
28 /** |
|
29 * This class provides search item specific functionality for the node. |
|
30 */ |
|
31 class CNcdSearchNodeItem : public CNcdNodeItem |
|
32 { |
|
33 |
|
34 public: |
|
35 |
|
36 /** |
|
37 * NewL |
|
38 * |
|
39 * Note, that node link contains the metadata id. |
|
40 * Because node link contains metadata id, set meta data function |
|
41 * is not provided in this class. |
|
42 * @return CNcdSearchNodeItem* Pointer to the created object |
|
43 * of this class. |
|
44 */ |
|
45 static CNcdSearchNodeItem* NewL( CNcdNodeManager& aNodeManager, |
|
46 const CNcdNodeIdentifier& aIdentifier ); |
|
47 |
|
48 /** |
|
49 * @see CNcdSearchNodeItem::NewL |
|
50 * |
|
51 */ |
|
52 static CNcdSearchNodeItem* NewLC( CNcdNodeManager& aNodeManager, |
|
53 const CNcdNodeIdentifier& aIdentifier ); |
|
54 |
|
55 |
|
56 /** |
|
57 * Destructor |
|
58 */ |
|
59 virtual ~CNcdSearchNodeItem(); |
|
60 |
|
61 |
|
62 protected: |
|
63 |
|
64 /** |
|
65 * @see CNcdNodeItem::CNcdNodeItem |
|
66 */ |
|
67 CNcdSearchNodeItem( CNcdNodeManager& aNodeManager ); |
|
68 |
|
69 /** |
|
70 * @see CNcdNodeItem::ConstructL |
|
71 */ |
|
72 virtual void ConstructL( const CNcdNodeIdentifier& aIdentifier ); |
|
73 |
|
74 private: |
|
75 |
|
76 // Prevent these two if they are not implemented |
|
77 CNcdSearchNodeItem( const CNcdSearchNodeItem& aObject ); |
|
78 CNcdSearchNodeItem& operator =( const CNcdSearchNodeItem& aObject ); |
|
79 |
|
80 |
|
81 private: // data |
|
82 |
|
83 }; |
|
84 |
|
85 |
|
86 #endif // NCD_SEARCH_NODE_ITEM_H |