Update contrib.
1 // Copyright (c) 2007-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.
21 #ifndef RESOURCEFILEREADER_H
22 #define RESOURCEFILEREADER_H
29 class TUncompressedVideoFormat;
32 /** This class is responsible for reading the supplied resource file */
33 NONSHARABLE_CLASS(CResourceFileReader) : public CBase
36 static CResourceFileReader* NewL(const TDesC& aResourceFile);
37 static CResourceFileReader* NewLC(const TDesC& aResourceFile);
38 ~CResourceFileReader();
40 void ReadSupportedFormatL(RArray<TUncompressedVideoFormat>& aArray);
41 void ReadTimerInfoL(TInt64& aDefaultDelay, TInt64& aMaxDelay);
44 CResourceFileReader();
45 void ConstructL(const TDesC& aResourceFile);
49 RResourceFile iResourceFile;
52 #endif // RESOURCEFILEREADER_H