|
|
1.1 root 1: /* Synchronet Control Panel (GUI Borland C++ Builder Project for Win32) */
2:
3: /* $Id: MailCfgDlgUnit.h,v 1.5 2000/11/17 04:31:18 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 2000 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 MailCfgDlgUnitH
38: #define MailCfgDlgUnitH
39: //----------------------------------------------------------------------------
40: #include <vcl\ExtCtrls.hpp>
41: #include <vcl\Buttons.hpp>
42: #include <vcl\StdCtrls.hpp>
43: #include <vcl\Controls.hpp>
44: #include <vcl\Forms.hpp>
45: #include <vcl\Graphics.hpp>
46: #include <vcl\Classes.hpp>
47: #include <vcl\SysUtils.hpp>
48: #include <vcl\Windows.hpp>
49: #include <vcl\System.hpp>
50: #include <Dialogs.hpp>
51: #include <ComCtrls.hpp>
52: //----------------------------------------------------------------------------
53: class TMailCfgDlg : public TForm
54: {
55: __published:
56: TButton *OKBtn;
57: TButton *CancelBtn;
58: TOpenDialog *OpenDialog;
59: TButton *ApplyButton;
60: TPageControl *PageControl;
61: TTabSheet *GeneralTabSheet;
62: TCheckBox *AutoStartCheckBox;
63: TLabel *InterfaceLabel;
64: TEdit *NetworkInterfaceEdit;
65: TLabel *MaxClientsLabel;
66: TEdit *MaxClientsEdit;
67: TLabel *MaxInactivityLabel;
68: TEdit *MaxInactivityEdit;
69: TTabSheet *SMTPTabSheet;
70: TLabel *SpamFilterLabel;
71: TCheckBox *RBLCheckBox;
72: TCheckBox *RSSCheckBox;
73: TCheckBox *DULCheckBox;
74: TLabel *TelnetPortLabel;
75: TEdit *SMTPPortEdit;
76: TCheckBox *UserNumberCheckBox;
77: TCheckBox *HostnameCheckBox;
78: TCheckBox *DebugTXCheckBox;
79: TCheckBox *LogFileCheckBox;
80: TTabSheet *POP3TabSheet;
81: TLabel *POP3PortLabel;
82: TEdit *POP3PortEdit;
83: TCheckBox *POP3LogCheckBox;
84: TCheckBox *POP3EnabledCheckBox;
85: TTabSheet *SendMailTabSheet;
86: TRadioButton *DNSRadioButton;
87: TEdit *DNSServerEdit;
88: TCheckBox *TcpDnsCheckBox;
89: TRadioButton *RelayRadioButton;
90: TEdit *RelayServerEdit;
91: TEdit *RelayPortEdit;
92: TLabel *RelayPortLabel;
93: TLabel *DeliveryAttemptsLabel;
94: TEdit *DeliveryAttemptsEdit;
95: TLabel *RescanFreqLabel;
96: TEdit *RescanFreqEdit;
97: TCheckBox *DebugHeadersCheckBox;
98: TTabSheet *SoundTabSheet;
99: TLabel *SMTPSoundLabel;
100: TEdit *InboundSoundEdit;
101: TButton *InboundSoundButton;
102: TLabel *POP3SoundLabel;
103: TEdit *POP3SoundEdit;
104: TButton *POP3SoundButton;
105: TLabel *OutboundSoundLabel;
106: TEdit *OutboundSoundEdit;
107: TButton *OutboundSoundButton;
108: TCheckBox *SendMailCheckBox;
109: void __fastcall InboundSoundButtonClick(TObject *Sender);
110: void __fastcall OutboundSoundButtonClick(TObject *Sender);
111: void __fastcall FormShow(TObject *Sender);
112: void __fastcall OKBtnClick(TObject *Sender);
113: void __fastcall POP3SoundButtonClick(TObject *Sender);
114: void __fastcall DNSRadioButtonClick(TObject *Sender);
115: void __fastcall POP3EnabledCheckBoxClick(TObject *Sender);
116: void __fastcall SendMailCheckBoxClick(TObject *Sender);
117: private:
118: public:
119: virtual __fastcall TMailCfgDlg(TComponent* AOwner);
120: };
121: //----------------------------------------------------------------------------
122: extern PACKAGE TMailCfgDlg *MailCfgDlg;
123: //----------------------------------------------------------------------------
124: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.