Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

FtpCfgDlgUnit.h 3.52 KB
Newer Older
1 2 3 4 5 6
/* Synchronet Control Panel (GUI Borland C++ Builder Project for Win32) */

/****************************************************************************
 * @format.tab-size 4		(Plain Text/Source Code File Header)			*
 * @format.use-tabs true	(see http://www.synchro.net/ptsc_hdr.html)		*
 *																			*
7
 * Copyright Rob Swindell - http://www.synchro.net/copyright.html			*
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
 *																			*
 * This program is free software; you can redistribute it and/or			*
 * modify it under the terms of the GNU General Public License				*
 * as published by the Free Software Foundation; either version 2			*
 * of the License, or (at your option) any later version.					*
 * See the GNU General Public License for more details: gpl.txt or			*
 * http://www.fsf.org/copyleft/gpl.html										*
 *																			*
 * For Synchronet coding style and modification guidelines, see				*
 * http://www.synchro.net/source.html										*
 *																			*
 * Note: If this box doesn't appear square, then you need to fix your tabs.	*
 ****************************************************************************/

//----------------------------------------------------------------------------
#ifndef FtpCfgDlgUnitH
#define FtpCfgDlgUnitH
//----------------------------------------------------------------------------
#include <vcl\System.hpp>
#include <vcl\Windows.hpp>
#include <vcl\SysUtils.hpp>
#include <vcl\Classes.hpp>
#include <vcl\Graphics.hpp>
#include <vcl\StdCtrls.hpp>
#include <vcl\Forms.hpp>
#include <vcl\Controls.hpp>
#include <vcl\Buttons.hpp>
#include <vcl\ExtCtrls.hpp>
#include <Dialogs.hpp>
#include <ComCtrls.hpp>
//----------------------------------------------------------------------------
class TFtpCfgDlg : public TForm
{
__published:
	TOpenDialog *OpenDialog;
    TPageControl *PageControl;
    TTabSheet *GeneralTabSheet;
    TTabSheet *LogTabSheet;
    TCheckBox *AutoStartCheckBox;
    TCheckBox *DebugTxCheckBox;
    TCheckBox *CmdLogCheckBox;
    TCheckBox *DebugDataCheckBox;
    TCheckBox *LogFileCheckBox;
    TTabSheet *SoundTabSheet;
    TLabel *MaxClientesLabel;
    TEdit *MaxClientsEdit;
    TLabel *MaxInactivityLabel;
    TEdit *MaxInactivityEdit;
    TLabel *PortLabel;
    TEdit *PortEdit;
    TLabel *InterfaceLabel;
    TEdit *NetworkInterfaceEdit;
    TCheckBox *AllowQWKCheckBox;
    TCheckBox *LocalFileSysCheckBox;
    TCheckBox *HostnameCheckBox;
    TButton *OKBtn;
    TButton *CancelBtn;
    TButton *ApplyBtn;
66
    TCheckBox *AllowBounceCheckBox;
67 68 69 70 71
    TTabSheet *IndexTabSheet;
    TCheckBox *AutoIndexCheckBox;
    TEdit *IndexFileNameEdit;
    TLabel *QwkTimeoutLabel;
    TEdit *QwkTimeoutEdit;
72 73
    TTabSheet *PasvTabSheet;
    TLabel *PasvIpLabel;
74
    TEdit *PasvIPv4AddrEdit;
75 76 77 78
    TLabel *PasvPortLabel;
    TEdit *PasvPortLowEdit;
    TEdit *PasvPortHighEdit;
    TLabel *PasvPortThroughLabel;
79
    TCheckBox *PasvIpLookupCheckBox;
80 81
    TLabel *MaxConConLabel;
    TEdit *MaxConConEdit;
82
    TButton *ConfigureSoundButton;
83 84 85
	void __fastcall FormShow(TObject *Sender);
	void __fastcall OKBtnClick(TObject *Sender);
	void __fastcall AutoIndexCheckBoxClick(TObject *Sender);
86
    void __fastcall PasvIpLookupCheckBoxClick(TObject *Sender);
87
    void __fastcall AllowQWKCheckBoxClick(TObject *Sender);
88
    void __fastcall ConfigureSoundButtonClick(TObject *Sender);
89 90 91 92 93 94 95 96
private:
public:
	virtual __fastcall TFtpCfgDlg(TComponent* AOwner);
};
//----------------------------------------------------------------------------
extern PACKAGE TFtpCfgDlg *FtpCfgDlg;
//----------------------------------------------------------------------------
#endif