omads/omadsextensions/adapters/mediads/inc/omadsfolderobject.h
branchRCL_3
changeset 25 4f0867e42d62
parent 24 8e7494275d3a
child 26 3e6957da2ff8
--- a/omads/omadsextensions/adapters/mediads/inc/omadsfolderobject.h	Tue Aug 31 15:05:37 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,57 +0,0 @@
-/*
-* 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:  COMADSFolderObject class implementation
-*
-*/
-
-
-
-#ifndef __OMADSFOLDEROBJECT_H__
-#define __OMADSFOLDEROBJECT_H__
-
-#include <e32base.h>
-
-const TInt KMaxElementLength = 255;
-const TInt KMaxXmlLineLength = 1024;
-
-class COMADSFolderObject : public CBase
-    {
-public:
-
-    static COMADSFolderObject* NewLC();
-    ~COMADSFolderObject();
-
-    // Set methods
-    inline void SetName( const TDesC& aName ) {iName.Copy(aName);};
-    inline void SetCreatedDate( const TDateTime& aDateTime ) {iCreatedDate = aDateTime;};
-    inline void SetModifiedDate( const TDateTime& aDateTime ) {iModifiedDate = aDateTime;};
-    
-    void ExportFolderXmlL( CBufBase& aBuffer );
-    
-private:
-    void ExportL(); 
-    void WriteL( const TDesC &aData );
-    
-private:
-    
-    TBuf8<KMaxXmlLineLength>    iTemp;
-    TPath                       iName;
-    TDateTime                   iCreatedDate;
-    TDateTime                   iModifiedDate;
-    CBufBase*                   iBuffer; // Not owned
-    TInt                        iWriteBufPosition;
-    TInt                        iWriteBufSize;
-    };
-
-#endif