cbsref/telephonyrefplugins/atltsy/integrationtest/inc/testltsysmsbase.h
branchRCL_3
changeset 65 630d2f34d719
equal deleted inserted replaced
61:17af172ffa5f 65:630d2f34d719
       
     1 // Copyright (c) 2008-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 // Implementation of the Class CTestLtsySmsBase
       
    15 // 
       
    16 //
       
    17 
       
    18 #ifndef TESTLTSYSMSBASE_H_
       
    19 #define TESTLTSYSMSBASE_H_
       
    20 
       
    21 // user include
       
    22 class CTestLtsyModel;
       
    23 #include "te_integration_stltsysuitestepbase.h"
       
    24 #include "testltsymodel.h"
       
    25 
       
    26 //constant defination
       
    27 const TInt16 KMessageLen(165);
       
    28 
       
    29 // class declaration
       
    30 /**
       
    31  * This class provide the common functionalities related to the sms.
       
    32  * 
       
    33  */
       
    34 class CTestLtsySmsBase : public CTe_integration_stltsySuiteStepBase
       
    35 /**
       
    36  * @internalAll
       
    37  * @test
       
    38  */
       
    39 	{
       
    40 public:
       
    41 	virtual ~CTestLtsySmsBase();
       
    42 	CTestLtsySmsBase(CTestLtsyModel& aTestModel);
       
    43 protected:
       
    44 	virtual TVerdict doTestStepPreambleL();
       
    45 	virtual TVerdict doTestStepPostambleL();
       
    46 	RMobileSmsMessaging& Sms();
       
    47 	RMobileSmsStore& SmsStore();
       
    48 	void OpenPhoneL();
       
    49 	void OpenSmsL();
       
    50 	void OpenSmsStoreL();
       
    51 	void CloseSmsL();
       
    52 	void CloseSmsStoreL();
       
    53 	void GetIndex();
       
    54 protected:
       
    55 	CTestLtsyModel& iModel;
       
    56 	TInt iIndexNum;
       
    57 	TInt iStoreIndex;
       
    58 	};
       
    59 
       
    60 #endif /*TESTLTSYSMSBASE_H_*/