email/email/pop/inc/T_DisConnectPop3Server.h
branchSymbian2
changeset 1 8758140453c0
child 6 c108117318cb
equal deleted inserted replaced
0:e8c1ea2c6496 1:8758140453c0
       
     1 /**
       
     2 * Copyright (c) 2006-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 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 /**
       
    23  @file
       
    24 */
       
    25 
       
    26 #ifndef __T_DIS_CONNECT_POP3_SERVER_H__
       
    27 #define __T_DIS_CONNECT_POP3_SERVER_H__
       
    28 
       
    29 // User includes
       
    30 #include"T_MsgAsyncStepPOP.h"
       
    31 #include "T_MsgSharedDataPop.h"
       
    32 
       
    33 
       
    34 // Literals Used
       
    35 _LIT(KDisConnectPop3Server,"DisConnectPop3Server");
       
    36 
       
    37 /**
       
    38 Implements a test step to disconnect from the POP server
       
    39 */
       
    40 class CT_MsgDisConnectPop3Server : public CT_MsgAsyncStepPOP
       
    41 	{
       
    42 public:
       
    43 	static CT_MsgDisConnectPop3Server* NewL(CT_MsgSharedDataPop& aSharedDataPOP);
       
    44 	~CT_MsgDisConnectPop3Server();
       
    45 
       
    46 	//	CTestStep implementation
       
    47 	virtual TVerdict	doTestStepL();
       
    48 
       
    49 private:
       
    50 	CT_MsgDisConnectPop3Server(CT_MsgSharedDataPop& aSharedDataPOP);
       
    51 
       
    52 	//	CT_MsgAsyncStep implementation
       
    53 	virtual void	ProgressL(TBool bFinal);
       
    54 
       
    55 	//	MT_MsgActiveCallback implementation
       
    56 	virtual void	CancelStep();
       
    57 
       
    58 private:
       
    59 	CMsvOperation*	iOperation;
       
    60 	};
       
    61 
       
    62 #endif //__T_DIS_CONNECT_POP3_SERVER_H__