Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

bmcdwin.h

Go to the documentation of this file.
00001 #ifndef __BMCDWIN_H_INCLUDED__
00002 #define __BMCDWIN_H_INCLUDED__
00003 // $Id$
00004 
00005 //**********************************************************************
00006 //                                                                     *
00007 //    Description:   'Bell Master' TurboVision window to select a bell *
00008 //                   code from a list.                                 *
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 
00039 // Forward declerations
00040 class    TEvent;
00041 class    TRect;
00042 
00043 
00044 #define Uses_TDialog
00045 
00046 #include <tvision\tv.h>
00047 
00048 
00049 namespace Monitor {
00050 namespace BellMaster {
00051 
00052 
00053 // Forward declerations within namespace
00054 class    BellCode;
00055 class    BellCodeList;
00056 class    CodeListView;
00057 
00058 
00059 
00060 class CodeWindow : public TDialog
00061 {
00062 public:
00067     CodeWindow(const BellCodeList&    newBellCodes,
00068                TRect&                 r);
00069 
00074     virtual void
00075     handleEvent(TEvent&    event);
00076 
00080     BellCode*
00081     getSelectedBellCode();
00082 
00083 private:
00087     CodeListView      *listView;
00088 };  // class CodeWindow
00089 
00090 };  // namespace BellMaster
00091 };  // namespace Monitor
00092 
00093 
00094 #endif // __BMCDWIN_H_INCLUDED__

Generated on Wed Oct 29 20:55:43 2003 for Bellmaster BC Turbo Vision by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002