//+----------------------------------------------------------------------------+
//| Description:  Magic Set Editor - Program to make Magic (tm) cards          |
//| Copyright:    (C) 2001 - 2008 Twan van Laarhoven and "coppro"              |
//| License:      GNU General Public License 2 or later (see file COPYING)     |
//+----------------------------------------------------------------------------+

#ifndef HEADER_GUI_HTML_EXPORT_WINDOW
#define HEADER_GUI_HTML_EXPORT_WINDOW

// ----------------------------------------------------------------------------- : Includes

#include <util/prec.hpp>
#include <gui/card_select_window.hpp>

class PackageList;
class ExportOptionsEditor;
DECLARE_POINTER_TYPE(Set);

// ----------------------------------------------------------------------------- : HtmlExportWindow

class HtmlExportWindow : public ExportWindowBase {
  public:
	HtmlExportWindow(Window* parent, const SetP& set, const ExportCardSelectionChoices& cards_choices);
	
  private:
	PackageList*         list;    ///< List of templates
	ExportOptionsEditor* options; ///< Editor for template options
	SetP                 set;     ///< Set to export
	
	DECLARE_EVENT_TABLE();
	
	void onOk(wxCommandEvent&);
	void onTemplateSelect(wxCommandEvent&);
	void onUpdateUI(wxUpdateUIEvent& ev);
};

// ----------------------------------------------------------------------------- : EOF
#endif
