|
|
1.1 root 1: /* Synchronet Control Panel (GUI Borland C++ Builder Project for Win32) */
2:
1.1.1.2 ! root 3: /* $Id: NodeFormUnit.h,v 1.10 2004/10/18 00:04:41 rswindell Exp $ */
1.1 root 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: * *
1.1.1.2 ! root 9: * Copyright 2004 Rob Swindell - http://www.synchro.net/copyright.html *
1.1 root 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 NodeFormUnitH
38: #define NodeFormUnitH
39: //---------------------------------------------------------------------------
40: #include <Classes.hpp>
41: #include <Controls.hpp>
42: #include <StdCtrls.hpp>
43: #include <Forms.hpp>
44: /* My Includes */
45: #include "MainFormUnit.h"
46: #include <ComCtrls.hpp>
47: #include <ImgList.hpp>
48: #include <ToolWin.hpp>
49: #include <ExtCtrls.hpp>
50: #include <Menus.hpp>
51: //---------------------------------------------------------------------------
52: class TNodeForm : public TForm
53: {
54: __published: // IDE-managed Components
55: TTimer *Timer;
56: TToolBar *Toolbar;
57: TListBox *ListBox;
58: TToolButton *InterruptNodeButton;
59: TToolButton *LockNodeButton;
60: TPopupMenu *PopupMenu;
61: TMenuItem *InterruptMenuItem;
62: TMenuItem *LockMenuItem;
63: TMenuItem *N1;
64: TMenuItem *SelectAllMenuItem;
65: TToolButton *DownButton;
66: TMenuItem *DownMenuItem;
67: TToolButton *ClearErrorButton;
68: TMenuItem *ClearErrorsMenuItem;
69: TToolButton *ChatButton;
70: TMenuItem *ChatMenuItem;
71: TToolButton *SpyButton;
72: TMenuItem *SpyMenuItem;
73: TToolButton *RerunToolButton;
74: TMenuItem *RerunMenuItem;
75: TToolButton *UserEditButton;
76: TMenuItem *EditUser1;
77: TToolButton *UserMsgButton;
78: TMenuItem *SendMsgMenuItem;
1.1.1.2 ! root 79: TMenuItem *RefreshMenuItem;
1.1 root 80: void __fastcall TimerTick(TObject *Sender);
81: void __fastcall FormHide(TObject *Sender);
82: void __fastcall InterruptNodeButtonClick(TObject *Sender);
83: void __fastcall LockNodeButtonClick(TObject *Sender);
84: void __fastcall SelectAllMenuItemClick(TObject *Sender);
85: void __fastcall DownButtonClick(TObject *Sender);
86: void __fastcall ClearErrorButtonClick(TObject *Sender);
87: void __fastcall ChatButtonClick(TObject *Sender);
88: void __fastcall SpyButtonClick(TObject *Sender);
89: void __fastcall RerunNodeButtonClick(TObject *Sender);
90: void __fastcall UserEditButtonClick(TObject *Sender);
91: void __fastcall UserMsgButtonClick(TObject *Sender);
1.1.1.2 ! root 92: void __fastcall RefreshMenuItemClick(TObject *Sender);
1.1 root 93: private: // User declarations
1.1.1.2 ! root 94:
1.1 root 95: public: // User declarations
96: __fastcall TNodeForm(TComponent* Owner);
1.1.1.2 ! root 97: int __fastcall getnodedat(int node_num, node_t* node, int* file);
! 98: int __fastcall putnodedat(int node_num, node_t* node, int file);
! 99:
1.1 root 100: };
101: //---------------------------------------------------------------------------
102: extern PACKAGE TNodeForm *NodeForm;
103: //---------------------------------------------------------------------------
104: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.