Update contrib.
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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef __T2_CRCCHECK_H__
17 #define __T2_CRCCHECK_H__
33 User::LeaveIfError(ifs.Connect());
35 ~TDBMS_CRCChecks() { ifs.Close(); iarray.Close(); };
36 TInt FileCrcL(const RFile&, TUint32 &);
37 const TInt GenerateCrcL(const TPtrC);
38 const TInt RecordCount();
39 const TestCheckInfo operator[](const TInt);
40 const TInt DumpCrcRecordsL(const TDesC&);
41 const TInt ValidateCrcRecordsL(const TDesC&);
42 const void ErrorReportL(const TInt err, TPtrC&);
43 const TInt SetSessionPath(const TDesC&);
48 ECrcCheckFewerRecords,
54 TPtrC8 itestname, ilogfile;
55 RArray<TestCheckInfo> iarray;
59 #endif // __T2_CRCCHECK_H__