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