--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/messagingfw/msgtestfw/TestActions/Sms/inc/CMtfTestActionCreateSmsMessage.h Wed Nov 03 22:41:46 2010 +0530
@@ -0,0 +1,52 @@
+// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+
+
+#ifndef __CMTFTESTACTIONCREATESMSMESSAGE_H__
+#define __CMTFTESTACTIONCREATESMSMESSAGE_H__
+
+
+#include "CMtfSynchronousTestAction.h"
+
+class CMsvEntry;
+
+_LIT(KTestActionCreateSmsMessage,"CreateSmsMessage");
+
+/**
+This action creates a simple SMS message.
+
+The test action first gets the configuration settings from an SMS message configuration file.
+It then creates an SMS message entry, and stores the CSmsHeader object and CRichText object.
+Right now, it only supports single recipient message. After creating the SMS message, the
+action stores the message entry ID to the supplied parameter.
+
+@internalTechnology
+*/
+class CMtfTestActionCreateSmsMessage : public CMtfSynchronousTestAction
+ {
+public:
+ static CMtfTestAction* NewL(CMtfTestCase& aTestCase,CMtfTestActionParameters* aActionParameters);
+
+public:
+ virtual void ExecuteActionL();
+
+private:
+ CMtfTestActionCreateSmsMessage(CMtfTestCase& aTestCase);
+ void InitializeHeaderFromConfigL(CMsvEntry* aEntry);
+ };
+
+
+#endif