/*
 * @(#)Options.java
 *
 * This file is part of webCDwriter - Network CD/DVD Writing.
 *
 * Copyright (C) 1999-2004 Jörg P. M. Haeger
 *
 * webCDwriter is free software. See CDcreator.java for details.
 */

/**
 * A container for the writing options.
 *
 * @version 20041012
 * @author Jörg P. M. Haeger
 */
class Options {
	static boolean
		blankTOC,
		closeCD,
		DAO,
		DVDVideo,
		format,
		HFS,
		hideContents,
		joliet,
		linkedMultisession,
		MD5File = true,
		MD5FileDefault = true,
		overburn = false,
		rejectEmptyCD,
		rejectWithoutUserID,
		rockRidge,
		simulate,
		verbose,
		verify = false,
		waitForEmptyCD;
	static String
		acceptKey = "",
		bootImage,
		volumeID = "",
		writeProtection = "",
		writer = "";
	static int
		copies,
		speed = 4,
		speedAudio = 4,
		speedCDRW = 4;

	static class ProjectInfo {
		String from = "", to = "", label = "", contents = "";
	}

	static ProjectInfo projectInfo = new ProjectInfo();

	/**
	 * set the defaults
	 */
	public static void reset() {
		blankTOC = false;
		bootImage = null;
		closeCD = false;
		copies = 1;
		DAO = false;
		DVDVideo = false;
		format = false;
		HFS = false;
		hideContents = false;
		joliet = true;
		linkedMultisession = true;
		MD5File = MD5FileDefault;
		rejectEmptyCD = false;
		rejectWithoutUserID = true;
		rockRidge = true;
		simulate = false;
		verbose = false;
		waitForEmptyCD = false;
	}
}
