/*
 * See the files COPYING and README for copyright information and how to reach
 * the author.
 *
 *  $Id: process-dvd.h,v 1.2 2006/01/21 19:37:28 lordjaxom Exp $
 */

#ifndef VDR_BURN_PROCESS_DVD_H
#define VDR_BURN_PROCESS_DVD_H

#include "process.h"
#include "render.h"

namespace vdr_burn
{

class cBurnJob;

class cBurnProcessDVD: public cBurnProcess
{
private:
	cBurnJob    *mJob;
	int          mBuildStep;
	double       mFactor;
	double       mSizeMB;

	enum eStepDVD {
		sdBuild,
		sdBurn,
#define sd_Count (sdBurn+1)
	};
	
protected:
	virtual void Process(int Step, int SubStep, const char *Line);
	virtual bool Continue(int Step, int SubStep);

public:
	cBurnProcessDVD(cBurnJob *Job);
};

}

#endif // VDR_BURN_PROCESS_DVD_H
