//---------------------------------------------------------------------------

#ifndef SetPath_FormH
#define SetPath_FormH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Buttons.hpp>
#include <ExtCtrls.hpp>
#include <FileCtrl.hpp>
#include "TntButtons.hpp"
#include "TntExtCtrls.hpp"
#include "TntStdCtrls.hpp"
#include "TntForms.hpp"
//---------------------------------------------------------------------------
typedef struct
{
    AnsiString root;
    AnsiString hex;
    AnsiString env;
    AnsiString image;
    AnsiString product;
    AnsiString log;
} TFolderSet;
//---------------------------------------------------------------------------
class TSetPathForm : public TTntForm
{
__published:	// IDE-managed Components
	TTntPanel *ButtonPanel;
	TTntBitBtn *SaveBitBtn;
	TTntBitBtn *CancelBitBtn;
	TTntPanel *LeftPanel;
	TTntLabel *Label3;
	TTntLabel *Label6;
	TTntLabel *SelectFolderLabel;
	TDirectoryListBox *RootDirectoryListBox;
	TDriveComboBox *DriveComboBox;
	TTntButton *ApplyButton;
	TTntPanel *ClientPanel;
	TTntGroupBox *FolderGroupBox;
	TTntLabel *Label1;
	TTntLabel *Label2;
	TTntLabel *Label4;
	TTntLabel *Label5;
	TTntStaticText *RootFolderStaticText;
	TTntStaticText *HexFolderStaticText;
	TTntStaticText *EnvFolderStaticText;
	TTntStaticText *ImageFolderStaticText;
	TTntLabel *Label7;
	TTntStaticText *ProductFolderStaticText;
	TTntLabel *Label8;
	TTntStaticText *LogFolderStaticText;
	TTntButton *NewFolderButton;
	void __fastcall ApplyButtonClick(TObject *Sender);
	void __fastcall SaveBitBtnClick(TObject *Sender);
	void __fastcall NewFolderButtonClick(TObject *Sender);
	void __fastcall CancelBitBtnClick(TObject *Sender);
private:	// User declarations
	TFolderSet Folder;

    void __fastcall DisplayFolders(void);
    bool __fastcall SaveFolderData(void);
public:		// User declarations
	__fastcall TSetPathForm(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TSetPathForm *SetPathForm;
//---------------------------------------------------------------------------
#endif
