/******************************************************************************
 CCompileTask.h

			Header File For CCompileTask Class
	

	Copyright (C) 1985-1992  New York University
	Copyright (C) 1994 George Washington University
	 
	This file is part of the GWAdaEd system, an extension of the Ada/Ed-C
	system.  See the Ada/Ed README file for warranty (none) and distribution
	info and also the GNU General Public License for more details.


	by Manuel A. Perez

 ******************************************************************************/

#pragma once

#include "CBkgndTask.h"

CLASS CSourceDocument;

class CCompileTask : public CBkgndTask {

  protected:
	CSourceDocument	*itsDoc;
	Boolean			 listingCreated;

  public:
	
				void	ICompileTask(CSourceDocument *doc, Str255 name);
		virtual	void	Dispose(void);

				void	GetSourceName(Str255 nameOnly);
				CSourceDocument	*GetDocument(void);
		virtual	void	CompilerError(void);

		virtual	void	CreateListing(void);
};
