00001 /****************************************************************************** 00002 * hrefcom.h - code for class 'HREFCom'- a module that produces HTML HREFs 00003 * pointing to actual text desired. Uses standard 00004 * files: ot and nt using indexs ??.bks ??.cps ??.vss 00005 * 00006 * $Id: hrefcom_8h-source.html,v 1.9 2002/10/31 11:30:15 joachim 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 HREFCOM_H 00025 #define HREFCOM_H 00026 00027 #include <rawverse.h> 00028 #include <swcom.h> 00029 00030 #include <defs.h> 00031 00032 SWORD_NAMESPACE_START 00033 00034 class SWDLLEXPORT HREFCom:public RawVerse, public SWCom { 00035 char *prefix; 00036 00037 public: 00038 00039 00040 HREFCom(const char *ipath, const char *prefix, const char *iname = 0, 00041 const char *idesc = 0, SWDisplay * idisp = 0); 00042 virtual ~HREFCom(); 00043 virtual char *getRawEntry(); 00044 00045 // OPERATORS ----------------------------------------------------------------- 00046 00047 SWMODULE_OPERATORS 00048 00049 }; 00050 00051 SWORD_NAMESPACE_END 00052 #endif