sl@0: /* sl@0: * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: sl@0: * sl@0: */ sl@0: sl@0: sl@0: sl@0: #ifndef __T_PARSE_BASE_DATA_H__ sl@0: #define __T_PARSE_BASE_DATA_H__ sl@0: sl@0: // User Includes sl@0: #include "DataWrapperBase.h" sl@0: #include "T_FsData.h" sl@0: sl@0: // EPOC includes sl@0: #include sl@0: #include sl@0: #include sl@0: sl@0: sl@0: class CT_ParseBaseData: public CDataWrapperBase sl@0: { sl@0: public: sl@0: ~CT_ParseBaseData(); sl@0: sl@0: virtual TBool DoCommandL( const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt /*aAsyncErrorIndex*/); sl@0: virtual TAny* GetObject(); sl@0: virtual TParseBase* GetParse() = 0; sl@0: sl@0: protected: sl@0: sl@0: private: sl@0: // command processors sl@0: inline void DoCmdDrive( const TDesC& aSection ); sl@0: inline void DoCmdDriveAndPath( const TDesC& aSection ); sl@0: inline void DoCmdDrivePresent( const TDesC& aSection ); sl@0: inline void DoCmdExt( const TDesC& aSection ); sl@0: inline void DoCmdExtPresent( const TDesC& aSection ); sl@0: inline void DoCmdFullName( const TDesC& aSection ); sl@0: inline void DoCmdIsKMatchAny( const TDesC& aSection ); sl@0: inline void DoCmdIsKMatchOne( const TDesC& aSection ); sl@0: inline void DoCmdIsExtWild( const TDesC& aSection ); sl@0: inline void DoCmdIsNameWild( const TDesC& aSection ); sl@0: inline void DoCmdIsRoot( const TDesC& aSection ); sl@0: inline void DoCmdIsWild( const TDesC& aSection ); sl@0: inline void DoCmdName( const TDesC& aSection ); sl@0: inline void DoCmdNameAndExt( const TDesC& aSection ); sl@0: inline void DoCmdNameOrExtPresent( const TDesC& aSection ); sl@0: inline void DoCmdNamePresent( const TDesC& aSection ); sl@0: inline void DoCmdPath( const TDesC& aSection ); sl@0: inline void DoCmdPathPresent( const TDesC& aSection ); sl@0: private: sl@0: sl@0: }; sl@0: sl@0: #endif // __T_PARSE_BASE_DATA_H__ sl@0: