#pragma once

#include "Proxies.hpp"
#include "Process.hpp" 

namespace Proxies {

	class ArrangeMegatexturesProcess:
		public Process
	{
	public:
		ArrangeMegatexturesProcess(Stuff::NotationFile *mega_file);
		ArrangeMegatexturesProcess(
			Stuff::NotationFile *config_file,
			Stuff::NotationFile *mega_file
		);

		enum {
			StatusCheck,
			BadPageSize,
			BadTextureLine,
			BadTexture,
			NotEnoughRoom,
			EmptyMegatexture
		};

		virtual void
			ProcessCallback(
				int error,
				const char* megatexture,
				const char* texture
			);

		Stuff::NotationFile
			*megaFile;
	};

}
