common/tools/ats/smoketest/email/email/pop/inc/CExpMailInfo.h
changeset 719 d5603c08781b
child 872 17498133d9ad
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/common/tools/ats/smoketest/email/email/pop/inc/CExpMailInfo.h	Fri Oct 30 09:36:23 2009 +0000
@@ -0,0 +1,75 @@
+/**
+* Copyright (c) 2006-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 "Symbian Foundation License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+* This contains the class for CExpPop3MailInfo 
+* 
+*
+*/
+
+
+
+
+
+/**
+ @file
+*/
+
+#ifndef __CEXPMAILINFO_H__
+#define __CEXPMAILINFO_H__
+
+
+// Epoc include
+#include <e32base.h>
+
+/**
+This class holds the information of number of lines, description etc... of a message.
+*/
+class CExpPop3MailInfo : public CBase
+	{
+public:
+	CExpPop3MailInfo() { }
+
+	virtual ~CExpPop3MailInfo() { }
+	
+	inline TInt GetNumLinesBodyText() const;
+	inline void SetNumLinesBodyText(TInt aLinesBodyText);
+
+	inline TInt GetNumAttachments() const;
+	inline void SetNumAttachments(TInt aNumAttachments);
+
+	inline TInt GetNumLinesHtml() const;
+	inline void SetNumLinesHtml(TInt aNumLinesHtml);
+
+	inline TBool GetFooterExpected() const;
+	inline void SetFooterExpected(TBool aFooterExpected);
+
+	inline TInt GetFooterSize() const;
+	inline void SetFooterSize(TBool aFooterSize);
+
+	inline TDesC& GetDescription();
+	inline void SetDescription(TDesC& aDesc);
+
+private:
+	TInt						iLinesBodyText;
+	TInt						iNumAttachments;
+	TInt						iNumLinesHtml;
+	TBool						iFooterExpected;
+	TBuf<64>					iDescription;
+	TInt						iFooterSize;
+	};
+
+
+#include "CExpMailInfo.inl"
+
+#endif // __CEXPMAILINFO_H__