// EDITDIAL.H
//
// Copyright (c) 1998 Symbian Ltd.  All rights reserved. 
//

// MODULE - Babel Message Editor general dialogs

#if !defined(__EDITDIAL_H__)

#if !defined(__EIKDIALG_H__)
#include <eikdialg.h>
#endif

///////////////////////
// Query dialog
///////////////////////
class CMsgSaveMessageQueryDialog : public CEikDialog
	{
public:
	IMPORT_C CMsgSaveMessageQueryDialog(TInt& aRet, TInt aLabelControl, const TDesC* iLabel, const TDesC* aTitle=NULL);

private:
	virtual void PreLayoutDynInitL();
	virtual TBool OkToExitL(TInt aButtonId);

private:
	const TDesC*	iLabel;
	const TDesC*	iTitle;
	TInt			iLabelControl;
	TInt&			iExitButton;
	};

class CMsgSelectContactAddressDialog : public CEikDialog
	{
public:
	CMsgSelectContactAddressDialog(const CDesCArray& aAddressArray, TInt& aSelectedContact, const TDesC& aContactName);

private:
	// --- From CEikDialog ---
	void PreLayoutDynInitL();
	TBool OkToExitL(TInt aButtonId);

private:
	const CDesCArray&	iAddressArray;
	TInt&				iSelectedContact;
	const TDesC&		iContactName;
	};

#endif //__EDITDIAL_H__
