email/email/smtp/inc/T_SmtpCreateForwardMessage.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_SmtpCreateForwadMessage
       
    17 * 
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 #ifndef __T_SMTPCREATE_FORWARDMESSAGE_H__
       
    27 #define __T_SMTPCREATE_FORWARDMESSAGE_H__
       
    28 
       
    29 
       
    30 // User includes
       
    31 #include "T_MsgAsyncStepSMTP.h"
       
    32 
       
    33 
       
    34 // Literals used 
       
    35 _LIT(KSmtpCreateForwadMessage,"SmtpCreateForwadMessage");
       
    36 
       
    37 
       
    38 /* 
       
    39  * Implements a test step that create a forwrad message using the SMTP client MTM command
       
    40  */
       
    41 class CT_SmtpCreateForwadMessage : public CT_MsgAsyncStepSMTP
       
    42 	{
       
    43 public:
       
    44 	static CT_SmtpCreateForwadMessage* NewL(CT_MsgSharedDataSmtp& aSharedDataSMTP);
       
    45 	~CT_SmtpCreateForwadMessage();
       
    46 
       
    47 	// CTestStep implementation 
       
    48 	virtual TVerdict doTestStepL();
       
    49 
       
    50 private:
       
    51 	CT_SmtpCreateForwadMessage(CT_MsgSharedDataSmtp& aSharedDataSMTP);
       
    52 	void SetHeaderPartL();
       
    53 	void GetDefaultAddressL();
       
    54 
       
    55 	virtual void ProgressL(TBool bFinal);
       
    56 	virtual void CancelStep();
       
    57 
       
    58 private:
       
    59 	HBufC* iRecipientAddress;
       
    60 	CMsvOperation*	iOperation;
       
    61 	};
       
    62 #endif // __T_SMTPCREATE_FORWARDMESSAGE_H__