common/tools/ats/smoketest/email/email/pop/inc/T_DeleteAllPopChildren.h
changeset 719 d5603c08781b
child 872 17498133d9ad
equal deleted inserted replaced
718:b18be44be852 719:d5603c08781b
       
     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_DELETE_ALL_POP_CHILDREN_H__
       
    27 #define __T_DELETE_ALL_POP_CHILDREN_H__
       
    28 
       
    29 
       
    30 // User include
       
    31 #include "T_MsgAsyncStepPOP.h"
       
    32 
       
    33 //	Forward decleration
       
    34 class CT_MsgUtilsDeleteAllChildren;
       
    35 
       
    36 //Literals Used
       
    37 _LIT(KDeleteAllPopChildren,"DeleteAllPopChildren");
       
    38 
       
    39 
       
    40 /**
       
    41 Implements a test step to delete all the children entries for the remote 
       
    42 POP account.
       
    43 */
       
    44 class CT_MsgDeleteAllPopChildren : public CT_MsgAsyncStepPOP
       
    45 	{
       
    46 public:
       
    47 	static CT_MsgDeleteAllPopChildren* NewL(CT_MsgSharedDataPop& aSharedDataPOP);
       
    48 	~CT_MsgDeleteAllPopChildren();
       
    49 
       
    50 	//	CTestStep implementation
       
    51 	virtual TVerdict	doTestStepL();
       
    52 
       
    53 private:
       
    54 	CT_MsgDeleteAllPopChildren(CT_MsgSharedDataPop& aSharedDataPOP);
       
    55 
       
    56 	//	CT_MsgAsyncStep implementation
       
    57 	virtual void	ProgressL(TBool bFinal);
       
    58 
       
    59 	//	MT_MsgActiveCallback implementation
       
    60 	virtual void	CancelStep();
       
    61 
       
    62 private:
       
    63 	CT_MsgUtilsDeleteAllChildren*	iUtil;
       
    64 	};
       
    65 
       
    66 #endif //__T_DELETE_ALL_POP_CHILDREN_H__