messagingfw/msgtestfw/TestActions/SendAs/inc/CMtfTestActionSendAsCheckMultipleRecipientFlag.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 __CMTFTESTACTIONSENDASCHECKMULTIPLERECIPIENTFLAG_H__
       
    26 #define __CMTFTESTACTIONSENDASCHECKMULTIPLERECIPIENTFLAG_H__
       
    27 
       
    28 //System Include
       
    29 #include <msvstore.h>
       
    30 #include <badesca.h>
       
    31 #include <msvapi.h>
       
    32 #include <miuthdr.h>
       
    33 
       
    34 //User Include
       
    35 #include "CMtfSynchronousTestAction.h"
       
    36 
       
    37 /*@{*/
       
    38 /// Literal defined for the name of the Test Action
       
    39 _LIT(KTestActionSendAsCheckMultipleRecipientFlag,"SendAsCheckMultipleRecipientFlag");
       
    40 /*@}*/
       
    41 
       
    42 /**
       
    43  CheckMultipleRecipientFlag Test Action is intended verify if the Multiple Recipient Flag has been set
       
    44 @internalTechnology
       
    45 */
       
    46 class CMtfTestActionSendAsCheckMultipleRecipientFlag : public CMtfSynchronousTestAction
       
    47 	{
       
    48 public:
       
    49 	virtual ~CMtfTestActionSendAsCheckMultipleRecipientFlag(); 
       
    50 
       
    51 	static CMtfTestAction* NewL(CMtfTestCase& aTestCase,
       
    52 								CMtfTestActionParameters* ActionParameters);
       
    53 								
       
    54 	virtual void ExecuteActionL();
       
    55 
       
    56 private:
       
    57 	CMtfTestActionSendAsCheckMultipleRecipientFlag(CMtfTestCase& aTestCase);
       
    58 	
       
    59 	void ObtainRecipientsL(CMsvEntry* aMsvEntry, CDesC16ArrayFlat&  aRecipientArray);
       
    60 	
       
    61 	TInt CheckFlag (CMsvEntry& aMsgEntry);
       
    62 	};
       
    63 
       
    64 
       
    65 #endif //__CMTFTESTACTIONSENDASCHECKMULTIPLERECIPIENTFLAG_H__