/* GPC (C) 2017-2018 Stephane Charette <stephanecharette@gmail.com>
 * $Id: SessionComponentTransfer.hpp 2492 2018-03-21 06:22:15Z stephane $
 */

#pragma once


#include "GPC.hpp"


/// Forward declaraction.
class SessionComponent;


/// Write the .ijs and .ijb files to the printer, and update a progress bar for the user.
class SessionComponentTransfer : public ThreadWithProgressWindow
{
	public:

		/// Constructor.
		SessionComponentTransfer(SessionComponent &sc);

		/// Destructor.
		virtual ~SessionComponentTransfer(void);

		/// Inherited from ThreadWithProgressWindow.  Transfer files to the IncJet device.
		virtual void run(void);

		SessionComponent &parent;
};
