Update contrib.
2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
25 #ifndef __FILEREADER__
26 #define __FILEREADER__
35 class CFileReader : public CBase
38 static CFileReader* NewL(TPtrC aFileReader);
39 static CFileReader* NewLC(TPtrC aFileReader);
40 static CFileReader* NewL(TPtrC aFilePath, TInt aBlockSize);
41 static CFileReader* NewLC(TPtrC aFilePath, TInt aBlockSize);
43 operator const TPtrC8();
45 virtual ~CFileReader();
51 /** Parse a hex string and return a new RInteger. */
52 RInteger ParseIntegerL();
54 /** Parse a hex string and return a new descriptor containing the binary data. */
55 HBufC8* ParseBinaryL(const TDesC8& aDes);
60 void ConstructL(TPtrC aFileReader);
61 void ConstructL(TPtrC aFilePath, TInt aOffsetSize);
63 HBufC8* iFileContents;