telephonyserverplugins/attestltsy/integrationtest/inc/testltsysmsshareddata.h
author Tom Pritchard <tomp@symbian.org>
Tue, 09 Feb 2010 12:31:43 +0000
branchAT_Test_LTSY
changeset 1 4047d69ee0e4
permissions -rw-r--r--
Initial upload of Nokia's AT based test LTSY which uses the dispatcher

// TestTelephonySmsSharedData.h
// Copyright (c) Symbian Software Ltd 2008. All rights reserved.
//
// Implementation of the Class CTestTelephonySmsSharedData

#ifndef TESTTELEPHONYSMSSHAREDDATA_H
#define TESTTELEPHONYSMSSHAREDDATA_H

// system include
#include <e32cmn.h>
#include <e32base.h>
#include <etelmm.h>

/**
 * This class defines the shared data of sms test category between 
 * different test steps.
 */
class CTestLtsySmsSharedData : public CBase
/**
 * @internalAll
 * @test
 */
	{
public:
	CTestLtsySmsSharedData();
	virtual ~CTestLtsySmsSharedData();
	static CTestLtsySmsSharedData* NewL();
	RArray<RMobileSmsMessaging>& SmsMessagingArray();
	RArray<RMobileSmsStore>& SmsStoreArray();
	void Reset();
	void InitializeL();
private:
	void ConstructL();
private:
	RArray<RMobileSmsMessaging> iMessaging;
	RArray<RMobileSmsStore> iSmsStore;
	};

#endif // TESTTELEPHONYSMSSHAREDDATA_H