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.1 2003/02/28 21:22:08 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 00029 SWORD_NAMESPACE_START 00030 00031 class SWModule; 00032 00033 class TBDisp:public SWDisplay 00034 { 00035 protected: 00036 HWND wnd; 00037 int ctrlid; 00038 public: 00039 TBDisp (HWND iwnd, int ictrlid); 00040 virtual char Display (SWModule & imodule); 00041 }; 00042 00043 SWORD_NAMESPACE_END 00044 00045 #endif