buildverification/autosmoketest/messaging/Inc/TestMessCreateGsmSmsUtil.h
branchRCL_3
changeset 11 493058e57c8c
parent 0 9736f095102e
equal deleted inserted replaced
10:4ca382093dae 11:493058e57c8c
       
     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 // This class creates the Gsm sms header and service settings. It fills up the
       
    15 // fields using data read from the ini file
       
    16 // 
       
    17 //
       
    18 
       
    19 
       
    20 #if (!defined __TEST_MESS_CREATE_GSM_SMS_UTIL_H__)
       
    21 #define __TEST_MESS_CREATE_GSM_SMS_UTIL_H__
       
    22 
       
    23 #include "TestMessCreateSmsUtilBase.h"
       
    24 
       
    25 /**
       
    26  This class creates the Gsm sms header and the GSM SMS service settings. 
       
    27  The data is read from the ini file.
       
    28 */
       
    29 class CTestMessCreateGsmSmsUtil : public CTestMessCreateSmsUtilBase
       
    30 	{
       
    31 public:
       
    32 	//Constructor
       
    33 	CTestMessCreateGsmSmsUtil(CTestMessBase &aTestStep);
       
    34 
       
    35 	/**
       
    36 	 Prepare sms account details
       
    37 	*/
       
    38 	virtual void		PrepareAccountL(CMsvSession& aSession);
       
    39 
       
    40 	/**
       
    41 	 Creates the new header object
       
    42 	*/
       
    43 	virtual CSmsHeader*	NewHeaderL(CRichText &aBodyText);
       
    44 
       
    45 	/**
       
    46 	 Fills up the fields of the sms header object
       
    47 	*/
       
    48 	virtual void 		PrepareHeaderL(CSmsHeader &aSmsHeader);
       
    49 
       
    50 	/**
       
    51 	 Fills up the fields of the sms account settings 
       
    52 	*/
       
    53 	virtual void 		SetSmsAccountSettings(CSmsSettings &aSmsSettings);
       
    54 	};
       
    55 
       
    56 #endif /* __TEST_MESS_CREATE_GSM_SMS_UTIL_H__ */