|
|
1.1 root 1: /* Synchronet Control Panel (GUI Borland C++ Builder Project for Win32) */
2:
3: /* $Id: FtpCfgDlgUnit.h,v 1.6 2006/05/10 22:25:43 rswindell Exp $ */
4:
5: /****************************************************************************
6: * @format.tab-size 4 (Plain Text/Source Code File Header) *
7: * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) *
8: * *
9: * Copyright 2006 Rob Swindell - http://www.synchro.net/copyright.html *
10: * *
11: * This program is free software; you can redistribute it and/or *
12: * modify it under the terms of the GNU General Public License *
13: * as published by the Free Software Foundation; either version 2 *
14: * of the License, or (at your option) any later version. *
15: * See the GNU General Public License for more details: gpl.txt or *
16: * http://www.fsf.org/copyleft/gpl.html *
17: * *
18: * Anonymous FTP access to the most recent released source is available at *
19: * ftp://vert.synchro.net, ftp://cvs.synchro.net and ftp://ftp.synchro.net *
20: * *
21: * Anonymous CVS access to the development source and modification history *
22: * is available at cvs.synchro.net:/cvsroot/sbbs, example: *
23: * cvs -d :pserver:[email protected]:/cvsroot/sbbs login *
24: * (just hit return, no password is necessary) *
25: * cvs -d :pserver:[email protected]:/cvsroot/sbbs checkout src *
26: * *
27: * For Synchronet coding style and modification guidelines, see *
28: * http://www.synchro.net/source.html *
29: * *
30: * You are encouraged to submit any modifications (preferably in Unix diff *
31: * format) via e-mail to [email protected] *
32: * *
33: * Note: If this box doesn't appear square, then you need to fix your tabs. *
34: ****************************************************************************/
35:
36: //----------------------------------------------------------------------------
37: #ifndef FtpCfgDlgUnitH
38: #define FtpCfgDlgUnitH
39: //----------------------------------------------------------------------------
40: #include <vcl\System.hpp>
41: #include <vcl\Windows.hpp>
42: #include <vcl\SysUtils.hpp>
43: #include <vcl\Classes.hpp>
44: #include <vcl\Graphics.hpp>
45: #include <vcl\StdCtrls.hpp>
46: #include <vcl\Forms.hpp>
47: #include <vcl\Controls.hpp>
48: #include <vcl\Buttons.hpp>
49: #include <vcl\ExtCtrls.hpp>
50: #include <Dialogs.hpp>
51: #include <ComCtrls.hpp>
52: //----------------------------------------------------------------------------
53: class TFtpCfgDlg : public TForm
54: {
55: __published:
56: TOpenDialog *OpenDialog;
57: TPageControl *PageControl;
58: TTabSheet *GeneralTabSheet;
59: TTabSheet *LogTabSheet;
60: TCheckBox *AutoStartCheckBox;
61: TCheckBox *DebugTxCheckBox;
62: TCheckBox *CmdLogCheckBox;
63: TCheckBox *DebugDataCheckBox;
64: TCheckBox *LogFileCheckBox;
65: TTabSheet *SoundTabSheet;
66: TLabel *AnswerSoundLabel;
67: TEdit *AnswerSoundEdit;
68: TButton *AnswerSoundButton;
69: TLabel *HangupSoundLabel;
70: TEdit *HangupSoundEdit;
71: TButton *HangupSoundButton;
72: TLabel *MaxClientesLabel;
73: TEdit *MaxClientsEdit;
74: TLabel *MaxInactivityLabel;
75: TEdit *MaxInactivityEdit;
76: TLabel *PortLabel;
77: TEdit *PortEdit;
78: TLabel *InterfaceLabel;
79: TEdit *NetworkInterfaceEdit;
80: TCheckBox *AllowQWKCheckBox;
81: TCheckBox *LocalFileSysCheckBox;
82: TCheckBox *HostnameCheckBox;
83: TButton *OKBtn;
84: TButton *CancelBtn;
85: TButton *ApplyBtn;
86: TCheckBox *DirFilesCheckBox;
87: TTabSheet *IndexTabSheet;
88: TCheckBox *AutoIndexCheckBox;
89: TEdit *IndexFileNameEdit;
90: TCheckBox *HtmlIndexCheckBox;
91: TEdit *HtmlFileNameEdit;
92: TLabel *HtmlJavaScriptLabel;
93: TEdit *HtmlJavaScriptEdit;
94: TLabel *QwkTimeoutLabel;
95: TEdit *QwkTimeoutEdit;
96: TLabel *HackAttemptSoundLabel;
97: TEdit *HackAttemptSoundEdit;
98: TButton *HackAttemptSoundButton;
99: TTabSheet *PasvTabSheet;
100: TLabel *PasvIpLabel;
101: TEdit *PasvIpAddrEdit;
102: TLabel *PasvPortLabel;
103: TEdit *PasvPortLowEdit;
104: TEdit *PasvPortHighEdit;
105: TLabel *PasvPortThroughLabel;
106: TCheckBox *PasvIpLookupCheckBox;
107: void __fastcall FormShow(TObject *Sender);
108: void __fastcall OKBtnClick(TObject *Sender);
109: void __fastcall AnswerSoundButtonClick(TObject *Sender);
110: void __fastcall HangupSoundButtonClick(TObject *Sender);
111: void __fastcall AutoIndexCheckBoxClick(TObject *Sender);
112: void __fastcall HtmlJavaScriptButtonClick(TObject *Sender);
113: void __fastcall HtmlIndexCheckBoxClick(TObject *Sender);
114: void __fastcall HackAttemptSoundButtonClick(TObject *Sender);
115: void __fastcall PasvIpLookupCheckBoxClick(TObject *Sender);
116: private:
117: public:
118: virtual __fastcall TFtpCfgDlg(TComponent* AOwner);
119: };
120: //----------------------------------------------------------------------------
121: extern PACKAGE TFtpCfgDlg *FtpCfgDlg;
122: //----------------------------------------------------------------------------
123: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.