messagingfw/msgtestfw/TestActions/Pigeon/inc/CMtfTestActionSchedulePigeonMessage.h
changeset 62 db3f5fa34ec7
parent 0 8e480a14352b
equal deleted inserted replaced
60:9f5ae1728557 62:db3f5fa34ec7
       
     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 #ifndef __CMTFTESTACTIONSCHEDULEPIGEONMESSAGE_H__
       
    17 #define __CMTFTESTACTIONSCHEDULEPIGEONMESSAGE_H__
       
    18 
       
    19 // User Includes
       
    20 #include "CMtfTestAction.h"
       
    21 
       
    22 // System Includes
       
    23 #include <msvstd.h>
       
    24 #include <msvapi.h>
       
    25 
       
    26 /*@{*/
       
    27 // Literal defined for the name of the Test Action
       
    28 _LIT(KTestActionSchedulePigeonMessage,"SchedulePigeonMessage");
       
    29 /*@}*/
       
    30 
       
    31 /**
       
    32 This Test action issues the command the Pigeon server MTM to schedule/reschdule
       
    33 the messages.
       
    34 @internalTechnology
       
    35 */
       
    36 class CMtfTestActionSchedulePigeonMessage : public CMtfTestAction
       
    37 	{
       
    38 public:
       
    39 	static CMtfTestAction* NewL(CMtfTestCase& aTestCase,CMtfTestActionParameters* aActionParameters);
       
    40 	virtual ~CMtfTestActionSchedulePigeonMessage();
       
    41 	virtual void ExecuteActionL();
       
    42 
       
    43 protected:
       
    44 	void RunL();
       
    45 	void DoCancel();
       
    46 
       
    47 private:
       
    48 	CMtfTestActionSchedulePigeonMessage(CMtfTestCase& aTestCase);
       
    49 
       
    50 private:
       
    51 	CMsvOperation*			iOperation;
       
    52 	CMsvEntrySelection *	iSelection;
       
    53 	};
       
    54 
       
    55 #endif // __CMTFTESTACTIONSCHEDULEPIGEONMESSAGE_H__