email/email/smtp/inc/T_SmtpCreateReplyMessage.h
branchSymbian2
changeset 1 8758140453c0
child 6 c108117318cb
equal deleted inserted replaced
0:e8c1ea2c6496 1:8758140453c0
       
     1 /*
       
     2 * Copyright (c) 2007-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 the License "Symbian Foundation License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 * @file 
       
    16 * This is the header file for CT_SmtpCreateReplyMessage
       
    17 * 
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 #ifndef __T_SMTPCREATE_REPLYMESSAGE_H__
       
    27 #define __T_SMTPCREATE_REPLYMESSAGE_H__
       
    28 
       
    29 
       
    30 // User includes
       
    31 #include "T_MsgAsyncStepSMTP.h"
       
    32 
       
    33 
       
    34 // Literals used 
       
    35 _LIT(KSmtpCreateReplyMessage,"SmtpCreateReplyMessage");
       
    36 
       
    37 
       
    38 /* 
       
    39  * Implements a test step that create a reply message using the SMTP client MTM command
       
    40  */
       
    41 class CT_SmtpCreateReplyMessage : public CT_MsgAsyncStepSMTP
       
    42 	{
       
    43 public:
       
    44 	static CT_SmtpCreateReplyMessage* NewL(CT_MsgSharedDataSmtp& aSharedDataSMTP);
       
    45 	~CT_SmtpCreateReplyMessage();
       
    46 
       
    47 	// CTestStep implementation 
       
    48 	virtual TVerdict doTestStepL();
       
    49 
       
    50 private:
       
    51 	CT_SmtpCreateReplyMessage(CT_MsgSharedDataSmtp& aSharedDataSMTP);
       
    52 	void SetHeaderPartL();
       
    53 	
       
    54 	virtual void ProgressL(TBool bFinal);
       
    55 	virtual void CancelStep();
       
    56 	
       
    57 private:
       
    58 	CMsvOperation*	iOperation;
       
    59 	};
       
    60 #endif // __T_SMTPCREATE_REPLYMESSAGE_H__