os/kernelhwsrv/baseapitest/basesvs/validation/f32/sfsrv/inc/T_ParsePtrData.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_PARSE_PTR_DATA_H__
    21 #define __T_PARSE_PTR_DATA_H__
    22 
    23 //	User Includes
    24 #include "T_ParseBaseData.h"
    25 
    26 //	EPOC includes
    27 #include <f32file.h>
    28 #include <e32std.h>
    29 #include <f32fsys.h>
    30 
    31 class CT_ParsePtrData: public CT_ParseBaseData
    32 	{
    33 public:
    34 	static CT_ParsePtrData* NewL();
    35 	~CT_ParsePtrData();
    36 
    37 	virtual TParseBase* GetParse();
    38 	virtual TBool DoCommandL( const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex);
    39 	virtual TAny* GetObject();
    40 
    41 protected:
    42 	CT_ParsePtrData();
    43 	void ConstructL();
    44 
    45 private:	// command processors
    46     inline void DoCleanup();
    47     inline void DoCmdNew( const TDesC& aSection );
    48     inline void DoCmdAddDir( const TDesC& aSection );
    49     inline void DoCmdPopDir();
    50     
    51 	
    52 private:
    53 	
    54 	//	TParsePtr class instance that is tested
    55 	TParsePtr*			iParsePtr;
    56 
    57 	// Buffer of the filename to be parsed
    58 	TBuf<KMaxFileName>	iFileName;
    59 	};
    60 
    61 #endif // __T_PARSE_PTR_DATA_H__
    62