Update contrib.
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "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.
23 This contains CT_RDirData
26 #if (!defined __T_RDIR_DATA_H__)
27 #define __T_RDIR_DATA_H__
30 #include "DataWrapperBase.h"
35 class CT_RDirData: public CDataWrapperBase
38 static CT_RDirData* NewL();
41 virtual TBool DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex);
42 virtual TAny* GetObject();
48 void RunL(CActive* aActive, TInt aIndex);
49 void DoCancel(CActive* aActive, TInt aIndex);
52 inline void DoCmdNew();
53 inline void DoCmdClose();
54 inline void DoCmdOpenL(const TDesC& aSection);
55 inline void DoCmdReadL(const TDesC& aSection, const TInt aAsyncErrorIndex);
56 inline void DoCmdDestructor();
57 void ReadExpectedNamesL( const TDesC& aSection );
61 void CompareEntryArray(TEntryArray* aEntryArray);
62 void CompareEntryData(TEntry* aEntry);
65 //** Instance for handling to resource directory */
68 /** The request status for read event */
69 CActiveCallback* iRead;
71 /** The request status for read array event */
72 CActiveCallback* iReadBlock;
74 /** entry for async format */
75 TPckg<TEntry>* iEntry;
77 /** Array of expected file names*/
78 RPointerArray<TPath>* iExpectedNames;
81 TBuf<KMaxPath> iObjName;
87 #endif /* __T_RDIR_DATA_H__ */