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.
20 #ifndef __T_OPEN_FILE_SCAN_DATA_H__
21 #define __T_OPEN_FILE_SCAN_DATA_H__
24 #include "DataWrapperBase.h"
32 class CT_OpenFileScanData: public CDataWrapperBase
35 static CT_OpenFileScanData* NewL();
36 ~CT_OpenFileScanData();
38 virtual TBool DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt /*aAsyncErrorIndex*/);
39 virtual TAny* GetObject();
42 CT_OpenFileScanData();
45 private: // command processors
46 inline void DoCleanup();
47 inline void DoCmdNew( const TDesC& aSection );
48 inline void DoCmdNextL( const TDesC& aSection );
49 inline void DoCmdThreadId( const TDesC& aSection );
51 private: // helper functions
52 TBool GetRfsParam( const TDesC& aSection, RFs*& aRfs, TPtrC& aRfsName );
55 // TOpenFileScan class instance that is tested
56 TOpenFileScan* iOpenFileScan;
59 #endif // __T_OPEN_FILE_SCAN_DATA_H__