persistentstorage/sql/TEST/t_sqlbur.h
changeset 0 08ec8eefde2f
child 51 7d4490026038
equal deleted inserted replaced
-1:000000000000 0:08ec8eefde2f
       
     1 // Copyright (c) 2006-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 //
       
    15 
       
    16 #ifndef __T_SQLBUR_H__
       
    17 #define __T_SQLBUR_H__
       
    18 
       
    19 #include <e32test.h>
       
    20 #include <f32file.h>
       
    21 
       
    22 #include "SqlSrvBurInterface.h"
       
    23 
       
    24 class CSqlBurTestHarness : public CBase, public MSqlSrvBurInterface
       
    25 	{
       
    26 	public:
       
    27 		static CSqlBurTestHarness* New();
       
    28 		virtual ~CSqlBurTestHarness();
       
    29 		virtual void GetBackUpListL(TSecureId aUid, RArray<TParse>& aFileList);
       
    30 		virtual TBool StartBackupL(const RArray<TParse>&aFileList);
       
    31 		virtual void EndBackup(const RArray<TParse>&aFileList);
       
    32 		virtual TBool StartRestoreL(TSecureId aUid);
       
    33 		virtual void EndRestore(TSecureId aUid);
       
    34 		virtual RFs& Fs();
       
    35 		
       
    36 	private:
       
    37 		CSqlBurTestHarness();
       
    38 		void Construct();
       
    39 		
       
    40 	private:
       
    41 		RFs iFs;
       
    42 		
       
    43 	};
       
    44 
       
    45 #endif // __T_SQLBUR_H__