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_FILE_TEXT_DATA_H__
21 #define __T_FILE_TEXT_DATA_H__
25 #include "DataWrapperBase.h"
33 class CT_FileTextData: public CDataWrapperBase
36 static CT_FileTextData* NewL();
39 virtual TBool DoCommandL( const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt /*aAsyncErrorIndex*/ );
40 virtual TAny* GetObject();
48 inline void DoCleanup();
49 inline void DoCmdNew();
50 inline void DoCmdRead( const TDesC& aSection );
51 inline void DoCmdSeek( const TDesC& aSection );
52 inline void DoCmdSet( const TDesC& aSection );
53 inline void DoCmdWrite( const TDesC& aSection );
56 TBool GetSeekMode( const TDesC& aSection, TSeek& aMode, TBool aOptional );
60 // TFileText class instance
64 #endif // __T_FILE_TEXT_DATA_H__