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

rawfiles.h

00001 /******************************************************************************
00002  *  rawfiles.h - code for class 'RawFiles'- 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: rawfiles_8h-source.html,v 1.4 2002/01/22 14:20:28 jansorg 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 RAWFILES_H
00025 #define RAWFILES_H
00026 
00027 #include <rawverse.h>
00028 #include <swcom.h>
00029 
00030 #include <defs.h>
00031 
00032 class SWDLLEXPORT RawFiles:public RawVerse, public SWCom
00033 {
00034   char *versebuf;
00035 
00036   char *getnextfilename ();
00037 
00038 public:
00039   
00040     
00041     RawFiles (const char *ipath, const char *iname = 0, const char *idesc =
00042               0, SWDisplay * idisp = 0, SWTextEncoding encoding = ENC_UNKNOWN, SWTextDirection dir = DIRECTION_LTR, SWTextMarkup markup = FMT_UNKNOWN,
00043               const char* ilang = 0);
00044     virtual ~RawFiles ();
00045   virtual char *getRawEntry ();
00046 
00047   // write interface ----------------------------
00051   virtual bool isWritable () {
00052     return true;
00053   }
00054   
00059   static char createModule (const char *);
00060   
00065   virtual SWModule & operator << (const char *);
00066   
00071   virtual SWModule & operator << (const SWKey *);
00072   
00076   virtual void deleteEntry ();
00077   // end write interface ------------------------
00078 };
00079 
00080 
00081 #endif

Generated at Tue Jan 22 14:52:48 2002 for The Sword Project by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001