|
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: This module contains the header file of CIAUpdateNodeId |
|
15 * class. |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef IAUPDATENODEID_H |
|
22 #define IAUPDATENODEID_H |
|
23 |
|
24 //INCLUDES |
|
25 #include <e32base.h> |
|
26 |
|
27 #include "iaupdateanynode.h" |
|
28 |
|
29 |
|
30 /** |
|
31 * |
|
32 */ |
|
33 class CIAUpdateNodeId : public CBase |
|
34 { |
|
35 |
|
36 public: |
|
37 |
|
38 static CIAUpdateNodeId* NewL(); |
|
39 |
|
40 static CIAUpdateNodeId* NewLC(); |
|
41 |
|
42 |
|
43 virtual ~CIAUpdateNodeId(); |
|
44 |
|
45 const TDesC& Id() const; |
|
46 void SetIdL( const TDesC& aId ); |
|
47 |
|
48 const TDesC& Namespace() const; |
|
49 void SetNamespaceL( const TDesC& aNamespace ); |
|
50 |
|
51 MIAUpdateAnyNode::TNodeType NodeType() const; |
|
52 void SetNodeType( MIAUpdateAnyNode::TNodeType aNodeType ); |
|
53 |
|
54 TBool Selected() const; |
|
55 void SetSelected( TInt aSelected ); |
|
56 |
|
57 |
|
58 private: |
|
59 |
|
60 // Prevent these if not implemented |
|
61 CIAUpdateNodeId( const CIAUpdateNodeId& aObject ); |
|
62 CIAUpdateNodeId& operator =( const CIAUpdateNodeId& aObject ); |
|
63 |
|
64 |
|
65 CIAUpdateNodeId(); |
|
66 |
|
67 void ConstructL(); |
|
68 |
|
69 |
|
70 private: // data |
|
71 |
|
72 HBufC* iId; |
|
73 HBufC* iNamespace; |
|
74 MIAUpdateAnyNode::TNodeType iNodeType; |
|
75 TBool iSelected; |
|
76 |
|
77 }; |
|
78 |
|
79 #endif // IAUPDATENODEID_H |
|
80 |