00001 /****************************************************************************** 00002 * tbdisp.cpp - code for class 'tbdisp'. tbdisp writes module output to a 00003 * MSWindows TextBox (or any other control that takes a 00004 * SetDialogItemText 00005 * 00006 * $Id: tbdisp_8h-source.html,v 1.7 2002/06/20 20:23:10 mgruner Exp $ 00007 * 00008 * Copyright 1998 CrossWire Bible Society (http://www.crosswire.org) 00009 * CrossWire Bible Society 00010 * P. O. Box 2528 00011 * Tempe, AZ 85280-2528 00012 * 00013 * This program is free software; you can redistribute it and/or modify it 00014 * under the terms of the GNU General Public License as published by the 00015 * Free Software Foundation version 2. 00016 * 00017 * This program is distributed in the hope that it will be useful, but 00018 * WITHOUT ANY WARRANTY; without even the implied warranty of 00019 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00020 * General Public License for more details. 00021 * 00022 */ 00023 00024 #ifndef TBDISP_H 00025 #define TBDISP_H 00026 00027 #include <windows.h> 00028 class SWModule; 00029 00030 class TBDisp:public SWDisplay 00031 { 00032 protected: 00033 HWND wnd; 00034 int ctrlid; 00035 public: 00036 TBDisp (HWND iwnd, int ictrlid); 00037 virtual char Display (SWModule & imodule); 00038 }; 00039 #endif