--- sbbs/sbbs3/ctrl/nodeformunit.h 2018/04/24 16:39:34 1.1 +++ sbbs/sbbs3/ctrl/nodeformunit.h 2018/04/24 16:41:07 1.1.1.2 @@ -1,12 +1,12 @@ /* Synchronet Control Panel (GUI Borland C++ Builder Project for Win32) */ -/* $Id: nodeformunit.h,v 1.1 2018/04/24 16:39:34 root Exp $ */ +/* $Id: nodeformunit.h,v 1.1.1.2 2018/04/24 16:41:07 root Exp $ */ /**************************************************************************** * @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * * * - * Copyright 2000 Rob Swindell - http://www.synchro.net/copyright.html * + * Copyright 2004 Rob Swindell - http://www.synchro.net/copyright.html * * * * This program is free software; you can redistribute it and/or * * modify it under the terms of the GNU General Public License * @@ -54,8 +54,6 @@ class TNodeForm : public TForm __published: // IDE-managed Components TTimer *Timer; TToolBar *Toolbar; - TToolButton *StartButton; - TToolButton *StopButton; TListBox *ListBox; TToolButton *InterruptNodeButton; TToolButton *LockNodeButton; @@ -78,12 +76,11 @@ __published: // IDE-managed Components TMenuItem *EditUser1; TToolButton *UserMsgButton; TMenuItem *SendMsgMenuItem; - void __fastcall FormShow(TObject *Sender); + TMenuItem *RefreshMenuItem; void __fastcall TimerTick(TObject *Sender); void __fastcall FormHide(TObject *Sender); void __fastcall InterruptNodeButtonClick(TObject *Sender); void __fastcall LockNodeButtonClick(TObject *Sender); - void __fastcall ListBoxKeyPress(TObject *Sender, char &Key); void __fastcall SelectAllMenuItemClick(TObject *Sender); void __fastcall DownButtonClick(TObject *Sender); void __fastcall ClearErrorButtonClick(TObject *Sender); @@ -92,10 +89,14 @@ __published: // IDE-managed Components void __fastcall RerunNodeButtonClick(TObject *Sender); void __fastcall UserEditButtonClick(TObject *Sender); void __fastcall UserMsgButtonClick(TObject *Sender); + void __fastcall RefreshMenuItemClick(TObject *Sender); private: // User declarations + public: // User declarations __fastcall TNodeForm(TComponent* Owner); - TMainForm* MainForm; + int __fastcall getnodedat(int node_num, node_t* node, int* file); + int __fastcall putnodedat(int node_num, node_t* node, int file); + }; //--------------------------------------------------------------------------- extern PACKAGE TNodeForm *NodeForm;