messagingfw/msgtestfw/TestActions/Email/Pop3/inc/CExpMailInfo.h
changeset 0 8e480a14352b
equal deleted inserted replaced
-1:000000000000 0:8e480a14352b
       
     1 /**
       
     2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 /**
       
    21  @file
       
    22 */
       
    23 
       
    24 #ifndef CEXPMAILINFO_H_INCLUDED
       
    25 #define CEXPMAILINFO_H_INCLUDED
       
    26 
       
    27 class CExpPop3MailInfo : public CBase
       
    28 	{
       
    29 
       
    30 	
       
    31 	public:
       
    32 
       
    33 
       
    34 		CExpPop3MailInfo() { }
       
    35 
       
    36 		virtual ~CExpPop3MailInfo() { }
       
    37 		
       
    38 		TInt GetNumLinesBodyText() const { return iLinesBodyText; }
       
    39 		void SetNumLinesBodyText( TInt aLinesBodyText ) { iLinesBodyText = aLinesBodyText; }
       
    40 
       
    41 		TInt GetNumAttachments() const { return iNumAttachments; }
       
    42 		void SetNumAttachments( TInt aNumAttachments ) { iNumAttachments = aNumAttachments; }
       
    43 
       
    44 		TInt GetNumLinesHtml() const { return iNumLinesHtml; }
       
    45 		void SetNumLinesHtml( TInt aNumLinesHtml ) { iNumLinesHtml = aNumLinesHtml; }
       
    46 
       
    47 		TBool GetFooterExpected() const { return iFooterExpected; }
       
    48 		void SetFooterExpected( TBool aFooterExpected ) { iFooterExpected = aFooterExpected; }
       
    49 
       
    50 		TInt GetFooterSize() const { return iFooterSize; }
       
    51 		void SetFooterSize( TBool aFooterSize ) { iFooterSize = aFooterSize; }
       
    52 
       
    53 		TDesC& GetDescription() { return iDescription; }
       
    54 		void SetDescription( TDesC& aDesc ) { iDescription.Copy( aDesc ); }
       
    55 
       
    56 	private:
       
    57 
       
    58 		TInt						iLinesBodyText;
       
    59 		TInt						iNumAttachments;
       
    60 		TInt						iNumLinesHtml;
       
    61 		TBool						iFooterExpected;
       
    62 		TBuf<64>					iDescription;
       
    63 		TInt						iFooterSize;
       
    64 
       
    65 
       
    66 
       
    67 
       
    68 
       
    69 	};
       
    70 
       
    71 
       
    72 
       
    73 
       
    74 #endif // CEXPMAILINFO_H_INCLUDED