iaupdate/IAD/ui/inc/iaupdatenodeid.h
branchRCL_3
changeset 11 3ba40be8e484
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/iaupdate/IAD/ui/inc/iaupdatenodeid.h	Fri Mar 12 15:43:14 2010 +0200
@@ -0,0 +1,80 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:   This module contains the header file of CIAUpdateNodeId
+*                class.
+*/
+
+
+
+
+#ifndef IAUPDATENODEID_H
+#define IAUPDATENODEID_H
+
+//INCLUDES
+#include <e32base.h>
+
+#include "iaupdateanynode.h"
+
+
+/**
+ *
+ */
+class CIAUpdateNodeId : public CBase
+    {
+
+public:
+
+    static CIAUpdateNodeId* NewL();
+
+    static CIAUpdateNodeId* NewLC();
+    
+    
+    virtual ~CIAUpdateNodeId();
+
+    const TDesC& Id() const;
+    void SetIdL( const TDesC& aId );
+    
+    const TDesC& Namespace() const;
+    void SetNamespaceL( const TDesC& aNamespace );
+    
+    MIAUpdateAnyNode::TNodeType NodeType() const;
+    void SetNodeType( MIAUpdateAnyNode::TNodeType aNodeType );
+    
+    TBool Selected() const;
+    void SetSelected( TInt aSelected );
+    
+
+private:
+
+    // Prevent these if not implemented
+    CIAUpdateNodeId( const CIAUpdateNodeId& aObject );
+    CIAUpdateNodeId& operator =( const CIAUpdateNodeId& aObject );
+
+
+    CIAUpdateNodeId();
+    
+    void ConstructL();
+
+
+private: // data
+    
+    HBufC* iId;
+    HBufC* iNamespace;
+    MIAUpdateAnyNode::TNodeType  iNodeType;
+    TBool                        iSelected;
+    
+    };
+		
+#endif // IAUPDATENODEID_H
+