diff -r 666f914201fb -r 2fe1408b6811 epoc32/include/bifbase.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/epoc32/include/bifbase.h Tue Mar 16 16:12:26 2010 +0000 @@ -0,0 +1,90 @@ +// Copyright (c) 1997-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: +// + +#ifndef __BIFBASE_H__ +#define __BIFBASE_H__ + +#include +#include // for TSwizzle +#include // for TRecognitionConfidence + +/** Base classes for BIO-message Information File (BIF) Reader + +@internalTechnology +@released +*/ +class CBioInfoFile : public CBase + { +public: + ~CBioInfoFile(); + +protected: + CBioInfoFile(RFs& aFs); + void ConstructL(); + +protected: + class CIdHeader : public CBase + { + public: + CIdHeader(); + ~CIdHeader(); + + void InternalizeL(RReadStream& aStream); + void ExternalizeL(RWriteStream& aStream) const; + + public: + TBioMsgIdType iType; + CApaDataRecognizerType::TRecognitionConfidence iConfidence; + TSwizzle iText; + TUint16 iPort; + TUid iCharacterSet; + TInt16 iGeneralIdData; + }; + + class TIconZoomLevel + { + public: + void InternalizeL(RReadStream& aStream); + void ExternalizeL(RWriteStream& aStream) const; + + public: + TInt16 iZoomLevel; + }; + +protected: + RFs& iFs; + + // + // Simple data to be read/write to/from BIF file + TUid iMessageTypeUid; + + HBufC* iMessageParserName; + + TUid iMessageAppUid; + HBufC* iMessageAppCtrlName; + HBufC* iDescription; + TInt16 iGeneralData1; + TInt16 iGeneralData2; + TInt16 iGeneralData3; + HBufC* iFileExtension; + HBufC* iIconsFilename; + + // + // Complex data to be read/write to/from BIF file + CArrayPtrFlat* iIdHeaderArray; + CArrayFix* iIconZoomLevelArray; + }; + +#endif // __BIFBASE_H__