email/imap4mtm/imapsession/inc/cimapfetchsinglebodystructure.h
changeset 80 8b14b30db193
parent 0 72b543305e3a
equal deleted inserted replaced
79:2981cb3aa489 80:8b14b30db193
       
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef __CIMAPFETCHSINGLEBODYSTRUCTURE_H__
       
    17 #define __CIMAPFETCHSINGLEBODYSTRUCTURE_H__
       
    18 
       
    19 #include "cimapfetchbodystructurebase.h"
       
    20 
       
    21 class CImapFetchResponse;
       
    22 class MOutputStream;
       
    23 
       
    24 /**
       
    25 Performs an IMAP FETCH command, requesting bodystructure and header information for
       
    26 a single message.  The requested inforamtion is returned via the CImapFetchResponse 
       
    27 object that is passed into the constructor.
       
    28 Most of the processing for this command happens in the base class.
       
    29 @internalTechnology
       
    30 @prototype
       
    31 */
       
    32 class CImapFetchSingleBodyStructure : public CImapFetchBodyStructureBase
       
    33 	{
       
    34 public:
       
    35 	static CImapFetchSingleBodyStructure* NewL(CImapFolderInfo* aSelectedFolderInfo, TInt aLogId, TInt aMsgUid, const TDesC8& aHeaderFields, CImapFetchResponse& aFetchResponse);
       
    36 	~CImapFetchSingleBodyStructure();
       
    37 
       
    38 private:
       
    39 	CImapFetchSingleBodyStructure(CImapFolderInfo* aSelectedFolderInfo, TInt aLogId, const TDesC8& aHeaderFields, CImapFetchResponse& aFetchResponse);
       
    40 	void ConstructL(TInt aMsgUid);
       
    41 	
       
    42 private:
       
    43 	HBufC8* iUidBuf;
       
    44 	};
       
    45 
       
    46 #endif // __CIMAPFETCHSINGLEBODYSTRUCTURE_H__