messagingfw/msgtestfw/TestActions/Email/Pop3/inc/CMtfTestActionCreatePop3MailSelection.h
changeset 0 8e480a14352b
equal deleted inserted replaced
-1:000000000000 0:8e480a14352b
       
     1 /**
       
     2 * Copyright (c) 2004-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 "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 /**
       
    21  @file
       
    22 */
       
    23 
       
    24 
       
    25 #ifndef CMTFTESTACTIONCREATEPOP3MAILSELECTION_H
       
    26 #define CMTFTESTACTIONCREATEPOP3MAILSELECTION_H
       
    27 
       
    28 
       
    29 // User include
       
    30 #include "CMtfSynchronousTestAction.h"
       
    31 
       
    32 /*@{*/
       
    33 /// Literal defined for the name of the Test Action
       
    34 _LIT(KTestActionCreateMailSelection,"CreateMailSelection");
       
    35 /*@}*/
       
    36 
       
    37 
       
    38 /**
       
    39   Overview: 
       
    40   CMtfTestActionCreatePop3MailSelection class derived from CMtfSynchronousTestAction.
       
    41   Implements the action of creation of two seperate message selections from a 
       
    42   selection of all POP3 messages in a parent folder.  From the selection of all 
       
    43   IMPA4 type children messages, the message Ids are copied into seperate selections
       
    44   based on odd or even index in the children selection.
       
    45   @internalTechnology
       
    46 */
       
    47 class CMtfTestActionCreateMailSelection : public CMtfSynchronousTestAction
       
    48 	{
       
    49 public:
       
    50 	static CMtfTestAction* NewL( CMtfTestCase& aTestCase,
       
    51 								 CMtfTestActionParameters* ActionParameters
       
    52 							   );
       
    53 	virtual ~CMtfTestActionCreateMailSelection(); 
       
    54 
       
    55 public:
       
    56 	// From CMtfSynchronousTestAction, override the base class' virtual function
       
    57 	virtual void ExecuteActionL();
       
    58 
       
    59 private:
       
    60 	CMtfTestActionCreateMailSelection(CMtfTestCase& aTestCase); 	
       
    61 	};
       
    62 
       
    63 
       
    64 #endif  // CMTFTESTACTIONCREATEPOP3MAILSELECTION_H