ncdengine/provider/server/inc/ncdnodefoldermetadata.h
changeset 0 ba25891c3a9e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ncdengine/provider/server/inc/ncdnodefoldermetadata.h	Thu Dec 17 08:51:10 2009 +0200
@@ -0,0 +1,110 @@
+/*
+* Copyright (c) 2006 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:   Contains CNcdNodeMetaData class
+*
+*/
+
+
+#ifndef NCD_NODE_FOLDER_META_DATA_H
+#define NCD_NODE_FOLDER_META_DATA_H
+
+
+#include "ncdnodemetadataimpl.h"
+
+
+/**
+ *  CNcdNodeFolderMetaData ...
+ *  @lib ?library
+ *  @since S60 ?S60_version *** for example, S60 v3.0
+ */
+class CNcdNodeFolderMetaData : public CNcdNodeMetaData
+    {
+
+public:
+
+    /**
+     * NewL
+     *
+     * @return CNcdNodeFolderMetaData* Pointer to the created object 
+     * of this class.
+     */
+    static CNcdNodeFolderMetaData* NewL( const CNcdNodeIdentifier& aIdentifier,
+                                         CNcdNodeManager& aNodeManager );
+
+    /**
+     * NewLC
+     *
+     * @return CNcdNodeFolderMetaData* Pointer to the created object 
+     * of this class.
+     */
+    static CNcdNodeFolderMetaData* NewLC( const CNcdNodeIdentifier& aIdentifier,
+                                          CNcdNodeManager& aNodeManager );
+
+
+    /**
+     * Destructor
+     */
+    virtual ~CNcdNodeFolderMetaData();
+
+
+    /**
+     *
+     */
+    virtual void InternalizeL( MNcdPreminetProtocolDataEntity& aData );
+
+
+public: // CNcdNodeMetaData
+
+    /**
+     * @see CNcdNodeMetaData::ExternalizeL
+     */
+    virtual void ExternalizeL( RWriteStream& aStream );
+
+
+    /**
+     * @see CNcdNodeMetaData::InternalizeL
+     */
+    virtual void InternalizeL( RReadStream& aStream );
+
+
+protected:
+
+    /**
+     * Constructor
+     */
+    CNcdNodeFolderMetaData( NcdNodeClassIds::TNcdNodeClassId aClassId,
+                            CNcdNodeManager& aNodeManager );
+
+    /**
+     * ConstructL
+     */
+    virtual void ConstructL( const CNcdNodeIdentifier& aIdentifier );
+    
+    /**
+     * This function overrides or adds functionality to the parent class.
+     */
+    virtual void ExternalizeDataForRequestL( RWriteStream& aStream ) const;
+    
+private:
+
+    // Prevent these two if they are not implemented
+    CNcdNodeFolderMetaData( const CNcdNodeFolderMetaData& aObject );
+    CNcdNodeFolderMetaData& operator =( const CNcdNodeFolderMetaData& aObject );
+
+
+private: // data
+
+    };
+    
+#endif // C_NCD_NODE_FOLDER_META_DATA_H