// EDITPARA.H
//
// Copyright (c) 1998 Symbian Ltd.  All rights reserved. 
//

// MODULE - Message editor app parameters


#if !defined(__EDITPARA_H__)
#define __EDITPARA_H__

#if !defined(__MSVSTD_H__)
#include <msvstd.h>
#endif

#if !defined(__MSVIDS_H__)
#include <MSVIDS.H>
#endif

#if !defined(__GDI_H__)
#include <gdi.h>
#endif


#define KUidMsvEditorParameterValue 0x100014AA

enum TMsgEditorZoomFactor	
	{
	EZoomFactor1=800,
	EZoomFactor2=TZoomFactor::EZoomOneToOne,
	EZoomFactor3=TZoomFactor::EZoomOneToOne+500
	};

class TEditorParameters
	{
public:
	inline TEditorParameters() : iId(KMsvNullIndexEntryId), iFlags(0) {};
	inline TEditorParameters(const TEditorParameters& aParams) : iId(aParams.iId), iFlags(aParams.iFlags) {};
	inline void ExternalizeL(RWriteStream& aStream) const { aStream.WriteInt32L(iId); aStream.WriteInt32L(iFlags); };
	inline void InternalizeL(RReadStream& aStream) { iId=aStream.ReadInt32L(); iFlags=aStream.ReadInt32L(); };

public:
	TMsvId	iId;
	TInt	iFlags;
	};

#endif// __EDITPARA_H__