contentmgmt/contentaccessfwfordrm/source/cafutils/mimefieldanddata.cpp
changeset 8 35751d3474b7
parent 0 2c201484c85f
--- a/contentmgmt/contentaccessfwfordrm/source/cafutils/mimefieldanddata.cpp	Tue Jul 21 01:04:32 2009 +0100
+++ b/contentmgmt/contentaccessfwfordrm/source/cafutils/mimefieldanddata.cpp	Thu Sep 10 14:01:51 2009 +0300
@@ -1,61 +1,61 @@
-/*
-* Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of the License "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: 
-*
-*/
-
-
-#ifndef REMOVE_CAF1
-
-#include <caf/caftypes.h>
-#include <e32base.h>
-#include "mimefieldanddata.h"
-
-using namespace ContentAccess;
-
-CMimeFieldAndData* CMimeFieldAndData::NewL(const TDesC8 &aFieldName, const TDesC8 &aData)
-	{
-	CMimeFieldAndData* self = new (ELeave) CMimeFieldAndData();
-	CleanupStack::PushL(self);
-	self->ConstructL(aFieldName, aData);
-	CleanupStack::Pop(self);
-	return self;
-	}
-
-void CMimeFieldAndData::ConstructL(const TDesC8 &aFieldName, const TDesC8 &aData)
-	{
-	iFieldName = aFieldName.AllocL();
-	iData = aData.AllocL();
-	}	
-
-CMimeFieldAndData::CMimeFieldAndData()
-	{
-	}
-
-CMimeFieldAndData::~CMimeFieldAndData()
-	{
-	delete iFieldName;
-	delete iData;
-	}
-
-TPtrC8 CMimeFieldAndData::FieldName() const
-	{
-	return *iFieldName;
-	}
-
-TPtrC8 CMimeFieldAndData::Data() const
-	{
-	return *iData;
-	}
-#endif // #ifndef REMOVE_CAF1
+/*
+* Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "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: 
+*
+*/
+
+
+#ifndef REMOVE_CAF1
+
+#include <caf/caftypes.h>
+#include <e32base.h>
+#include "mimefieldanddata.h"
+
+using namespace ContentAccess;
+
+CMimeFieldAndData* CMimeFieldAndData::NewL(const TDesC8 &aFieldName, const TDesC8 &aData)
+	{
+	CMimeFieldAndData* self = new (ELeave) CMimeFieldAndData();
+	CleanupStack::PushL(self);
+	self->ConstructL(aFieldName, aData);
+	CleanupStack::Pop(self);
+	return self;
+	}
+
+void CMimeFieldAndData::ConstructL(const TDesC8 &aFieldName, const TDesC8 &aData)
+	{
+	iFieldName = aFieldName.AllocL();
+	iData = aData.AllocL();
+	}	
+
+CMimeFieldAndData::CMimeFieldAndData()
+	{
+	}
+
+CMimeFieldAndData::~CMimeFieldAndData()
+	{
+	delete iFieldName;
+	delete iData;
+	}
+
+TPtrC8 CMimeFieldAndData::FieldName() const
+	{
+	return *iFieldName;
+	}
+
+TPtrC8 CMimeFieldAndData::Data() const
+	{
+	return *iData;
+	}
+#endif // #ifndef REMOVE_CAF1