diff -r e1b950c65cb4 -r 837f303aceeb epoc32/include/gfp.h --- a/epoc32/include/gfp.h Wed Mar 31 12:27:01 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,68 +0,0 @@ -// Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies). -// All rights reserved. -// This component and the accompanying materials are made available -// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members -// which accompanies this distribution, and is available -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// Header file for the Generic File parser -// -// - -#if !defined (__GFP_H__) -#define __GFP_H__ - -#include - -class CMsvGenericFileParser : public CBaseScriptParser2 -/** -@internalComponent -@released -*/ - { -public: - IMPORT_C static CMsvGenericFileParser* NewL(CRegisteredParserDll& aRegisteredParserDll, CMsvEntry& aEntry, RFs& aFs); - - ~CMsvGenericFileParser(); - - void ParseL(TRequestStatus& aStatus, const TDesC& aSms); - void ProcessL(TRequestStatus& aStatus); - -private: - void DoCancel(); - void RunL(); - -private: - enum TParseSession - { - //EUnfoldMessage, // Don't have to unfold the message, just save it - EParseMessage, // Parsing - ECompleteMessage // Completing .. - }; - - CMsvGenericFileParser(CRegisteredParserDll& aRegisteredParserDll, CMsvEntry& aEntry, RFs& aFs); - void ConstructL(); - - void ChangeStateL(TParseSession aState); // Advance state machine to next state - void ParseMessageL(); - void CompleteMessageL(); - void GetResourceFileL(TFileName& aFileName); - - void RequestComplete(TRequestStatus& aStatus, TInt aError); - - TInt iState; // Current session state - TBuf<256> iDescriptionText; // Holds on to the description text. - - TRequestStatus* iReport; - TInt iCompleted; // Stores completion code from previous session state - TInt32 iBioType; - }; - - -#endif // __GFP_H__