//---------------------------------------------------------------------------
#ifndef FDLGProjectOptionsH
#define FDLGProjectOptionsH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Dialogs.hpp>
#include <ComCtrls.hpp>
//---------------------------------------------------------------------------
typedef struct {

	AnsiString m_asEGroupPRE;
	AnsiString m_asEGroupPOST;

	AnsiString m_asEntryPRE;
	AnsiString m_asEntryPOST;

    AnsiString m_asDateTAG;
	AnsiString m_asFileType;

	AnsiString m_asSiteDir;
	AnsiString m_asEntriesDir;

	AnsiString m_asPublishServer;
	AnsiString m_asServerUsername;
	AnsiString m_asServerPassword;
	AnsiString m_asRemoteDir;

	AnsiString m_asShowImageScript;

} TProjectOptions;
//---------------------------------------------------------------------------

bool dlg_bSetupProjectOptions(TProjectOptions& _roPrjOpts);

//---------------------------------------------------------------------------
class TDLGProjectOptions : public TForm
{
__published:	// IDE-managed Components
	TButton *Button2;
	TButton *Button3;
	TPageControl *PageControl1;
	TTabSheet *TabSheet1;
	TTabSheet *TabSheet2;
	TLabel *Label1;
	TLabel *Label2;
	TLabel *Label4;
	TMemo *mem_EntryPRE;
	TMemo *mem_EntryPOST;
	TEdit *ed_TAG;
	TLabel *Label3;
	TLabel *Label6;
	TEdit *ed_SiteDir;
	TButton *Button1;
	TEdit *ed_EntriesDir;
	TButton *Button4;
	TLabel *Label8;
	TEdit *ed_PublishServer;
	TEdit *ed_ShowImageScript;
	TLabel *Label7;
	TButton *Button5;
	TLabel *Label9;
	TEdit *ed_PublishServerUsername;
	TEdit *ed_PublishServerPassword;
	TLabel *Label10;
	TLabel *Label11;
	TEdit *ed_PublishServerRemoteRoot;
	TLabel *Label5;
	TComboBox *cb_OutputFile;
	TMemo *mem_EGroupPOST;
	TLabel *Label13;
	TMemo *mem_EGroupPRE;
	TLabel *Label12;
	TOpenDialog *dlg_SelectShowImageScript;
	void __fastcall Button4Click(TObject *Sender);
	void __fastcall Button1Click(TObject *Sender);
	void __fastcall FormKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
	void __fastcall Button5Click(TObject *Sender);

private:	// User declarations

public:		// User declarations
	__fastcall TDLGProjectOptions(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TDLGProjectOptions *DLGProjectOptions;
//---------------------------------------------------------------------------
#endif
