00001 #ifndef __BMTPRWIN_H_INCLUDED__ 00002 #define __BMTPRWIN_H_INCLUDED__ 00003 00004 // $Id$ 00005 00006 //********************************************************************** 00007 // * 00008 // Description: Window to allow user to beat bell codes. * 00009 // * 00010 // Author: Chris White (whitecf@bcs.org.uk) * 00011 // * 00012 // Copyright (C) 2003 Monitor Computing Services Ltd. * 00013 // * 00014 // This program is free software; you can redistribute it and/or * 00015 // modify it under the terms of the GNU General Public License * 00016 // as published by the Free Software Foundation; either version 2 * 00017 // of the License, or any later version. * 00018 // * 00019 // This program is distributed in the hope that it will be useful, * 00020 // but WITHOUT ANY WARRANTY; without even the implied warranty of * 00021 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00022 // GNU General Public License for more details. * 00023 // * 00024 // You should have received a copy of the GNU General Public * 00025 // License (http://www.gnu.org/copyleft/gpl.html) along with this * 00026 // program; if not, write to: * 00027 // The Free Software Foundation Inc., * 00028 // 59 Temple Place - Suite 330, * 00029 // Boston, MA 02111-1307, * 00030 // USA. * 00031 // * 00032 //********************************************************************** 00033 // * 00034 // Notes: * 00035 // * 00036 //********************************************************************** 00037 00038 // Forward declerations 00039 class string; 00040 class TEvent; 00041 00042 #define Uses_TDialog 00043 00044 #include <tvision\tv.h> 00045 00046 00047 namespace Monitor { 00048 namespace BellMaster { 00049 00050 00051 // Forward declerations within namespace 00052 class Tapper; 00053 00054 00055 00059 class TapperWin : public TDialog 00060 { 00061 public: 00062 00066 TapperWin(Tapper& newTapper); 00067 00072 virtual void 00073 handleEvent(TEvent& event); 00074 00075 private: 00079 Tapper& tapper; 00080 }; // class TapperWin 00081 00082 }; // namespace BellMaster 00083 }; // namespace Monitor 00084 00085 00086 #endif // __BMTPRWIN_H_INCLUDED__ 00087