/*	TEditForm.h
 *
 *		This is the form object. A 'form' is the overall object which
 *	controls the contents of a window. This takes after the 'form'
 *	object in Visual Basic, where the concept came from
 */

/*  XT - An example text editor application built with the YAAF library
 *
 *	PUBLIC DOMAIN: The source kit of 'xt' has been placed into the
 *	public domain by the author, William Edward Woody, on the hope
 *	that the source kit will provide a useful example of using the
 *	YAAF Library.
 *  
 *  To contact the author, either e-mail me at woody@pandawave.com, 
 *	or write to
 *  
 *          William Edward Woody
 *          In Phase Consulting
 *          1545 Ard Eevin Avenue
 *          Glendale, CA 91202
 *
 *	Or visit us on the web at http://www.pandawave.com
 */

#ifndef PandaWave_TEDITFORM
#define PandaWave_TEDITFORM

#include <XForm.h>
#include "TEditDoc.h"

/************************************************************************/
/*																		*/
/*	Document Specification												*/
/*																		*/
/************************************************************************/

/*	TEditForm
 *
 *		This is the code for managing the window object
 */

class TEditForm : public XGForm {
	public:
								TEditForm();
		virtual					~TEditForm();
		
		/*
		 *	Menu commands
		 */
		
		DECLAREFORM
		long					DoGetMenuStatus(XGWindow *,long,void *);
		long					DoMenuCommand(XGWindow *,long,void *);
		long					DoDirty(XGWindow *,long,void *);
};

#endif // PandaWave_TEDITFORM
