Annotation of sbbs/src/sbbs3/ctrl/spyformunit.h, revision 1.1.1.1

1.1       root        1: /* Synchronet Control Panel (GUI Borland C++ Builder Project for Win32) */
                      2: 
                      3: /* $Id: SpyFormUnit.h,v 1.9 2003/05/10 03:15:40 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 2003 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: #ifndef SpyFormUnitH
                     37: #define SpyFormUnitH
                     38: //---------------------------------------------------------------------------
                     39: #include <Classes.hpp>
                     40: #include <Controls.hpp>
                     41: #include <StdCtrls.hpp>
                     42: #include <Forms.hpp>
                     43: #include <ExtCtrls.hpp>
                     44: #include "ringbuf.h"
                     45: #include "emulvt.hpp"
                     46: #include <ComCtrls.hpp>
                     47: #include <Dialogs.hpp>
                     48: #include <ImgList.hpp>
                     49: #include <ToolWin.hpp>
                     50: #include <Menus.hpp>
                     51: #include <ActnList.hpp>
                     52: #include <Buttons.hpp>
                     53: //---------------------------------------------------------------------------
                     54: class TSpyForm : public TForm
                     55: {
                     56: __published:   // IDE-managed Components
                     57:     TTimer *Timer;
                     58:     TImageList *ImageList;
                     59:     TPopupMenu *PopupMenu;
                     60:     TMenuItem *KeyboardActivePopupMenuItem;
                     61:     TActionList *ActionList;
                     62:     TAction *KeyboardActive;
                     63:     TAction *ChangeFont;
                     64:     TMenuItem *FontPopupMenuItem;
                     65:     TPanel *ToolBar;
                     66:     TSpeedButton *FontButton;
                     67:     TCheckBox *KeyboardActiveCheckBox;
                     68:     void __fastcall SpyTimerTick(TObject *Sender);
                     69:     void __fastcall FormShow(TObject *Sender);
                     70:     void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
                     71:     void __fastcall ChangeFontClick(TObject *Sender);
                     72:     void __fastcall FormKeyPress(TObject *Sender, char &Key);
                     73:     void __fastcall KeyboardActiveClick(TObject *Sender);
                     74:     void __fastcall FormMouseUp(TObject *Sender, TMouseButton Button,
                     75:           TShiftState Shift, int X, int Y);
                     76: private:       // User declarations
                     77:        int __fastcall strip_telnet(uchar *buf, int len);
                     78: public:                // User declarations
                     79:     TEmulVT*    Terminal;
                     80:     RingBuf**   inbuf;
                     81:     RingBuf**   outbuf;
                     82:     __fastcall TSpyForm(TComponent* Owner);
                     83:     __fastcall ~TSpyForm();
                     84: };
                     85: //---------------------------------------------------------------------------
                     86: extern PACKAGE TSpyForm *SpyForms[];
                     87: //---------------------------------------------------------------------------
                     88: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.