cbsref/telephonyrefplugins/atltsy/integrationtest/inc/testltsyphonestoreshareddata.h
branchRCL_3
changeset 65 630d2f34d719
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cbsref/telephonyrefplugins/atltsy/integrationtest/inc/testltsyphonestoreshareddata.h	Tue Aug 31 16:23:08 2010 +0300
@@ -0,0 +1,38 @@
+// TestTelephonyPhoneStoreSharedData.h
+// Copyright (c) Symbian Software Ltd 2008. All rights reserved.
+//
+// Implementation of the Class CTestTelephonyPhoneStoreSharedData
+
+#ifndef TESTTELEPHONYPHONESTORESHAREDDATA_H_
+#define TESTTELEPHONYPHONESTORESHAREDDATA_H_
+// system include
+#include <e32cmn.h>
+#include <e32base.h>
+#include <etelmm.h>
+
+/**
+ * This class defines the shared data of phone store test category between 
+ * different test steps.
+ */
+class CTestLtsyPhoneStoreSharedData : public CBase
+/**
+ * @internalAll
+ * @test
+ */
+	{
+public:
+	CTestLtsyPhoneStoreSharedData();
+	virtual ~CTestLtsyPhoneStoreSharedData();
+	static CTestLtsyPhoneStoreSharedData* NewL();	
+	RMobileENStore& PhoneENStore();	
+	RMobileONStore& PhoneONStore();	
+	RMobilePhoneBookStore& PhoneBookStore();
+	void   Reset();	
+private:
+	void ConstructL();
+private:
+	RMobileONStore iONStore;
+	RMobileENStore iENStore;
+	RMobilePhoneBookStore iPhBkStore;
+	};
+#endif /*TESTTELEPHONYPHONESTORESHAREDDATA_H_*/