cbsref/telephonyrefplugins/atltsy/integrationtest/inc/testltsyphonestoreshareddata.h
changeset 49 f50f4094acd7
equal deleted inserted replaced
48:14460bf2a402 49:f50f4094acd7
       
     1 // TestTelephonyPhoneStoreSharedData.h
       
     2 // Copyright (c) Symbian Software Ltd 2008. All rights reserved.
       
     3 //
       
     4 // Implementation of the Class CTestTelephonyPhoneStoreSharedData
       
     5 
       
     6 #ifndef TESTTELEPHONYPHONESTORESHAREDDATA_H_
       
     7 #define TESTTELEPHONYPHONESTORESHAREDDATA_H_
       
     8 // system include
       
     9 #include <e32cmn.h>
       
    10 #include <e32base.h>
       
    11 #include <etelmm.h>
       
    12 
       
    13 /**
       
    14  * This class defines the shared data of phone store test category between 
       
    15  * different test steps.
       
    16  */
       
    17 class CTestLtsyPhoneStoreSharedData : public CBase
       
    18 /**
       
    19  * @internalAll
       
    20  * @test
       
    21  */
       
    22 	{
       
    23 public:
       
    24 	CTestLtsyPhoneStoreSharedData();
       
    25 	virtual ~CTestLtsyPhoneStoreSharedData();
       
    26 	static CTestLtsyPhoneStoreSharedData* NewL();	
       
    27 	RMobileENStore& PhoneENStore();	
       
    28 	RMobileONStore& PhoneONStore();	
       
    29 	RMobilePhoneBookStore& PhoneBookStore();
       
    30 	void   Reset();	
       
    31 private:
       
    32 	void ConstructL();
       
    33 private:
       
    34 	RMobileONStore iONStore;
       
    35 	RMobileENStore iENStore;
       
    36 	RMobilePhoneBookStore iPhBkStore;
       
    37 	};
       
    38 #endif /*TESTTELEPHONYPHONESTORESHAREDDATA_H_*/