messagingfw/msgtestfw/TestActions/Sms/inc/CMtfTestActionCreateEmailOverSmsMessage.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 
       
    18 #ifndef __CMTFTESTACTIONCREATEEMAILOVERSMSMESSAGE_H__
       
    19 #define __CMTFTESTACTIONCREATEEMAILOVERSMSMESSAGE_H__
       
    20 
       
    21 
       
    22 #include "CMtfSynchronousTestAction.h"
       
    23 
       
    24 class CMsvEntry;
       
    25 class TMsvEntry;
       
    26 
       
    27 _LIT(KTestActionCreateEmailOverSmsMessage,"CreateEmailOverSmsMessage");
       
    28 
       
    29 /**
       
    30 This action creates a simple SMS message.
       
    31 
       
    32 The test action first gets the configuration settings from an SMS message configuration file.
       
    33 It then creates an Email over SMS message entry, and stores the CSmsHeader object and CRichText object.
       
    34 Right now, it only supports single recipient message.  After creating the message, the 
       
    35 action stores the message entry ID to the supplied parameter.
       
    36 
       
    37 @internalTechnology
       
    38 */
       
    39 class CMtfTestActionCreateEmailOverSmsMessage : public CMtfSynchronousTestAction
       
    40 	{
       
    41 public:
       
    42 	static CMtfTestAction* NewL(CMtfTestCase& aTestCase,CMtfTestActionParameters* aActionParameters);
       
    43 
       
    44 public:
       
    45 	virtual void ExecuteActionL();
       
    46 	
       
    47 private:
       
    48 	CMtfTestActionCreateEmailOverSmsMessage(CMtfTestCase& aTestCase);
       
    49 	void InitializeHeaderFromConfigL(TMsvEntry* indexEntry, CMsvEntry* aEntry);
       
    50 	};
       
    51 
       
    52 
       
    53 #endif