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