/******************************************************************************
 JXDSSFinishSaveTask.h

	Copyright © 1999 by John Lindal. All rights reserved.

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

#ifndef _H_JXDSSFinishSaveTask
#define _H_JXDSSFinishSaveTask

#include <JXUrgentTask.h>

class JString;
class JXSaveFileDialog;

class JXDSSFinishSaveTask : public JXUrgentTask
{
public:

	JXDSSFinishSaveTask(JXSaveFileDialog* dialog, const JCharacter* dirName);

	virtual ~JXDSSFinishSaveTask();

	virtual void	Perform();

private:

	JXSaveFileDialog*	itsDialog;		// not owned
	JString*			itsDirName;

private:

	// not allowed

	JXDSSFinishSaveTask(const JXDSSFinishSaveTask& source);
	const JXDSSFinishSaveTask& operator=(const JXDSSFinishSaveTask& source);
};

#endif
