os/kernelhwsrv/baseapitest/basesvs/validation/f32/sfsrv/inc/T_OpenFileScanData.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /*
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     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".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description: 
    15 *
    16 */
    17 
    18 
    19 
    20 #ifndef __T_OPEN_FILE_SCAN_DATA_H__
    21 #define __T_OPEN_FILE_SCAN_DATA_H__
    22 
    23 //	User Includes
    24 #include "DataWrapperBase.h"
    25 #include "T_FsData.h"
    26 
    27 //	EPOC includes
    28 #include <f32file.h>
    29 #include <e32std.h>
    30 #include <f32fsys.h>
    31 
    32 class CT_OpenFileScanData: public CDataWrapperBase
    33 	{
    34 public:
    35 	static CT_OpenFileScanData* NewL();
    36 	~CT_OpenFileScanData();
    37 
    38 	virtual TBool DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt /*aAsyncErrorIndex*/);
    39 	virtual TAny* GetObject();
    40 
    41 protected:
    42 	CT_OpenFileScanData();
    43 	void ConstructL();
    44 
    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 );
    50     
    51 private:	// helper functions
    52 	TBool GetRfsParam( const TDesC& aSection, RFs*& aRfs, TPtrC& aRfsName );
    53 	
    54 private:
    55 	//	TOpenFileScan class instance that is tested
    56 	TOpenFileScan*		iOpenFileScan;
    57 	};
    58 
    59 #endif // __T_OPEN_FILE_SCAN_DATA_H__
    60