00001 /****************************************************************************** 00002 * swdisprtfchap.h - definition of class SWDispRTFChap, an SWDisplay used to 00003 * display an entire chapter in Rich Text Format 00004 * 00005 * $Id: swdisprtfchap_8h-source.html,v 1.1 2003/02/28 21:21:58 mgruner Exp $ 00006 * 00007 * Copyright 1998 CrossWire Bible Society (http://www.crosswire.org) 00008 * CrossWire Bible Society 00009 * P. O. Box 2528 00010 * Tempe, AZ 85280-2528 00011 * 00012 * This program is free software; you can redistribute it and/or modify it 00013 * under the terms of the GNU General Public License as published by the 00014 * Free Software Foundation version 2. 00015 * 00016 * This program is distributed in the hope that it will be useful, but 00017 * WITHOUT ANY WARRANTY; without even the implied warranty of 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00019 * General Public License for more details. 00020 * 00021 */ 00022 00023 //--------------------------------------------------------------------------- 00024 #ifndef swdisprtfchapH 00025 #define swdisprtfchapH 00026 //--------------------------------------------------------------------------- 00027 #include <vcl\SysUtils.hpp> 00028 #include <vcl\Controls.hpp> 00029 #include <vcl\Classes.hpp> 00030 #include <vcl\Forms.hpp> 00031 #include <vcl\ComCtrls.hpp> 00032 #include <vcl\StdCtrls.hpp> 00033 #include <swtext.h> 00034 #include <swdisprtf.h> 00035 //--------------------------------------------------------------------------- 00036 class SWDispRTFChap_init; 00037 class SWDispRTFChap:public SWDispRTF { 00038 protected: 00039 virtual void __fastcall Loaded (void); 00040 public: 00041 static char platformID; 00042 static SWDispRTFChap_init _init; 00043 00044 __fastcall SWDispRTFChap(TWinControl *Owner); 00045 __fastcall ~ SWDispRTFChap(); 00046 00047 virtual char Display(SWModule & imodule); 00048 }; 00049 00050 //--------------------------------------------------------------------------- 00051 #endif